llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp8clbzgnb.c'
source_filename = "/tmp/tmp8clbzgnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @stringCopy(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
ret ptr @.str
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8clbzgnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @stringCopy(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
ret ptr @.str
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3rupcrat.c'
source_filename = "/tmp/tmp3rupcrat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i64, i64 }
@.str = private unnamed_addr constant [10 x i8] c"-unknown-\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Wednesday\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"TZ\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"EST+5\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"localtime returned NULL\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"mktime returned %ld, expected %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Dec 31 1969 EST test passed\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"CET-1\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"mktime returned %ld, expected %ld\0A\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"Dec 31 1969 CET test passed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.tm, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [20 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 0
store i32 101, ptr %7, align 8
%8 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 1
store i32 6, ptr %8, align 4
%9 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 2
store i32 4, ptr %9, align 8
%10 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 6
store i64 0, ptr %10, align 8
%11 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 5
store i64 0, ptr %11, align 8
%12 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 3
store i32 1, ptr %12, align 4
%13 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 4
store i32 -1, ptr %13, align 8
%14 = call i32 @mktime(ptr noundef %2)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %6, align 4
br label %27
18: ; preds = %0
%19 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @strftime(ptr noundef %19, i32 noundef 20, ptr noundef @.str.1, ptr noundef %2)
%21 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @puts(ptr noundef %21)
%23 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.2)
%25 = icmp ne i64 %24, 0
%26 = zext i1 %25 to i32
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %18, %16
%28 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 1)
store i32 3749, ptr %4, align 4
%29 = call ptr @localtime(ptr noundef %4)
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = call i32 @puts(ptr noundef @.str.5)
store i32 1, ptr %6, align 4
br label %57
34: ; preds = %27
%35 = load ptr, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 %35, i64 40, i1 false)
%36 = call i32 @mktime(ptr noundef %2)
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp ne i32 %37, 3749
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = call i32 @printf(ptr noundef @.str.6, i64 noundef %41, i64 noundef 3749)
store i32 1, ptr %6, align 4
br label %45
43: ; preds = %34
%44 = call i32 @puts(ptr noundef @.str.7)
br label %45
45: ; preds = %43, %39
%46 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.8, i32 noundef 1)
%47 = call i32 @mktime(ptr noundef %2)
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp ne i32 %48, -17851
br i1 %49, label %50, label %54
50: ; preds = %45
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = call i32 @printf(ptr noundef @.str.9, i64 noundef %52, i64 noundef -17851)
store i32 1, ptr %6, align 4
br label %56
54: ; preds = %45
%55 = call i32 @puts(ptr noundef @.str.10)
br label %56
56: ; preds = %54, %50
br label %57
57: ; preds = %56, %32
%58 = load i32, ptr %6, align 4
ret i32 %58
}
declare i32 @mktime(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rupcrat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i64, i64 }
@.str = private unnamed_addr constant [10 x i8] c"-unknown-\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Wednesday\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"TZ\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"EST+5\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"localtime returned NULL\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"mktime returned %ld, expected %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Dec 31 1969 EST test passed\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"CET-1\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"mktime returned %ld, expected %ld\0A\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"Dec 31 1969 CET test passed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.tm, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [20 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 0
store i32 101, ptr %7, align 8
%8 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 1
store i32 6, ptr %8, align 4
%9 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 2
store i32 4, ptr %9, align 8
%10 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 6
store i64 0, ptr %10, align 8
%11 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 5
store i64 0, ptr %11, align 8
%12 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 3
store i32 1, ptr %12, align 4
%13 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 4
store i32 -1, ptr %13, align 8
%14 = call i32 @mktime(ptr noundef %2)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %6, align 4
br label %27
18: ; preds = %0
%19 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @strftime(ptr noundef %19, i32 noundef 20, ptr noundef @.str.1, ptr noundef %2)
%21 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @puts(ptr noundef %21)
%23 = getelementptr inbounds [20 x i8], ptr %5, i64 0, i64 0
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.2)
%25 = icmp ne i64 %24, 0
%26 = zext i1 %25 to i32
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %18, %16
%28 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 1)
store i32 3749, ptr %4, align 4
%29 = call ptr @localtime(ptr noundef %4)
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = call i32 @puts(ptr noundef @.str.5)
store i32 1, ptr %6, align 4
br label %57
34: ; preds = %27
%35 = load ptr, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 %35, i64 40, i1 false)
%36 = call i32 @mktime(ptr noundef %2)
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp ne i32 %37, 3749
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = call i32 @printf(ptr noundef @.str.6, i64 noundef %41, i64 noundef 3749)
store i32 1, ptr %6, align 4
br label %45
43: ; preds = %34
%44 = call i32 @puts(ptr noundef @.str.7)
br label %45
45: ; preds = %43, %39
%46 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.8, i32 noundef 1)
%47 = call i32 @mktime(ptr noundef %2)
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp ne i32 %48, -17851
br i1 %49, label %50, label %54
50: ; preds = %45
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = call i32 @printf(ptr noundef @.str.9, i64 noundef %52, i64 noundef -17851)
store i32 1, ptr %6, align 4
br label %56
54: ; preds = %45
%55 = call i32 @puts(ptr noundef @.str.10)
br label %56
56: ; preds = %54, %50
br label %57
57: ; preds = %56, %32
%58 = load i32, ptr %6, align 4
ret i32 %58
}
declare i32 @mktime(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw_s98sqx.c'
source_filename = "/tmp/tmpw_s98sqx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_andminus3_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, -3
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpw_s98sqx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_andminus3_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, -3
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp42dyjt_p.c'
source_filename = "/tmp/tmp42dyjt_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_pt_regs(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %11, align 4
store i32 0, ptr %12, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %4
%17 = call ptr @malloc(i32 noundef 0)
%18 = load ptr, ptr %8, align 8
store ptr %17, ptr %18, align 8
%19 = load i32, ptr %12, align 4
store i32 %19, ptr %5, align 4
br label %41
20: ; preds = %4
%21 = call ptr @malloc(i32 noundef 8)
store ptr %21, ptr %10, align 8
%22 = load i32, ptr %6, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %34
24: ; preds = %20
%25 = load i32, ptr %11, align 4
%26 = load ptr, ptr %10, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %9, align 8
%29 = call i64 @dump_long_unsigned_int_from_mem(i32 noundef %25, ptr noundef %27, ptr noundef %28)
%30 = load i32, ptr %12, align 4
%31 = sext i32 %30 to i64
%32 = add nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %12, align 4
br label %34
34: ; preds = %24, %20
%35 = load ptr, ptr %10, align 8
%36 = call ptr @copy_params(ptr noundef %35, i32 noundef 1, ptr noundef %12)
%37 = load ptr, ptr %8, align 8
store ptr %36, ptr %37, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @free_dumped_params(ptr noundef %38, i32 noundef 1)
%40 = load i32, ptr %12, align 4
store i32 %40, ptr %5, align 4
br label %41
41: ; preds = %34, %16
%42 = load i32, ptr %5, align 4
ret i32 %42
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_long_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmp42dyjt_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_pt_regs(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %11, align 4
store i32 0, ptr %12, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %4
%17 = call ptr @malloc(i32 noundef 0)
%18 = load ptr, ptr %8, align 8
store ptr %17, ptr %18, align 8
%19 = load i32, ptr %12, align 4
store i32 %19, ptr %5, align 4
br label %41
20: ; preds = %4
%21 = call ptr @malloc(i32 noundef 8)
store ptr %21, ptr %10, align 8
%22 = load i32, ptr %6, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %34
24: ; preds = %20
%25 = load i32, ptr %11, align 4
%26 = load ptr, ptr %10, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %9, align 8
%29 = call i64 @dump_long_unsigned_int_from_mem(i32 noundef %25, ptr noundef %27, ptr noundef %28)
%30 = load i32, ptr %12, align 4
%31 = sext i32 %30 to i64
%32 = add nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %12, align 4
br label %34
34: ; preds = %24, %20
%35 = load ptr, ptr %10, align 8
%36 = call ptr @copy_params(ptr noundef %35, i32 noundef 1, ptr noundef %12)
%37 = load ptr, ptr %8, align 8
store ptr %36, ptr %37, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @free_dumped_params(ptr noundef %38, i32 noundef 1)
%40 = load i32, ptr %12, align 4
store i32 %40, ptr %5, align 4
br label %41
41: ; preds = %34, %16
%42 = load i32, ptr %5, align 4
ret i32 %42
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_long_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmp87f8iacn.c'
source_filename = "/tmp/tmp87f8iacn.c"
target datalayout = "e-m:e-p270: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/tmp87f8iacn.c"
target datalayout = "e-m:e-p270: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/tmpgc542uk1.c'
source_filename = "/tmp/tmpgc542uk1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @randUpperChar() #0 {
%1 = alloca i8, align 1
store i8 48, ptr %1, align 1
br label %2
2: ; preds = %7, %0
%3 = load i8, ptr %1, align 1
%4 = call i32 @isUpperAlpha(i8 noundef signext %3)
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = call i32 (...) @rand()
%9 = srem i32 %8, 26
%10 = add nsw i32 %9, 65
%11 = trunc i32 %10 to i8
store i8 %11, ptr %1, align 1
br label %2, !llvm.loop !6
12: ; preds = %2
%13 = load i8, ptr %1, align 1
ret i8 %13
}
declare i32 @isUpperAlpha(i8 noundef signext) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgc542uk1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @randUpperChar() #0 {
%1 = alloca i8, align 1
store i8 48, ptr %1, align 1
%2 = load i8, ptr %1, align 1
%3 = call i32 @isUpperAlpha(i8 noundef signext %2)
%4 = icmp ne i32 %3, 0
%5 = xor i1 %4, true
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 26
%9 = add nsw i32 %8, 65
%10 = trunc i32 %9 to i8
store i8 %10, ptr %1, align 1
%11 = load i8, ptr %1, align 1
%12 = call i32 @isUpperAlpha(i8 noundef signext %11)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i8, ptr %1, align 1
ret i8 %16
}
declare i32 @isUpperAlpha(i8 noundef signext) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpy9mrm_j7.c'
source_filename = "/tmp/tmpy9mrm_j7.c"
target datalayout = "e-m:e-p270: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/tmpy9mrm_j7.c"
target datalayout = "e-m:e-p270: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/tmpqjgs7qv1.c'
source_filename = "/tmp/tmpqjgs7qv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calendar_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @calendar(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18)
ret i32 0
}
declare i32 @calendar(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjgs7qv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calendar_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @calendar(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18)
ret i32 0
}
declare i32 @calendar(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpig60wozl.c'
source_filename = "/tmp/tmpig60wozl.c"
target datalayout = "e-m:e-p270: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 [168 x i8] c"Usage: 'tscbrmuxer b:bitrate_pat pat.ts b:bitrate_cat cat.ts b:pmt1_bitrate pmt1.ts b:nit_bitrate nit.ts ... where bitrate in 'b:bitrate file.ts' is in bit per second\0A\00", align 1
@.str.1 = private unnamed_addr constant [103 x i8] c"Usage: 'o:bitrate null.ts can be used to specify final output ts bit rate, must be the last parameter\0A\00", align 1
@.str.2 = private unnamed_addr constant [91 x i8] c"Usage: 'c:bitrate file.ts can be used to specify that when the file.ts ends the mux stops\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)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
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/tmpig60wozl.c"
target datalayout = "e-m:e-p270: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 [168 x i8] c"Usage: 'tscbrmuxer b:bitrate_pat pat.ts b:bitrate_cat cat.ts b:pmt1_bitrate pmt1.ts b:nit_bitrate nit.ts ... where bitrate in 'b:bitrate file.ts' is in bit per second\0A\00", align 1
@.str.1 = private unnamed_addr constant [103 x i8] c"Usage: 'o:bitrate null.ts can be used to specify final output ts bit rate, must be the last parameter\0A\00", align 1
@.str.2 = private unnamed_addr constant [91 x i8] c"Usage: 'c:bitrate file.ts can be used to specify that when the file.ts ends the mux stops\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)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
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/tmpfe2mwfam.c'
source_filename = "/tmp/tmpfe2mwfam.c"
target datalayout = "e-m:e-p270: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/tmpfe2mwfam.c"
target datalayout = "e-m:e-p270: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/tmpn5poojv5.c'
source_filename = "/tmp/tmpn5poojv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 20
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = call i32 @callMe(i32 noundef 1, float noundef 2.000000e+00)
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %20, %12
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 20
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %14, !llvm.loop !8
23: ; preds = %14
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @callMe(i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5poojv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 20
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 20
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
%14 = call i32 @callMe(i32 noundef 1, float noundef 2.000000e+00)
store i32 0, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 20
br i1 %16, label %.lr.ph2, label %25
.lr.ph2: ; preds = %13
br label %17
17: ; preds = %.lr.ph2, %20
%18 = load i32, ptr %2, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 20
br i1 %24, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %20
br label %25
25: ; preds = %._crit_edge3, %13
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @callMe(i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcswciq8a.c'
source_filename = "/tmp/tmpcswciq8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @square_step(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = sub nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %9, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %22, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %21, %32
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %8, align 4
%41 = sub nsw i32 %39, %40
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %38, i64 %42
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %33, %44
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = add nsw i32 %45, %54
%56 = sdiv i32 %55, 4
%57 = call i32 (...) @salt()
%58 = add nsw i32 %56, %57
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %8, align 4
%62 = sdiv i32 %61, 2
%63 = sub nsw i32 %60, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %59, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %8, align 4
%69 = sdiv i32 %68, 2
%70 = sub nsw i32 %67, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %66, i64 %71
store i32 %58, ptr %72, align 4
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %8, align 4
%76 = sub nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %73, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %5, align 8
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %8, align 4
%87 = sub nsw i32 %85, %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %84, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = load i32, ptr %6, align 4
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %91, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %90, i64 %94
%96 = load i32, ptr %95, align 4
%97 = add nsw i32 %83, %96
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %7, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %6, align 4
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %102, i64 %106
%108 = load i32, ptr %107, align 4
%109 = add nsw i32 %97, %108
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %6, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds ptr, ptr %110, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = load i32, ptr %7, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
%118 = load i32, ptr %117, align 4
%119 = add nsw i32 %109, %118
%120 = sdiv i32 %119, 4
%121 = call i32 (...) @salt()
%122 = add nsw i32 %120, %121
%123 = load ptr, ptr %5, align 8
%124 = load i32, ptr %7, align 4
%125 = load i32, ptr %8, align 4
%126 = sdiv i32 %125, 2
%127 = sub nsw i32 %124, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds ptr, ptr %123, i64 %128
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %6, align 4
%132 = load i32, ptr %8, align 4
%133 = sdiv i32 %132, 2
%134 = add nsw i32 %131, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %130, i64 %135
store i32 %122, ptr %136, align 4
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %7, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds ptr, ptr %137, i64 %139
%141 = load ptr, ptr %140, align 8
%142 = load i32, ptr %6, align 4
%143 = load i32, ptr %8, align 4
%144 = sub nsw i32 %142, %143
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %141, i64 %145
%147 = load i32, ptr %146, align 4
%148 = load ptr, ptr %5, align 8
%149 = load i32, ptr %7, align 4
%150 = load i32, ptr %8, align 4
%151 = add nsw i32 %149, %150
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds ptr, ptr %148, i64 %152
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr %6, align 4
%156 = load i32, ptr %8, align 4
%157 = sub nsw i32 %155, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %154, i64 %158
%160 = load i32, ptr %159, align 4
%161 = add nsw i32 %147, %160
%162 = load ptr, ptr %5, align 8
%163 = load i32, ptr %7, align 4
%164 = load i32, ptr %8, align 4
%165 = add nsw i32 %163, %164
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds ptr, ptr %162, i64 %166
%168 = load ptr, ptr %167, align 8
%169 = load i32, ptr %6, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %168, i64 %170
%172 = load i32, ptr %171, align 4
%173 = add nsw i32 %161, %172
%174 = load ptr, ptr %5, align 8
%175 = load i32, ptr %6, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds ptr, ptr %174, i64 %176
%178 = load ptr, ptr %177, align 8
%179 = load i32, ptr %7, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i32, ptr %178, i64 %180
%182 = load i32, ptr %181, align 4
%183 = add nsw i32 %173, %182
%184 = sdiv i32 %183, 4
%185 = call i32 (...) @salt()
%186 = add nsw i32 %184, %185
%187 = load ptr, ptr %5, align 8
%188 = load i32, ptr %7, align 4
%189 = load i32, ptr %8, align 4
%190 = sdiv i32 %189, 2
%191 = add nsw i32 %188, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds ptr, ptr %187, i64 %192
%194 = load ptr, ptr %193, align 8
%195 = load i32, ptr %6, align 4
%196 = load i32, ptr %8, align 4
%197 = sdiv i32 %196, 2
%198 = sub nsw i32 %195, %197
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds i32, ptr %194, i64 %199
store i32 %186, ptr %200, align 4
%201 = load ptr, ptr %5, align 8
%202 = load i32, ptr %7, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds ptr, ptr %201, i64 %203
%205 = load ptr, ptr %204, align 8
%206 = load i32, ptr %6, align 4
%207 = load i32, ptr %8, align 4
%208 = add nsw i32 %206, %207
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %205, i64 %209
%211 = load i32, ptr %210, align 4
%212 = load ptr, ptr %5, align 8
%213 = load i32, ptr %7, align 4
%214 = load i32, ptr %8, align 4
%215 = add nsw i32 %213, %214
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds ptr, ptr %212, i64 %216
%218 = load ptr, ptr %217, align 8
%219 = load i32, ptr %6, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i32, ptr %218, i64 %220
%222 = load i32, ptr %221, align 4
%223 = add nsw i32 %211, %222
%224 = load ptr, ptr %5, align 8
%225 = load i32, ptr %7, align 4
%226 = load i32, ptr %8, align 4
%227 = add nsw i32 %225, %226
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %224, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = load i32, ptr %6, align 4
%232 = load i32, ptr %8, align 4
%233 = add nsw i32 %231, %232
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i32, ptr %230, i64 %234
%236 = load i32, ptr %235, align 4
%237 = add nsw i32 %223, %236
%238 = load ptr, ptr %5, align 8
%239 = load i32, ptr %6, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds ptr, ptr %238, i64 %240
%242 = load ptr, ptr %241, align 8
%243 = load i32, ptr %7, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, ptr %242, i64 %244
%246 = load i32, ptr %245, align 4
%247 = add nsw i32 %237, %246
%248 = sdiv i32 %247, 4
%249 = call i32 (...) @salt()
%250 = add nsw i32 %248, %249
%251 = load ptr, ptr %5, align 8
%252 = load i32, ptr %7, align 4
%253 = load i32, ptr %8, align 4
%254 = sdiv i32 %253, 2
%255 = add nsw i32 %252, %254
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds ptr, ptr %251, i64 %256
%258 = load ptr, ptr %257, align 8
%259 = load i32, ptr %6, align 4
%260 = load i32, ptr %8, align 4
%261 = sdiv i32 %260, 2
%262 = add nsw i32 %259, %261
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i32, ptr %258, i64 %263
store i32 %250, ptr %264, align 4
ret void
}
declare i32 @salt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcswciq8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @square_step(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = sub nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %9, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %15, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = sub nsw i32 %23, %24
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %22, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %21, %32
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %8, align 4
%41 = sub nsw i32 %39, %40
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %38, i64 %42
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %33, %44
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = add nsw i32 %45, %54
%56 = sdiv i32 %55, 4
%57 = call i32 (...) @salt()
%58 = add nsw i32 %56, %57
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %8, align 4
%62 = sdiv i32 %61, 2
%63 = sub nsw i32 %60, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %59, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %8, align 4
%69 = sdiv i32 %68, 2
%70 = sub nsw i32 %67, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %66, i64 %71
store i32 %58, ptr %72, align 4
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %8, align 4
%76 = sub nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %73, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %5, align 8
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %8, align 4
%87 = sub nsw i32 %85, %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %84, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = load i32, ptr %6, align 4
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %91, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %90, i64 %94
%96 = load i32, ptr %95, align 4
%97 = add nsw i32 %83, %96
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %7, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %6, align 4
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %102, i64 %106
%108 = load i32, ptr %107, align 4
%109 = add nsw i32 %97, %108
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %6, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds ptr, ptr %110, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = load i32, ptr %7, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
%118 = load i32, ptr %117, align 4
%119 = add nsw i32 %109, %118
%120 = sdiv i32 %119, 4
%121 = call i32 (...) @salt()
%122 = add nsw i32 %120, %121
%123 = load ptr, ptr %5, align 8
%124 = load i32, ptr %7, align 4
%125 = load i32, ptr %8, align 4
%126 = sdiv i32 %125, 2
%127 = sub nsw i32 %124, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds ptr, ptr %123, i64 %128
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %6, align 4
%132 = load i32, ptr %8, align 4
%133 = sdiv i32 %132, 2
%134 = add nsw i32 %131, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %130, i64 %135
store i32 %122, ptr %136, align 4
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %7, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds ptr, ptr %137, i64 %139
%141 = load ptr, ptr %140, align 8
%142 = load i32, ptr %6, align 4
%143 = load i32, ptr %8, align 4
%144 = sub nsw i32 %142, %143
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %141, i64 %145
%147 = load i32, ptr %146, align 4
%148 = load ptr, ptr %5, align 8
%149 = load i32, ptr %7, align 4
%150 = load i32, ptr %8, align 4
%151 = add nsw i32 %149, %150
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds ptr, ptr %148, i64 %152
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr %6, align 4
%156 = load i32, ptr %8, align 4
%157 = sub nsw i32 %155, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %154, i64 %158
%160 = load i32, ptr %159, align 4
%161 = add nsw i32 %147, %160
%162 = load ptr, ptr %5, align 8
%163 = load i32, ptr %7, align 4
%164 = load i32, ptr %8, align 4
%165 = add nsw i32 %163, %164
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds ptr, ptr %162, i64 %166
%168 = load ptr, ptr %167, align 8
%169 = load i32, ptr %6, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %168, i64 %170
%172 = load i32, ptr %171, align 4
%173 = add nsw i32 %161, %172
%174 = load ptr, ptr %5, align 8
%175 = load i32, ptr %6, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds ptr, ptr %174, i64 %176
%178 = load ptr, ptr %177, align 8
%179 = load i32, ptr %7, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i32, ptr %178, i64 %180
%182 = load i32, ptr %181, align 4
%183 = add nsw i32 %173, %182
%184 = sdiv i32 %183, 4
%185 = call i32 (...) @salt()
%186 = add nsw i32 %184, %185
%187 = load ptr, ptr %5, align 8
%188 = load i32, ptr %7, align 4
%189 = load i32, ptr %8, align 4
%190 = sdiv i32 %189, 2
%191 = add nsw i32 %188, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds ptr, ptr %187, i64 %192
%194 = load ptr, ptr %193, align 8
%195 = load i32, ptr %6, align 4
%196 = load i32, ptr %8, align 4
%197 = sdiv i32 %196, 2
%198 = sub nsw i32 %195, %197
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds i32, ptr %194, i64 %199
store i32 %186, ptr %200, align 4
%201 = load ptr, ptr %5, align 8
%202 = load i32, ptr %7, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds ptr, ptr %201, i64 %203
%205 = load ptr, ptr %204, align 8
%206 = load i32, ptr %6, align 4
%207 = load i32, ptr %8, align 4
%208 = add nsw i32 %206, %207
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %205, i64 %209
%211 = load i32, ptr %210, align 4
%212 = load ptr, ptr %5, align 8
%213 = load i32, ptr %7, align 4
%214 = load i32, ptr %8, align 4
%215 = add nsw i32 %213, %214
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds ptr, ptr %212, i64 %216
%218 = load ptr, ptr %217, align 8
%219 = load i32, ptr %6, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i32, ptr %218, i64 %220
%222 = load i32, ptr %221, align 4
%223 = add nsw i32 %211, %222
%224 = load ptr, ptr %5, align 8
%225 = load i32, ptr %7, align 4
%226 = load i32, ptr %8, align 4
%227 = add nsw i32 %225, %226
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %224, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = load i32, ptr %6, align 4
%232 = load i32, ptr %8, align 4
%233 = add nsw i32 %231, %232
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i32, ptr %230, i64 %234
%236 = load i32, ptr %235, align 4
%237 = add nsw i32 %223, %236
%238 = load ptr, ptr %5, align 8
%239 = load i32, ptr %6, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds ptr, ptr %238, i64 %240
%242 = load ptr, ptr %241, align 8
%243 = load i32, ptr %7, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, ptr %242, i64 %244
%246 = load i32, ptr %245, align 4
%247 = add nsw i32 %237, %246
%248 = sdiv i32 %247, 4
%249 = call i32 (...) @salt()
%250 = add nsw i32 %248, %249
%251 = load ptr, ptr %5, align 8
%252 = load i32, ptr %7, align 4
%253 = load i32, ptr %8, align 4
%254 = sdiv i32 %253, 2
%255 = add nsw i32 %252, %254
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds ptr, ptr %251, i64 %256
%258 = load ptr, ptr %257, align 8
%259 = load i32, ptr %6, align 4
%260 = load i32, ptr %8, align 4
%261 = sdiv i32 %260, 2
%262 = add nsw i32 %259, %261
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i32, ptr %258, i64 %263
store i32 %250, ptr %264, align 4
ret void
}
declare i32 @salt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj8oxmhee.c'
source_filename = "/tmp/tmpj8oxmhee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgmt_login_rsp_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @osapi_free(ptr noundef %3)
ret void
}
declare i32 @osapi_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/tmpj8oxmhee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgmt_login_rsp_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @osapi_free(ptr noundef %3)
ret void
}
declare i32 @osapi_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/tmppnk6usge.c'
source_filename = "/tmp/tmppnk6usge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppnk6usge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj1f6fbzn.c'
source_filename = "/tmp/tmpj1f6fbzn.c"
target datalayout = "e-m:e-p270: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/tmpj1f6fbzn.c"
target datalayout = "e-m:e-p270: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/tmphuzs0bl2.c'
source_filename = "/tmp/tmphuzs0bl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [4 x double] [double 3.140000e+00, double -3.140000e+00, double 0x7FF0000000000000, double 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [28 x i8] c"Value: %lf. Is finite? %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"True\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"False\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x double], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %10
%12 = load double, ptr %11, align 8
%13 = call i32 @stdlib_base_is_finite(double noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %15
%17 = load double, ptr %16, align 8
%18 = load i32, ptr %3, align 4
%19 = icmp ne i32 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, ptr @.str.1, ptr @.str.2
%22 = call i32 @printf(ptr noundef @.str, double noundef %17, ptr noundef %21)
br label %23
23: ; preds = %8
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
%27 = load i32, ptr %1, align 4
ret i32 %27
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @stdlib_base_is_finite(double noundef) #2
declare i32 @printf(ptr noundef, double noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphuzs0bl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [4 x double] [double 3.140000e+00, double -3.140000e+00, double 0x7FF0000000000000, double 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [28 x i8] c"Value: %lf. Is finite? %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"True\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"False\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x double], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %22
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %9
%11 = load double, ptr %10, align 8
%12 = call i32 @stdlib_base_is_finite(double noundef %11)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %14
%16 = load double, ptr %15, align 8
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %17, 0
%19 = zext i1 %18 to i64
%20 = select i1 %18, ptr @.str.1, ptr @.str.2
%21 = call i32 @printf(ptr noundef @.str, double noundef %16, ptr noundef %20)
br label %22
22: ; preds = %7
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 4
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %1, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @stdlib_base_is_finite(double noundef) #2
declare i32 @printf(ptr noundef, double noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpaum9men9.c'
source_filename = "/tmp/tmpaum9men9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getKey() #0 {
%1 = alloca i8, align 1
%2 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
ret i32 %4
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaum9men9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getKey() #0 {
%1 = alloca i8, align 1
%2 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
ret i32 %4
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8a5axgqw.c'
source_filename = "/tmp/tmp8a5axgqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@print_result.answer = internal global [30 x i64] [i64 0, i64 1, i64 0, i64 0, i64 2, i64 10, i64 4, i64 40, i64 92, i64 352, i64 724, i64 2680, i64 14200, i64 73712, i64 365596, i64 2279184, i64 14772512, i64 95815104, i64 666090624, i64 4968057848, i64 39029188884, i64 314666222712, i64 2691008701644, i64 24233937684440, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0], align 16
@.str = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"qn24b XeonPhiOffload\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"version 1.0.0 2013-08-03\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"problem size n : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"total solutions : %lld\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"correct solutions : %lld\0A\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c"million solutions/sec : %.3f\0A\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"elapsed time (sec) : %.3f\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c" ### Wrong answer\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_result(i32 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %13, %3
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 45
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %11
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %7, align 4
br label %8, !llvm.loop !6
16: ; preds = %8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%19 = load i32, ptr %4, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19)
%21 = load i64, ptr %6, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %21)
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [30 x i64], ptr @print_result.answer, i64 0, i64 %24
%26 = load i64, ptr %25, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %26)
%28 = load i64, ptr %6, align 8
%29 = sitofp i64 %28 to double
%30 = load i64, ptr %5, align 8
%31 = sitofp i64 %30 to double
%32 = fdiv double %29, %31
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %32)
%34 = load i64, ptr %5, align 8
%35 = sitofp i64 %34 to double
%36 = fdiv double %35, 1.000000e+06
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %36)
%38 = load i64, ptr %6, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [30 x i64], ptr @print_result.answer, i64 0, i64 %40
%42 = load i64, ptr %41, align 8
%43 = icmp ne i64 %38, %42
br i1 %43, label %44, label %46
44: ; preds = %16
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %46
46: ; preds = %44, %16
store i32 0, ptr %7, align 4
br label %47
47: ; preds = %52, %46
%48 = load i32, ptr %7, align 4
%49 = icmp slt i32 %48, 45
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %52
52: ; preds = %50
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
br label %47, !llvm.loop !8
55: ; preds = %47
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%57 = load i32, ptr @stdout, align 4
%58 = call i32 @fflush(i32 noundef %57)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8a5axgqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@print_result.answer = internal global [30 x i64] [i64 0, i64 1, i64 0, i64 0, i64 2, i64 10, i64 4, i64 40, i64 92, i64 352, i64 724, i64 2680, i64 14200, i64 73712, i64 365596, i64 2279184, i64 14772512, i64 95815104, i64 666090624, i64 4968057848, i64 39029188884, i64 314666222712, i64 2691008701644, i64 24233937684440, i64 0, i64 0, i64 0, i64 0, i64 0, i64 0], align 16
@.str = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"qn24b XeonPhiOffload\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"version 1.0.0 2013-08-03\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"problem size n : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"total solutions : %lld\0A\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"correct solutions : %lld\0A\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c"million solutions/sec : %.3f\0A\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"elapsed time (sec) : %.3f\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c" ### Wrong answer\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_result(i32 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp slt i32 %8, 45
br i1 %9, label %.lr.ph, label %17
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %12
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %12
12: ; preds = %10
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 45
br i1 %16, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %3
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
%20 = load i32, ptr %4, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %20)
%22 = load i64, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [30 x i64], ptr @print_result.answer, i64 0, i64 %25
%27 = load i64, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %27)
%29 = load i64, ptr %6, align 8
%30 = sitofp i64 %29 to double
%31 = load i64, ptr %5, align 8
%32 = sitofp i64 %31 to double
%33 = fdiv double %30, %32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %33)
%35 = load i64, ptr %5, align 8
%36 = sitofp i64 %35 to double
%37 = fdiv double %36, 1.000000e+06
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %37)
%39 = load i64, ptr %6, align 8
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [30 x i64], ptr @print_result.answer, i64 0, i64 %41
%43 = load i64, ptr %42, align 8
%44 = icmp ne i64 %39, %43
br i1 %44, label %45, label %47
45: ; preds = %17
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %47
47: ; preds = %45, %17
store i32 0, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp slt i32 %48, 45
br i1 %49, label %.lr.ph2, label %57
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %52
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %52
52: ; preds = %50
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = icmp slt i32 %55, 45
br i1 %56, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %57
57: ; preds = %._crit_edge3, %47
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%59 = load i32, ptr @stdout, align 4
%60 = call i32 @fflush(i32 noundef %59)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpdx8a3twv.c'
source_filename = "/tmp/tmpdx8a3twv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc of %u bytes failed:\00", align 1
@.str.1 = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hugo303/check-ci/refs/heads/master/3rdparty/check/src/check_error.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @emalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = call i32 @eprintf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 60, i64 noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @eprintf(ptr noundef, ptr noundef, i32 noundef, i64 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdx8a3twv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc of %u bytes failed:\00", align 1
@.str.1 = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hugo303/check-ci/refs/heads/master/3rdparty/check/src/check_error.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @emalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = call i32 @eprintf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 60, i64 noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @eprintf(ptr noundef, ptr noundef, i32 noundef, i64 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsxoe3u9l.c'
source_filename = "/tmp/tmpsxoe3u9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc4_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %19, %3
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 256
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
br label %19
19: ; preds = %13
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %62, %22
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 256
br i1 %25, label %26, label %65
26: ; preds = %23
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %27, %32
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = srem i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %34, i64 %38
%40 = load i32, ptr %39, align 4
%41 = add nsw i32 %33, %40
%42 = and i32 %41, 255
store i32 %42, ptr %8, align 4
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %9, align 4
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 %52, ptr %56, align 4
%57 = load i32, ptr %9, align 4
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %26
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
br label %23, !llvm.loop !8
65: ; preds = %23
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxoe3u9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc4_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 256
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %18
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
br label %18
18: ; preds = %12
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 256
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %3
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 256
br i1 %25, label %.lr.ph2, label %67
.lr.ph2: ; preds = %23
br label %26
26: ; preds = %.lr.ph2, %62
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %27, %32
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = srem i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %34, i64 %38
%40 = load i32, ptr %39, align 4
%41 = add nsw i32 %33, %40
%42 = and i32 %41, 255
store i32 %42, ptr %8, align 4
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %9, align 4
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 %52, ptr %56, align 4
%57 = load i32, ptr %9, align 4
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %26
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp slt i32 %65, 256
br i1 %66, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %67
67: ; preds = %._crit_edge3, %23
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3qs0_m1m.c'
source_filename = "/tmp/tmp3qs0_m1m.c"
target datalayout = "e-m:e-p270: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/tmp3qs0_m1m.c"
target datalayout = "e-m:e-p270: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/tmpafa_fn1a.c'
source_filename = "/tmp/tmpafa_fn1a.c"
target datalayout = "e-m:e-p270: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/tmpafa_fn1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ms474qp.c'
source_filename = "/tmp/tmp_ms474qp.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"1.2.3.4\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"addr.s_addr = 0x%08x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.in_addr, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @inet_aton(ptr noundef @.str, ptr noundef %2)
%4 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
ret i32 0
}
declare i32 @inet_aton(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ms474qp.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"1.2.3.4\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"addr.s_addr = 0x%08x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.in_addr, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @inet_aton(ptr noundef @.str, ptr noundef %2)
%4 = getelementptr inbounds %struct.in_addr, ptr %2, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
ret i32 0
}
declare i32 @inet_aton(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"}
|
; ModuleID = '/tmp/tmph1aqqmgo.c'
source_filename = "/tmp/tmph1aqqmgo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"light\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"heavy\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = srem i32 %11, 10
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = sdiv i32 %16, 10
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %10
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = sdiv i32 %23, %22
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %25, 7
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 @printf(ptr noundef @.str.1)
br label %31
29: ; preds = %21
%30 = call i32 @printf(ptr noundef @.str.2)
br label %31
31: ; preds = %29, %27
ret i32 0
}
declare i32 @scanf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1aqqmgo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"light\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"heavy\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = load i32, ptr %2, align 4
%11 = srem i32 %10, 10
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = sdiv i32 %15, 10
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %9
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = sdiv i32 %24, %23
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %26, 7
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = call i32 @printf(ptr noundef @.str.1)
br label %32
30: ; preds = %22
%31 = call i32 @printf(ptr noundef @.str.2)
br label %32
32: ; preds = %30, %28
ret i32 0
}
declare i32 @scanf(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"}
|
; ModuleID = '/tmp/tmpul7qyzhv.c'
source_filename = "/tmp/tmpul7qyzhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_psdmatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
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/tmpul7qyzhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_psdmatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
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/tmpp2mhbg81.c'
source_filename = "/tmp/tmpp2mhbg81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = %0, %2
%3 = call i32 (...) @processMessageQueue()
br label %2
}
declare i32 @processMessageQueue(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2mhbg81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @processMessageQueue()
br label %2
}
declare i32 @processMessageQueue(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeu9_47su.c'
source_filename = "/tmp/tmpeu9_47su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnter a word to stem: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Initial word: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Stemmed word: %s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 115
br i1 %17, label %18, label %47
18: ; preds = %0
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 3
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 115
br i1 %25, label %26, label %47
26: ; preds = %18
%27 = load i32, ptr %3, align 4
%28 = sub nsw i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 101
br i1 %33, label %34, label %47
34: ; preds = %26
%35 = load i32, ptr %3, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 115
br i1 %41, label %42, label %47
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = sub nsw i32 %43, 2
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %45
store i8 0, ptr %46, align 1
br label %83
47: ; preds = %34, %26, %18, %0
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 115
br i1 %54, label %55, label %60
55: ; preds = %47
%56 = load i32, ptr %3, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %58
store i8 0, ptr %59, align 1
br label %82
60: ; preds = %47
%61 = load i32, ptr %3, align 4
%62 = sub nsw i32 %61, 2
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 101
br i1 %67, label %68, label %81
68: ; preds = %60
%69 = load i32, ptr %3, align 4
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 100
br i1 %75, label %76, label %81
76: ; preds = %68
%77 = load i32, ptr %3, align 4
%78 = sub nsw i32 %77, 2
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %79
store i8 0, ptr %80, align 1
br label %81
81: ; preds = %76, %68, %60
br label %82
82: ; preds = %81, %55
br label %83
83: ; preds = %82, %42
%84 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %84)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeu9_47su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnter a word to stem: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Initial word: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Stemmed word: %s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 115
br i1 %17, label %18, label %47
18: ; preds = %0
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 3
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 115
br i1 %25, label %26, label %47
26: ; preds = %18
%27 = load i32, ptr %3, align 4
%28 = sub nsw i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 101
br i1 %33, label %34, label %47
34: ; preds = %26
%35 = load i32, ptr %3, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 115
br i1 %41, label %42, label %47
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = sub nsw i32 %43, 2
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %45
store i8 0, ptr %46, align 1
br label %83
47: ; preds = %34, %26, %18, %0
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 115
br i1 %54, label %55, label %60
55: ; preds = %47
%56 = load i32, ptr %3, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %58
store i8 0, ptr %59, align 1
br label %82
60: ; preds = %47
%61 = load i32, ptr %3, align 4
%62 = sub nsw i32 %61, 2
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 101
br i1 %67, label %68, label %81
68: ; preds = %60
%69 = load i32, ptr %3, align 4
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 100
br i1 %75, label %76, label %81
76: ; preds = %68
%77 = load i32, ptr %3, align 4
%78 = sub nsw i32 %77, 2
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %79
store i8 0, ptr %80, align 1
br label %81
81: ; preds = %76, %68, %60
br label %82
82: ; preds = %81, %55
br label %83
83: ; preds = %82, %42
%84 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %84)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptgrqcvw5.c'
source_filename = "/tmp/tmptgrqcvw5.c"
target datalayout = "e-m:e-p270: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/tmptgrqcvw5.c"
target datalayout = "e-m:e-p270: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/tmpj9s218el.c'
source_filename = "/tmp/tmpj9s218el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hopt_pack_css(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @compress_style_chunk(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @compress_style_chunk(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/tmpj9s218el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hopt_pack_css(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @compress_style_chunk(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @compress_style_chunk(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/tmpr90ng9ui.c'
source_filename = "/tmp/tmpr90ng9ui.c"
target datalayout = "e-m:e-p270: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/tmpr90ng9ui.c"
target datalayout = "e-m:e-p270: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/tmp8xjchexk.c'
source_filename = "/tmp/tmp8xjchexk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Delay_5us() #0 {
%1 = call i32 (...) @Nop()
%2 = call i32 (...) @Nop()
%3 = call i32 (...) @Nop()
%4 = call i32 (...) @Nop()
%5 = call i32 (...) @Nop()
%6 = call i32 (...) @Nop()
%7 = call i32 (...) @Nop()
%8 = call i32 (...) @Nop()
%9 = call i32 (...) @Nop()
%10 = call i32 (...) @Nop()
%11 = call i32 (...) @Nop()
%12 = call i32 (...) @Nop()
%13 = call i32 (...) @Nop()
%14 = call i32 (...) @Nop()
%15 = call i32 (...) @Nop()
%16 = call i32 (...) @Nop()
%17 = call i32 (...) @Nop()
%18 = call i32 (...) @Nop()
%19 = call i32 (...) @Nop()
%20 = call i32 (...) @Nop()
%21 = call i32 (...) @Nop()
%22 = call i32 (...) @Nop()
%23 = call i32 (...) @Nop()
%24 = call i32 (...) @Nop()
%25 = call i32 (...) @Nop()
%26 = call i32 (...) @Nop()
%27 = call i32 (...) @Nop()
%28 = call i32 (...) @Nop()
%29 = call i32 (...) @Nop()
%30 = call i32 (...) @Nop()
%31 = call i32 (...) @Nop()
%32 = call i32 (...) @Nop()
%33 = call i32 (...) @Nop()
%34 = call i32 (...) @Nop()
%35 = call i32 (...) @Nop()
%36 = call i32 (...) @Nop()
%37 = call i32 (...) @Nop()
%38 = call i32 (...) @Nop()
%39 = call i32 (...) @Nop()
%40 = call i32 (...) @Nop()
%41 = call i32 (...) @Nop()
%42 = call i32 (...) @Nop()
%43 = call i32 (...) @Nop()
%44 = call i32 (...) @Nop()
%45 = call i32 (...) @Nop()
%46 = call i32 (...) @Nop()
%47 = call i32 (...) @Nop()
%48 = call i32 (...) @Nop()
%49 = call i32 (...) @Nop()
%50 = call i32 (...) @Nop()
ret void
}
declare i32 @Nop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8xjchexk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Delay_5us() #0 {
%1 = call i32 (...) @Nop()
%2 = call i32 (...) @Nop()
%3 = call i32 (...) @Nop()
%4 = call i32 (...) @Nop()
%5 = call i32 (...) @Nop()
%6 = call i32 (...) @Nop()
%7 = call i32 (...) @Nop()
%8 = call i32 (...) @Nop()
%9 = call i32 (...) @Nop()
%10 = call i32 (...) @Nop()
%11 = call i32 (...) @Nop()
%12 = call i32 (...) @Nop()
%13 = call i32 (...) @Nop()
%14 = call i32 (...) @Nop()
%15 = call i32 (...) @Nop()
%16 = call i32 (...) @Nop()
%17 = call i32 (...) @Nop()
%18 = call i32 (...) @Nop()
%19 = call i32 (...) @Nop()
%20 = call i32 (...) @Nop()
%21 = call i32 (...) @Nop()
%22 = call i32 (...) @Nop()
%23 = call i32 (...) @Nop()
%24 = call i32 (...) @Nop()
%25 = call i32 (...) @Nop()
%26 = call i32 (...) @Nop()
%27 = call i32 (...) @Nop()
%28 = call i32 (...) @Nop()
%29 = call i32 (...) @Nop()
%30 = call i32 (...) @Nop()
%31 = call i32 (...) @Nop()
%32 = call i32 (...) @Nop()
%33 = call i32 (...) @Nop()
%34 = call i32 (...) @Nop()
%35 = call i32 (...) @Nop()
%36 = call i32 (...) @Nop()
%37 = call i32 (...) @Nop()
%38 = call i32 (...) @Nop()
%39 = call i32 (...) @Nop()
%40 = call i32 (...) @Nop()
%41 = call i32 (...) @Nop()
%42 = call i32 (...) @Nop()
%43 = call i32 (...) @Nop()
%44 = call i32 (...) @Nop()
%45 = call i32 (...) @Nop()
%46 = call i32 (...) @Nop()
%47 = call i32 (...) @Nop()
%48 = call i32 (...) @Nop()
%49 = call i32 (...) @Nop()
%50 = call i32 (...) @Nop()
ret void
}
declare i32 @Nop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm3ts2e0v.c'
source_filename = "/tmp/tmpm3ts2e0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%f,%f,%79[^\0A]\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%f,%f,%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca [80 x i8], align 16
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %27, %0
%6 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %6)
%8 = icmp eq i32 %7, 3
br i1 %8, label %9, label %28
9: ; preds = %5
%10 = load float, ptr %2, align 4
%11 = fcmp ogt float %10, 2.600000e+01
br i1 %11, label %12, label %27
12: ; preds = %9
%13 = load float, ptr %2, align 4
%14 = fcmp olt float %13, 3.400000e+01
br i1 %14, label %15, label %27
15: ; preds = %12
%16 = load float, ptr %3, align 4
%17 = fcmp olt float %16, -6.400000e+01
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = load float, ptr %3, align 4
%20 = fcmp ogt float %19, -7.600000e+01
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load float, ptr %2, align 4
%23 = load float, ptr %3, align 4
%24 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str.1, float noundef %22, float noundef %23, ptr noundef %24)
br label %26
26: ; preds = %21, %18, %15
br label %27
27: ; preds = %26, %12, %9
br label %5, !llvm.loop !6
28: ; preds = %5
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float 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/tmpm3ts2e0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%f,%f,%79[^\0A]\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%f,%f,%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca [80 x i8], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %5)
%7 = icmp eq i32 %6, 3
br i1 %7, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %26
%9 = load float, ptr %2, align 4
%10 = fcmp ogt float %9, 2.600000e+01
br i1 %10, label %11, label %26
11: ; preds = %8
%12 = load float, ptr %2, align 4
%13 = fcmp olt float %12, 3.400000e+01
br i1 %13, label %14, label %26
14: ; preds = %11
%15 = load float, ptr %3, align 4
%16 = fcmp olt float %15, -6.400000e+01
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load float, ptr %3, align 4
%19 = fcmp ogt float %18, -7.600000e+01
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load float, ptr %2, align 4
%22 = load float, ptr %3, align 4
%23 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str.1, float noundef %21, float noundef %22, ptr noundef %23)
br label %25
25: ; preds = %20, %17, %14
br label %26
26: ; preds = %25, %11, %8
%27 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %5)
%28 = icmp eq i32 %27, 3
br i1 %28, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %29
29: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float 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/tmpfq0w_xfe.c'
source_filename = "/tmp/tmpfq0w_xfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"BotStartFrame\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Export_BotLibStartFrame(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = call i32 @BotLibSetup(ptr noundef @.str)
%5 = icmp ne i32 %4, 0
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load float, ptr %3, align 4
%9 = call i32 @AAS_StartFrame(float noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @BotLibSetup(ptr noundef) #1
declare i32 @AAS_StartFrame(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/tmpfq0w_xfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"BotStartFrame\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Export_BotLibStartFrame(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = call i32 @BotLibSetup(ptr noundef @.str)
%5 = icmp ne i32 %4, 0
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
7: ; preds = %1
%8 = load float, ptr %3, align 4
%9 = call i32 @AAS_StartFrame(float noundef %8)
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @BotLibSetup(ptr noundef) #1
declare i32 @AAS_StartFrame(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/tmpkv72c980.c'
source_filename = "/tmp/tmpkv72c980.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"get\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"set\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %93
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %50
21: ; preds = %15
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 4
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 -1, ptr %4, align 4
br label %93
25: ; preds = %21
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 3
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %7, align 8
%30 = call i64 @mdea_node_from_file_path(ptr noundef %28, ptr noundef %8, ptr noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %25
store i32 -1, ptr %4, align 4
br label %93
33: ; preds = %25
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i64 @mdea_get(ptr noundef %34, ptr noundef %37, ptr noundef %9, ptr noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %33
store i32 -1, ptr %4, align 4
br label %93
42: ; preds = %33
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr @STDOUT_FILENO, align 4
%45 = load ptr, ptr %7, align 8
%46 = call i64 @mdea_node_to_file_desc(ptr noundef %43, i32 noundef %44, ptr noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %42
store i32 -1, ptr %4, align 4
br label %93
49: ; preds = %42
store i32 0, ptr %4, align 4
br label %93
50: ; preds = %15
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 1
%53 = load ptr, ptr %52, align 8
%54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.1)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %92
56: ; preds = %50
%57 = load i32, ptr %5, align 4
%58 = icmp ne i32 %57, 5
br i1 %58, label %59, label %60
59: ; preds = %56
store i32 -1, ptr %4, align 4
br label %93
60: ; preds = %56
%61 = load ptr, ptr %6, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 4
%63 = load ptr, ptr %62, align 8
%64 = call i64 @mdea_node_from_file_path(ptr noundef %63, ptr noundef %10, ptr noundef null)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = call ptr (...) @mdea_object_node()
store ptr %67, ptr %10, align 8
br label %68
68: ; preds = %66, %60
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 3
%71 = load ptr, ptr %70, align 8
%72 = load ptr, ptr %7, align 8
%73 = call i64 @mdea_node_from_string(ptr noundef %71, ptr noundef %11, ptr noundef %72)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %68
store i32 -1, ptr %4, align 4
br label %93
76: ; preds = %68
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 2
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %11, align 8
%81 = load ptr, ptr %7, align 8
%82 = call i64 @mdea_set(ptr noundef %10, ptr noundef %79, ptr noundef %80, ptr noundef %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %76
store i32 -1, ptr %4, align 4
br label %93
85: ; preds = %76
%86 = load ptr, ptr %10, align 8
%87 = load ptr, ptr %6, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 4
%89 = load ptr, ptr %88, align 8
%90 = load ptr, ptr %7, align 8
%91 = call i32 @mdea_node_to_file_path(ptr noundef %86, ptr noundef %89, ptr noundef %90)
store i32 %91, ptr %4, align 4
br label %93
92: ; preds = %50
store i32 -1, ptr %4, align 4
br label %93
93: ; preds = %92, %85, %84, %75, %59, %49, %48, %41, %32, %24, %14
%94 = load i32, ptr %4, align 4
ret i32 %94
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @mdea_node_from_file_path(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mdea_get(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mdea_node_to_file_desc(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @mdea_object_node(...) #1
declare i64 @mdea_node_from_string(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mdea_set(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @mdea_node_to_file_path(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/tmpkv72c980.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"get\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"set\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %93
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %50
21: ; preds = %15
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 4
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 -1, ptr %4, align 4
br label %93
25: ; preds = %21
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 3
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %7, align 8
%30 = call i64 @mdea_node_from_file_path(ptr noundef %28, ptr noundef %8, ptr noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %25
store i32 -1, ptr %4, align 4
br label %93
33: ; preds = %25
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i64 @mdea_get(ptr noundef %34, ptr noundef %37, ptr noundef %9, ptr noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %33
store i32 -1, ptr %4, align 4
br label %93
42: ; preds = %33
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr @STDOUT_FILENO, align 4
%45 = load ptr, ptr %7, align 8
%46 = call i64 @mdea_node_to_file_desc(ptr noundef %43, i32 noundef %44, ptr noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %42
store i32 -1, ptr %4, align 4
br label %93
49: ; preds = %42
store i32 0, ptr %4, align 4
br label %93
50: ; preds = %15
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 1
%53 = load ptr, ptr %52, align 8
%54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.1)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %92
56: ; preds = %50
%57 = load i32, ptr %5, align 4
%58 = icmp ne i32 %57, 5
br i1 %58, label %59, label %60
59: ; preds = %56
store i32 -1, ptr %4, align 4
br label %93
60: ; preds = %56
%61 = load ptr, ptr %6, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 4
%63 = load ptr, ptr %62, align 8
%64 = call i64 @mdea_node_from_file_path(ptr noundef %63, ptr noundef %10, ptr noundef null)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = call ptr (...) @mdea_object_node()
store ptr %67, ptr %10, align 8
br label %68
68: ; preds = %66, %60
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds ptr, ptr %69, i64 3
%71 = load ptr, ptr %70, align 8
%72 = load ptr, ptr %7, align 8
%73 = call i64 @mdea_node_from_string(ptr noundef %71, ptr noundef %11, ptr noundef %72)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %68
store i32 -1, ptr %4, align 4
br label %93
76: ; preds = %68
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 2
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %11, align 8
%81 = load ptr, ptr %7, align 8
%82 = call i64 @mdea_set(ptr noundef %10, ptr noundef %79, ptr noundef %80, ptr noundef %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %76
store i32 -1, ptr %4, align 4
br label %93
85: ; preds = %76
%86 = load ptr, ptr %10, align 8
%87 = load ptr, ptr %6, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 4
%89 = load ptr, ptr %88, align 8
%90 = load ptr, ptr %7, align 8
%91 = call i32 @mdea_node_to_file_path(ptr noundef %86, ptr noundef %89, ptr noundef %90)
store i32 %91, ptr %4, align 4
br label %93
92: ; preds = %50
store i32 -1, ptr %4, align 4
br label %93
93: ; preds = %92, %85, %84, %75, %59, %49, %48, %41, %32, %24, %14
%94 = load i32, ptr %4, align 4
ret i32 %94
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @mdea_node_from_file_path(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mdea_get(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mdea_node_to_file_desc(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @mdea_object_node(...) #1
declare i64 @mdea_node_from_string(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @mdea_set(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @mdea_node_to_file_path(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/tmpxrr7dcee.c'
source_filename = "/tmp/tmpxrr7dcee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B\F9\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\1B\F2\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\1B\E4\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\1B\BF\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\1B\7F\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @optical_eye_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %7, align 8
store i32 1, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (i32, ...) @write(i32 noundef %10, ptr noundef %11, i32 noundef 1)
br label %13
13: ; preds = %47, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %15, 1
%17 = icmp slt i32 %14, %16
br i1 %17, label %18, label %52
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
switch i32 %24, label %40 [
i32 6, label %25
i32 13, label %28
i32 27, label %31
i32 64, label %34
i32 128, label %37
]
25: ; preds = %18
%26 = load i32, ptr %4, align 4
%27 = call i32 (i32, ...) @write(i32 noundef %26, ptr noundef @.str, i32 noundef 2)
br label %47
28: ; preds = %18
%29 = load i32, ptr %4, align 4
%30 = call i32 (i32, ...) @write(i32 noundef %29, ptr noundef @.str.1, i32 noundef 2)
br label %47
31: ; preds = %18
%32 = load i32, ptr %4, align 4
%33 = call i32 (i32, ...) @write(i32 noundef %32, ptr noundef @.str.2, i32 noundef 2)
br label %47
34: ; preds = %18
%35 = load i32, ptr %4, align 4
%36 = call i32 (i32, ...) @write(i32 noundef %35, ptr noundef @.str.3, i32 noundef 2)
br label %47
37: ; preds = %18
%38 = load i32, ptr %4, align 4
%39 = call i32 (i32, ...) @write(i32 noundef %38, ptr noundef @.str.4, i32 noundef 2)
br label %47
40: ; preds = %18
%41 = load i32, ptr %4, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = call i32 (i32, ...) @write(i32 noundef %41, ptr noundef %45, i32 noundef 1)
br label %47
47: ; preds = %40, %37, %34, %31, %28, %25
%48 = load ptr, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %7, align 8
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
br label %13, !llvm.loop !6
52: ; preds = %13
%53 = load i32, ptr %4, align 4
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %6, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
%59 = call i32 (i32, ...) @write(i32 noundef %53, ptr noundef %58, i32 noundef 1)
ret void
}
declare i32 @write(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/tmpxrr7dcee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B\F9\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\1B\F2\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\1B\E4\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\1B\BF\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\1B\7F\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @optical_eye_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %7, align 8
store i32 1, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (i32, ...) @write(i32 noundef %10, ptr noundef %11, i32 noundef 1)
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %.lr.ph, label %55
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %46
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = zext i8 %22 to i32
switch i32 %23, label %39 [
i32 6, label %24
i32 13, label %27
i32 27, label %30
i32 64, label %33
i32 128, label %36
]
24: ; preds = %17
%25 = load i32, ptr %4, align 4
%26 = call i32 (i32, ...) @write(i32 noundef %25, ptr noundef @.str, i32 noundef 2)
br label %46
27: ; preds = %17
%28 = load i32, ptr %4, align 4
%29 = call i32 (i32, ...) @write(i32 noundef %28, ptr noundef @.str.1, i32 noundef 2)
br label %46
30: ; preds = %17
%31 = load i32, ptr %4, align 4
%32 = call i32 (i32, ...) @write(i32 noundef %31, ptr noundef @.str.2, i32 noundef 2)
br label %46
33: ; preds = %17
%34 = load i32, ptr %4, align 4
%35 = call i32 (i32, ...) @write(i32 noundef %34, ptr noundef @.str.3, i32 noundef 2)
br label %46
36: ; preds = %17
%37 = load i32, ptr %4, align 4
%38 = call i32 (i32, ...) @write(i32 noundef %37, ptr noundef @.str.4, i32 noundef 2)
br label %46
39: ; preds = %17
%40 = load i32, ptr %4, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = call i32 (i32, ...) @write(i32 noundef %40, ptr noundef %44, i32 noundef 1)
br label %46
46: ; preds = %39, %36, %33, %30, %27, %24
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 1
%54 = icmp slt i32 %51, %53
br i1 %54, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %55
55: ; preds = %._crit_edge, %3
%56 = load i32, ptr %4, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %6, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
%62 = call i32 (i32, ...) @write(i32 noundef %56, ptr noundef %61, i32 noundef 1)
ret void
}
declare i32 @write(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/tmpi556yy7z.c'
source_filename = "/tmp/tmpi556yy7z.c"
target datalayout = "e-m:e-p270: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/tmpi556yy7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ju1twco.c'
source_filename = "/tmp/tmp_ju1twco.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@.str = private unnamed_addr constant [19 x i8] c"(big-low-conflict)\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_case_conflict_localfilename(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr null, ptr %11, align 8
%16 = load ptr, ptr %6, align 8
%17 = call ptr @opendir(ptr noundef %16)
store ptr %17, ptr %10, align 8
store ptr @.str, ptr %12, align 8
store i32 0, ptr %13, align 4
%18 = load ptr, ptr %10, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %4
store ptr null, ptr %5, align 8
br label %123
21: ; preds = %4
store ptr null, ptr %14, align 8
br label %22
22: ; preds = %118, %38, %21
%23 = load ptr, ptr %10, align 8
%24 = call ptr @readdir(ptr noundef %23)
store ptr %24, ptr %11, align 8
%25 = icmp ne ptr null, %24
br i1 %25, label %26, label %119
26: ; preds = %22
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds %struct.dirent, ptr %27, i32 0, i32 0
%29 = load ptr, ptr %28, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.1)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %26
%33 = load ptr, ptr %11, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.2)
%37 = icmp ne i64 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %32, %26
br label %22, !llvm.loop !6
39: ; preds = %32
%40 = load ptr, ptr %11, align 8
%41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %41, align 8
%43 = call ptr @strlwr(ptr noundef %42)
%44 = load ptr, ptr %7, align 8
%45 = call ptr @strlwr(ptr noundef %44)
%46 = call i64 @strcmp(ptr noundef %43, ptr noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %118, label %48
48: ; preds = %39
%49 = load ptr, ptr %11, align 8
%50 = getelementptr inbounds %struct.dirent, ptr %49, i32 0, i32 0
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %7, align 8
%53 = call i64 @strcmp(ptr noundef %51, ptr noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %118
55: ; preds = %48
%56 = load ptr, ptr %8, align 8
%57 = call i64 @strlen(ptr noundef %56)
%58 = load ptr, ptr %11, align 8
%59 = getelementptr inbounds %struct.dirent, ptr %58, i32 0, i32 0
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strlen(ptr noundef %60)
%62 = add nsw i64 %57, %61
%63 = add nsw i64 %62, 1
%64 = add nsw i64 %63, 1
%65 = call ptr @malloc(i64 noundef %64)
store ptr %65, ptr %15, align 8
%66 = load ptr, ptr %15, align 8
%67 = load ptr, ptr %8, align 8
%68 = call i64 @strlen(ptr noundef %67)
%69 = load ptr, ptr %11, align 8
%70 = getelementptr inbounds %struct.dirent, ptr %69, i32 0, i32 0
%71 = load ptr, ptr %70, align 8
%72 = call i64 @strlen(ptr noundef %71)
%73 = add nsw i64 %68, %72
%74 = add nsw i64 %73, 1
%75 = add nsw i64 %74, 1
%76 = call i32 @memset(ptr noundef %66, i32 noundef 0, i64 noundef %75)
%77 = load ptr, ptr %15, align 8
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %11, align 8
%80 = getelementptr inbounds %struct.dirent, ptr %79, i32 0, i32 0
%81 = load ptr, ptr %80, align 8
%82 = call i32 @sprintf(ptr noundef %77, ptr noundef @.str.3, ptr noundef %78, ptr noundef %81)
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %15, align 8
%85 = load i32, ptr %9, align 4
%86 = call i32 @is_server_exist(ptr noundef %83, ptr noundef %84, i32 noundef %85)
store i32 %86, ptr %13, align 4
%87 = load ptr, ptr %15, align 8
%88 = call i32 @free(ptr noundef %87)
store ptr null, ptr %15, align 8
%89 = load i32, ptr %13, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %117
91: ; preds = %55
%92 = load ptr, ptr %11, align 8
%93 = getelementptr inbounds %struct.dirent, ptr %92, i32 0, i32 0
%94 = load ptr, ptr %93, align 8
%95 = call i64 @strlen(ptr noundef %94)
%96 = load ptr, ptr %12, align 8
%97 = call i64 @strlen(ptr noundef %96)
%98 = add nsw i64 %95, %97
%99 = add nsw i64 %98, 1
%100 = call ptr @malloc(i64 noundef %99)
store ptr %100, ptr %14, align 8
%101 = load ptr, ptr %14, align 8
%102 = load ptr, ptr %11, align 8
%103 = getelementptr inbounds %struct.dirent, ptr %102, i32 0, i32 0
%104 = load ptr, ptr %103, align 8
%105 = call i64 @strlen(ptr noundef %104)
%106 = load ptr, ptr %12, align 8
%107 = call i64 @strlen(ptr noundef %106)
%108 = add nsw i64 %105, %107
%109 = add nsw i64 %108, 1
%110 = call i32 @memset(ptr noundef %101, i32 noundef 0, i64 noundef %109)
%111 = load ptr, ptr %14, align 8
%112 = load ptr, ptr %11, align 8
%113 = getelementptr inbounds %struct.dirent, ptr %112, i32 0, i32 0
%114 = load ptr, ptr %113, align 8
%115 = load ptr, ptr %12, align 8
%116 = call i32 @sprintf(ptr noundef %111, ptr noundef @.str.4, ptr noundef %114, ptr noundef %115)
br label %119
117: ; preds = %55
br label %118
118: ; preds = %117, %48, %39
br label %22, !llvm.loop !6
119: ; preds = %91, %22
%120 = load ptr, ptr %10, align 8
%121 = call i32 @closedir(ptr noundef %120)
%122 = load ptr, ptr %14, align 8
store ptr %122, ptr %5, align 8
br label %123
123: ; preds = %119, %20
%124 = load ptr, ptr %5, align 8
ret ptr %124
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strlwr(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @is_server_exist(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ju1twco.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@.str = private unnamed_addr constant [19 x i8] c"(big-low-conflict)\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_case_conflict_localfilename(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr null, ptr %11, align 8
%16 = load ptr, ptr %6, align 8
%17 = call ptr @opendir(ptr noundef %16)
store ptr %17, ptr %10, align 8
store ptr @.str, ptr %12, align 8
store i32 0, ptr %13, align 4
%18 = load ptr, ptr %10, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %4
store ptr null, ptr %5, align 8
br label %125
21: ; preds = %4
store ptr null, ptr %14, align 8
%22 = load ptr, ptr %10, align 8
%23 = call ptr @readdir(ptr noundef %22)
store ptr %23, ptr %11, align 8
%24 = icmp ne ptr null, %23
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %.backedge
%26 = load ptr, ptr %11, align 8
%27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.1)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %25
%32 = load ptr, ptr %11, align 8
%33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 0
%34 = load ptr, ptr %33, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.2)
%36 = icmp ne i64 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %31, %25
br label %.backedge
.backedge: ; preds = %37, %120
%38 = load ptr, ptr %10, align 8
%39 = call ptr @readdir(ptr noundef %38)
store ptr %39, ptr %11, align 8
%40 = icmp ne ptr null, %39
br i1 %40, label %25, label %..loopexit_crit_edge, !llvm.loop !6
41: ; preds = %31
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds %struct.dirent, ptr %42, i32 0, i32 0
%44 = load ptr, ptr %43, align 8
%45 = call ptr @strlwr(ptr noundef %44)
%46 = load ptr, ptr %7, align 8
%47 = call ptr @strlwr(ptr noundef %46)
%48 = call i64 @strcmp(ptr noundef %45, ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %120, label %50
50: ; preds = %41
%51 = load ptr, ptr %11, align 8
%52 = getelementptr inbounds %struct.dirent, ptr %51, i32 0, i32 0
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %7, align 8
%55 = call i64 @strcmp(ptr noundef %53, ptr noundef %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %120
57: ; preds = %50
%58 = load ptr, ptr %8, align 8
%59 = call i64 @strlen(ptr noundef %58)
%60 = load ptr, ptr %11, align 8
%61 = getelementptr inbounds %struct.dirent, ptr %60, i32 0, i32 0
%62 = load ptr, ptr %61, align 8
%63 = call i64 @strlen(ptr noundef %62)
%64 = add nsw i64 %59, %63
%65 = add nsw i64 %64, 1
%66 = add nsw i64 %65, 1
%67 = call ptr @malloc(i64 noundef %66)
store ptr %67, ptr %15, align 8
%68 = load ptr, ptr %15, align 8
%69 = load ptr, ptr %8, align 8
%70 = call i64 @strlen(ptr noundef %69)
%71 = load ptr, ptr %11, align 8
%72 = getelementptr inbounds %struct.dirent, ptr %71, i32 0, i32 0
%73 = load ptr, ptr %72, align 8
%74 = call i64 @strlen(ptr noundef %73)
%75 = add nsw i64 %70, %74
%76 = add nsw i64 %75, 1
%77 = add nsw i64 %76, 1
%78 = call i32 @memset(ptr noundef %68, i32 noundef 0, i64 noundef %77)
%79 = load ptr, ptr %15, align 8
%80 = load ptr, ptr %8, align 8
%81 = load ptr, ptr %11, align 8
%82 = getelementptr inbounds %struct.dirent, ptr %81, i32 0, i32 0
%83 = load ptr, ptr %82, align 8
%84 = call i32 @sprintf(ptr noundef %79, ptr noundef @.str.3, ptr noundef %80, ptr noundef %83)
%85 = load ptr, ptr %8, align 8
%86 = load ptr, ptr %15, align 8
%87 = load i32, ptr %9, align 4
%88 = call i32 @is_server_exist(ptr noundef %85, ptr noundef %86, i32 noundef %87)
store i32 %88, ptr %13, align 4
%89 = load ptr, ptr %15, align 8
%90 = call i32 @free(ptr noundef %89)
store ptr null, ptr %15, align 8
%91 = load i32, ptr %13, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %119
93: ; preds = %57
%94 = load ptr, ptr %11, align 8
%95 = getelementptr inbounds %struct.dirent, ptr %94, i32 0, i32 0
%96 = load ptr, ptr %95, align 8
%97 = call i64 @strlen(ptr noundef %96)
%98 = load ptr, ptr %12, align 8
%99 = call i64 @strlen(ptr noundef %98)
%100 = add nsw i64 %97, %99
%101 = add nsw i64 %100, 1
%102 = call ptr @malloc(i64 noundef %101)
store ptr %102, ptr %14, align 8
%103 = load ptr, ptr %14, align 8
%104 = load ptr, ptr %11, align 8
%105 = getelementptr inbounds %struct.dirent, ptr %104, i32 0, i32 0
%106 = load ptr, ptr %105, align 8
%107 = call i64 @strlen(ptr noundef %106)
%108 = load ptr, ptr %12, align 8
%109 = call i64 @strlen(ptr noundef %108)
%110 = add nsw i64 %107, %109
%111 = add nsw i64 %110, 1
%112 = call i32 @memset(ptr noundef %103, i32 noundef 0, i64 noundef %111)
%113 = load ptr, ptr %14, align 8
%114 = load ptr, ptr %11, align 8
%115 = getelementptr inbounds %struct.dirent, ptr %114, i32 0, i32 0
%116 = load ptr, ptr %115, align 8
%117 = load ptr, ptr %12, align 8
%118 = call i32 @sprintf(ptr noundef %113, ptr noundef @.str.4, ptr noundef %116, ptr noundef %117)
br label %121
119: ; preds = %57
br label %120
120: ; preds = %119, %50, %41
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %121
121: ; preds = %.loopexit, %93
%122 = load ptr, ptr %10, align 8
%123 = call i32 @closedir(ptr noundef %122)
%124 = load ptr, ptr %14, align 8
store ptr %124, ptr %5, align 8
br label %125
125: ; preds = %121, %20
%126 = load ptr, ptr %5, align 8
ret ptr %126
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strlwr(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @is_server_exist(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprbw_8tq3.c'
source_filename = "/tmp/tmprbw_8tq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"STATUSMSG\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @irc_server_prefix_char_statusmsg(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%7 = load ptr, ptr %4, align 8
%8 = call ptr @irc_server_get_isupport_value(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %5, align 1
%14 = call i64 @strchr(ptr noundef %12, i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
store i32 %17, ptr %3, align 4
br label %25
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %5, align 1
%21 = call i64 @irc_server_get_prefix_char_index(ptr noundef %19, i8 noundef signext %20)
%22 = icmp sge i64 %21, 0
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 1, i32 0
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %18, %11
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare ptr @irc_server_get_isupport_value(ptr noundef, ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @irc_server_get_prefix_char_index(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprbw_8tq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"STATUSMSG\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @irc_server_prefix_char_statusmsg(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%7 = load ptr, ptr %4, align 8
%8 = call ptr @irc_server_get_isupport_value(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %5, align 1
%14 = call i64 @strchr(ptr noundef %12, i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
store i32 %17, ptr %3, align 4
br label %25
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %5, align 1
%21 = call i64 @irc_server_get_prefix_char_index(ptr noundef %19, i8 noundef signext %20)
%22 = icmp sge i64 %21, 0
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 1, i32 0
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %18, %11
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare ptr @irc_server_get_isupport_value(ptr noundef, ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @irc_server_get_prefix_char_index(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp84uhx_nc.c'
source_filename = "/tmp/tmp84uhx_nc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_and2147483648_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %23, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = sext i32 %15 to i64
%17 = and i64 %16, 2147483648
%18 = trunc i64 %17 to i32
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 %18, ptr %22, align 4
br label %23
23: ; preds = %10
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %6, !llvm.loop !6
26: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84uhx_nc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_and2147483648_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %22
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = sext i32 %14 to i64
%16 = and i64 %15, 2147483648
%17 = trunc i64 %16 to i32
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %17, ptr %21, align 4
br label %22
22: ; preds = %9
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppwvjjfth.c'
source_filename = "/tmp/tmppwvjjfth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@GLOB_BRACE = 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/tmppwvjjfth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@GLOB_BRACE = 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/tmp3m1nnrvw.c'
source_filename = "/tmp/tmp3m1nnrvw.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"ERROR: reading %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_scan(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %21
12: ; preds = %4
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = call i32 @fclose(ptr noundef %16)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fflush(i32 noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %4
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3m1nnrvw.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"ERROR: reading %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_scan(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %21
12: ; preds = %4
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = call i32 @fclose(ptr noundef %16)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fflush(i32 noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %4
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl9gnarm3.c'
source_filename = "/tmp/tmpl9gnarm3.c"
target datalayout = "e-m:e-p270: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/tmpl9gnarm3.c"
target datalayout = "e-m:e-p270: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/tmpb_6vqtfr.c'
source_filename = "/tmp/tmpb_6vqtfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Wrong number of incoming arguments.\0A\00", align 1
@__const.main.sep = private unnamed_addr constant [5 x i8] c" \00\00\00\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"Opening file failure: check if it exists.\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"File is empty.\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%f %[^\0A]\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Wrong time format with %s.\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"%s will be executed in %.3f sec.\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"Fork failure.\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"Can't execute %s, check if it exists.\0A\00", align 1
@.str.9 = private unnamed_addr constant [21 x i8] c"Input/output error.\0A\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"Wrong data in line \E2\84\96%d\0A\00", align 1
@.str.11 = private unnamed_addr constant [8 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 float, align 4
%8 = alloca i32, align 4
%9 = alloca [5 x i8], align 1
%10 = alloca [100 x ptr], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca [4096 x i8], align 16
%15 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp ne i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef -1) #4
unreachable
21: ; preds = %2
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.sep, i64 5, i1 false)
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %13, align 8
%25 = load ptr, ptr %13, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %21
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%31 = call i32 @exit(i32 noundef -1) #4
unreachable
32: ; preds = %21
%33 = load ptr, ptr %6, align 8
%34 = call i32 @getc(ptr noundef %33)
%35 = load i32, ptr @EOF, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%39 = call i32 @exit(i32 noundef -1) #4
unreachable
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = call i32 @rewind(ptr noundef %41)
br label %43
43: ; preds = %127, %40
%44 = load ptr, ptr %6, align 8
%45 = call i32 @feof(ptr noundef %44)
%46 = icmp ne i32 %45, 0
%47 = xor i1 %46, true
br i1 %47, label %48, label %128
48: ; preds = %43
%49 = load i32, ptr %11, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %11, align 4
br label %51
51: ; preds = %108, %61, %48
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%54 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %52, ptr noundef @.str.4, ptr noundef %7, ptr noundef %53)
store i32 %54, ptr %8, align 4
%55 = icmp eq i32 %54, 2
br i1 %55, label %56, label %109
56: ; preds = %51
%57 = load i32, ptr %11, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %11, align 4
%59 = load float, ptr %7, align 4
%60 = fcmp olt float %59, 0.000000e+00
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62)
br label %51, !llvm.loop !6
64: ; preds = %56
%65 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%66 = load float, ptr %7, align 4
%67 = fpext float %66 to double
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %65, double noundef %67)
%69 = call i32 (...) @fork()
store i32 %69, ptr %15, align 4
%70 = load i32, ptr %15, align 4
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %74
72: ; preds = %64
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %108
74: ; preds = %64
%75 = load i32, ptr %15, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %107
77: ; preds = %74
%78 = load float, ptr %7, align 4
%79 = call i32 @sleep(float noundef %78)
store i32 0, ptr %12, align 4
%80 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%81 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0
%82 = call ptr @strtok(ptr noundef %80, ptr noundef %81)
%83 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 0
store ptr %82, ptr %83, align 16
br label %84
84: ; preds = %90, %77
%85 = load i32, ptr %12, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 %86
%88 = load ptr, ptr %87, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %99
90: ; preds = %84
%91 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0
%92 = call ptr @strtok(ptr noundef null, ptr noundef %91)
%93 = load i32, ptr %12, align 4
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 %95
store ptr %92, ptr %96, align 8
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %12, align 4
br label %84, !llvm.loop !8
99: ; preds = %84
%100 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 0
%101 = load ptr, ptr %100, align 16
%102 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 0
%103 = call i32 @execvp(ptr noundef %101, ptr noundef %102)
%104 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %104)
%106 = call i32 @exit(i32 noundef -1) #4
unreachable
107: ; preds = %74
br label %108
108: ; preds = %107, %72
br label %51, !llvm.loop !6
109: ; preds = %51
%110 = load ptr, ptr %6, align 8
%111 = call i64 @ferror(ptr noundef %110)
%112 = icmp ne i64 %111, 0
br i1 %112, label %113, label %117
113: ; preds = %109
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%115 = load i32, ptr %11, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %11, align 4
br label %127
117: ; preds = %109
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr @EOF, align 4
%120 = icmp ne i32 %118, %119
br i1 %120, label %121, label %126
121: ; preds = %117
%122 = load i32, ptr %11, align 4
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %122)
%124 = load ptr, ptr %6, align 8
%125 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %124, ptr noundef @.str.11)
br label %126
126: ; preds = %121, %117
br label %127
127: ; preds = %126, %113
br label %43, !llvm.loop !9
128: ; preds = %43
br label %129
129: ; preds = %132, %128
%130 = call i32 @wait(ptr noundef null)
%131 = icmp ne i32 %130, -1
br i1 %131, label %132, label %133
132: ; preds = %129
br label %129, !llvm.loop !10
133: ; preds = %129
%134 = load ptr, ptr %6, align 8
%135 = call i32 @fclose(ptr noundef %134)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getc(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @fork(...) #1
declare i32 @sleep(float noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpb_6vqtfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Wrong number of incoming arguments.\0A\00", align 1
@__const.main.sep = private unnamed_addr constant [5 x i8] c" \00\00\00\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"Opening file failure: check if it exists.\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"File is empty.\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%f %[^\0A]\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Wrong time format with %s.\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"%s will be executed in %.3f sec.\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"Fork failure.\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"Can't execute %s, check if it exists.\0A\00", align 1
@.str.9 = private unnamed_addr constant [21 x i8] c"Input/output error.\0A\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"Wrong data in line \E2\84\96%d\0A\00", align 1
@.str.11 = private unnamed_addr constant [8 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 float, align 4
%8 = alloca i32, align 4
%9 = alloca [5 x i8], align 1
%10 = alloca [100 x ptr], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca [4096 x i8], align 16
%15 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp ne i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef -1) #4
unreachable
21: ; preds = %2
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.sep, i64 5, i1 false)
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %13, align 8
%25 = load ptr, ptr %13, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %21
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%31 = call i32 @exit(i32 noundef -1) #4
unreachable
32: ; preds = %21
%33 = load ptr, ptr %6, align 8
%34 = call i32 @getc(ptr noundef %33)
%35 = load i32, ptr @EOF, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%39 = call i32 @exit(i32 noundef -1) #4
unreachable
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = call i32 @rewind(ptr noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @feof(ptr noundef %43)
%45 = icmp ne i32 %44, 0
%46 = xor i1 %45, true
br i1 %46, label %.lr.ph2, label %137
.lr.ph2: ; preds = %40
br label %47
47: ; preds = %.lr.ph2, %132
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %11, align 4
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%52 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %50, ptr noundef @.str.4, ptr noundef %7, ptr noundef %51)
store i32 %52, ptr %8, align 4
%53 = icmp eq i32 %52, 2
br i1 %53, label %.lr.ph, label %114
.lr.ph: ; preds = %47
br label %54
54: ; preds = %.lr.ph, %.backedge
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
%57 = load float, ptr %7, align 4
%58 = fcmp olt float %57, 0.000000e+00
br i1 %58, label %59, label %65
59: ; preds = %54
%60 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %60)
br label %.backedge
.backedge: ; preds = %59, %113
%62 = load ptr, ptr %6, align 8
%63 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %62, ptr noundef @.str.4, ptr noundef %7, ptr noundef %51)
store i32 %63, ptr %8, align 4
%64 = icmp eq i32 %63, 2
br i1 %64, label %54, label %._crit_edge, !llvm.loop !6
65: ; preds = %54
%66 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%67 = load float, ptr %7, align 4
%68 = fpext float %67 to double
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %66, double noundef %68)
%70 = call i32 (...) @fork()
store i32 %70, ptr %15, align 4
%71 = load i32, ptr %15, align 4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %75
73: ; preds = %65
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %113
75: ; preds = %65
%76 = load i32, ptr %15, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %112
78: ; preds = %75
%79 = load float, ptr %7, align 4
%80 = call i32 @sleep(float noundef %79)
store i32 0, ptr %12, align 4
%81 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%82 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0
%83 = call ptr @strtok(ptr noundef %81, ptr noundef %82)
%84 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 0
store ptr %83, ptr %84, align 16
%85 = load i32, ptr %12, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 %86
%88 = load ptr, ptr %87, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %.lr.ph5, label %104
.lr.ph5: ; preds = %78
br label %90
90: ; preds = %.lr.ph5, %90
%91 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0
%92 = call ptr @strtok(ptr noundef null, ptr noundef %91)
%93 = load i32, ptr %12, align 4
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 %95
store ptr %92, ptr %96, align 8
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %12, align 4
%99 = load i32, ptr %12, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = icmp ne ptr %102, null
br i1 %103, label %90, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %90
br label %104
104: ; preds = %._crit_edge6, %78
%105 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 0
%106 = load ptr, ptr %105, align 16
%107 = getelementptr inbounds [100 x ptr], ptr %10, i64 0, i64 0
%108 = call i32 @execvp(ptr noundef %106, ptr noundef %107)
%109 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %109)
%111 = call i32 @exit(i32 noundef -1) #4
unreachable
112: ; preds = %75
br label %113
113: ; preds = %112, %73
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %114
114: ; preds = %._crit_edge, %47
%115 = load ptr, ptr %6, align 8
%116 = call i64 @ferror(ptr noundef %115)
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %122
118: ; preds = %114
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%120 = load i32, ptr %11, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %11, align 4
br label %132
122: ; preds = %114
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr @EOF, align 4
%125 = icmp ne i32 %123, %124
br i1 %125, label %126, label %131
126: ; preds = %122
%127 = load i32, ptr %11, align 4
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %127)
%129 = load ptr, ptr %6, align 8
%130 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %129, ptr noundef @.str.11)
br label %131
131: ; preds = %126, %122
br label %132
132: ; preds = %131, %118
%133 = load ptr, ptr %6, align 8
%134 = call i32 @feof(ptr noundef %133)
%135 = icmp ne i32 %134, 0
%136 = xor i1 %135, true
br i1 %136, label %47, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %132
br label %137
137: ; preds = %._crit_edge3, %40
br label %138
138: ; preds = %138, %137
%139 = call i32 @wait(ptr noundef null)
%140 = icmp ne i32 %139, -1
br i1 %140, label %138, label %141, !llvm.loop !10
141: ; preds = %138
%142 = load ptr, ptr %6, align 8
%143 = call i32 @fclose(ptr noundef %142)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getc(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @fork(...) #1
declare i32 @sleep(float noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpt33iplf4.c'
source_filename = "/tmp/tmpt33iplf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @Cat2Str(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i64, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i64 @snprintf(ptr noundef %9, i64 noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12)
%14 = icmp slt i64 0, %13
%15 = zext i1 %14 to i32
%16 = sext i32 %15 to i64
ret i64 %16
}
declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt33iplf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @Cat2Str(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i64, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i64 @snprintf(ptr noundef %9, i64 noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12)
%14 = icmp slt i64 0, %13
%15 = zext i1 %14 to i32
%16 = sext i32 %15 to i64
ret i64 %16
}
declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxi_er8x5.c'
source_filename = "/tmp/tmpxi_er8x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumRange(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @prefixSum(ptr noundef %12, i32 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @prefixSum(ptr noundef %15, i32 noundef %17)
%19 = sub nsw i32 %14, %18
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
ret i32 %20
}
declare i32 @prefixSum(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/tmpxi_er8x5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumRange(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @prefixSum(ptr noundef %12, i32 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @prefixSum(ptr noundef %15, i32 noundef %17)
%19 = sub nsw i32 %14, %18
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
ret i32 %20
}
declare i32 @prefixSum(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/tmpbcaqqd7l.c'
source_filename = "/tmp/tmpbcaqqd7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbcaqqd7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5zscwik.c'
source_filename = "/tmp/tmpr5zscwik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [30 x i8] c"%.2i/%.2i/%.4i %.2i:%.2i:%.2i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getTimeStamp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %44
7: ; preds = %1
store ptr null, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 20)
%10 = call i32 @time(ptr noundef %4)
%11 = call ptr @localtime(ptr noundef %4)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %43
14: ; preds = %7
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %16, align 4
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = add nsw i32 %21, 1900
store i32 %22, ptr %20, align 4
%23 = load ptr, ptr %2, align 8
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 2
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds %struct.tm, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.tm, ptr %30, i32 0, i32 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 3
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds %struct.tm, ptr %36, i32 0, i32 4
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds %struct.tm, ptr %39, i32 0, i32 5
%41 = load i32, ptr %40, align 4
%42 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str, i32 noundef %26, i32 noundef %29, i32 noundef %32, i32 noundef %35, i32 noundef %38, i32 noundef %41)
br label %43
43: ; preds = %14, %7
br label %44
44: ; preds = %43, %1
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5zscwik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [30 x i8] c"%.2i/%.2i/%.4i %.2i:%.2i:%.2i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getTimeStamp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %44
7: ; preds = %1
store ptr null, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 20)
%10 = call i32 @time(ptr noundef %4)
%11 = call ptr @localtime(ptr noundef %4)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %43
14: ; preds = %7
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %16, align 4
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 1
%21 = load i32, ptr %20, align 4
%22 = add nsw i32 %21, 1900
store i32 %22, ptr %20, align 4
%23 = load ptr, ptr %2, align 8
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 2
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds %struct.tm, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.tm, ptr %30, i32 0, i32 1
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds %struct.tm, ptr %33, i32 0, i32 3
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds %struct.tm, ptr %36, i32 0, i32 4
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds %struct.tm, ptr %39, i32 0, i32 5
%41 = load i32, ptr %40, align 4
%42 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str, i32 noundef %26, i32 noundef %29, i32 noundef %32, i32 noundef %35, i32 noundef %38, i32 noundef %41)
br label %43
43: ; preds = %14, %7
br label %44
44: ; preds = %43, %1
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph5fi10xt.c'
source_filename = "/tmp/tmph5fi10xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Error dat is null, num:%d, ln:%d, file:%s \0A\00", align 1
@.str.1 = private unnamed_addr constant [185 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Chalearm/MachineLearning-/refs/heads/master/mProject/library_jui/dataStruct/src/basicVarArea.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initialDoubleArea(ptr noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %28
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %10
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %24, %13
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = load double, ptr %5, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
store double %19, ptr %23, align 8
br label %24
24: ; preds = %18
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %14, !llvm.loop !6
27: ; preds = %14
br label %31
28: ; preds = %10, %3
%29 = load i32, ptr %6, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29, i32 noundef 378, ptr noundef @.str.1)
br label %31
31: ; preds = %28, %27
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph5fi10xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Error dat is null, num:%d, ln:%d, file:%s \0A\00", align 1
@.str.1 = private unnamed_addr constant [185 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Chalearm/MachineLearning-/refs/heads/master/mProject/library_jui/dataStruct/src/basicVarArea.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initialDoubleArea(ptr noundef %0, double noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %30
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %30
13: ; preds = %10
store i32 0, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %23
%18 = load double, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
store double %18, ptr %22, align 8
br label %23
23: ; preds = %17
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %13
br label %33
30: ; preds = %10, %3
%31 = load i32, ptr %6, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef 378, ptr noundef @.str.1)
br label %33
33: ; preds = %30, %29
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv4_n8gnh.c'
source_filename = "/tmp/tmpv4_n8gnh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
br label %8
8: ; preds = %19, %2
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %3, align 8
%11 = ptrtoint ptr %9 to i64
%12 = ptrtoint ptr %10 to i64
%13 = sub i64 %11, %12
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = icmp slt i64 %13, %16
br i1 %17, label %18, label %22
18: ; preds = %8
br label %19
19: ; preds = %18
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %6, align 8
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
store i8 %24, ptr %5, align 1
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26)
br label %28
28: ; preds = %32, %22
%29 = load ptr, ptr %3, align 8
%30 = load i8, ptr %29, align 1
%31 = icmp ne i8 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %3, align 8
br label %28, !llvm.loop !8
35: ; preds = %28
%36 = load i8, ptr %5, align 1
%37 = load ptr, ptr %3, align 8
store i8 %36, ptr %37, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv4_n8gnh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = load ptr, ptr %3, align 8
%10 = ptrtoint ptr %8 to i64
%11 = ptrtoint ptr %9 to i64
%12 = sub i64 %10, %11
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = sext i32 %14 to i64
%16 = icmp slt i64 %12, %15
br i1 %16, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %18
br label %18
18: ; preds = %17
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %3, align 8
%23 = ptrtoint ptr %21 to i64
%24 = ptrtoint ptr %22 to i64
%25 = sub i64 %23, %24
%26 = load ptr, ptr %4, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %25, %28
br i1 %29, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
store i8 %32, ptr %5, align 1
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %4, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %.lr.ph2, label %45
.lr.ph2: ; preds = %30
br label %39
39: ; preds = %.lr.ph2, %39
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %3, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %30
%46 = load i8, ptr %5, align 1
%47 = load ptr, ptr %3, align 8
store i8 %46, ptr %47, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnvdxf3jt.c'
source_filename = "/tmp/tmpnvdxf3jt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prep_list(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = add i32 %8, 1
%10 = zext i32 %9 to i64
%11 = mul i64 4, %10
%12 = trunc i64 %11 to i32
%13 = call i32 @bzero(ptr noundef %6, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
store i32 1, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
store i32 1, ptr %19, align 4
ret void
}
declare i32 @bzero(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/tmpnvdxf3jt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prep_list(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = add i32 %8, 1
%10 = zext i32 %9 to i64
%11 = mul i64 4, %10
%12 = trunc i64 %11 to i32
%13 = call i32 @bzero(ptr noundef %6, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 0
store i32 1, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
store i32 1, ptr %19, align 4
ret void
}
declare i32 @bzero(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/tmps4d_ojm4.c'
source_filename = "/tmp/tmps4d_ojm4.c"
target datalayout = "e-m:e-p270: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.v4l2_format = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"======== V4L2 Format ========\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"type : %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"width : %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"height : %u\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"pixelformat : %u\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"field : %u\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"bytesperline : %u\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"sizeimage : %u\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"colorspace : %u\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"priv : %u\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"flags : %u\0A\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c"ycbcr_enc : %u\0A\00", align 1
@.str.12 = private unnamed_addr constant [24 x i8] c"quantization : %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowV4L2Format(ptr noundef byval(%struct.v4l2_format) align 8 %0) #0 {
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 0
%4 = load i32, ptr %3, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14)
%16 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i32 0, i32 0
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i32 0, i32 2
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19)
%21 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %21, i32 0, i32 0
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 3
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24)
%26 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%27 = getelementptr inbounds %struct.TYPE_4__, ptr %26, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 4
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %29)
%31 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_4__, ptr %31, i32 0, i32 0
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i32 0, i32 5
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %34)
%36 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i32 0, i32 0
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 6
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %39)
%41 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%42 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i32 0, i32 0
%43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 7
%44 = load i32, ptr %43, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %44)
%46 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%47 = getelementptr inbounds %struct.TYPE_4__, ptr %46, i32 0, i32 0
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 8
%49 = load i32, ptr %48, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %49)
%51 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %51, i32 0, i32 0
%53 = getelementptr inbounds %struct.TYPE_3__, ptr %52, i32 0, i32 9
%54 = load i32, ptr %53, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %54)
%56 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%57 = getelementptr inbounds %struct.TYPE_4__, ptr %56, i32 0, i32 0
%58 = getelementptr inbounds %struct.TYPE_3__, ptr %57, i32 0, i32 10
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %59)
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/tmps4d_ojm4.c"
target datalayout = "e-m:e-p270: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.v4l2_format = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"======== V4L2 Format ========\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"type : %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"width : %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"height : %u\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"pixelformat : %u\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"field : %u\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"bytesperline : %u\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"sizeimage : %u\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"colorspace : %u\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"priv : %u\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"flags : %u\0A\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c"ycbcr_enc : %u\0A\00", align 1
@.str.12 = private unnamed_addr constant [24 x i8] c"quantization : %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowV4L2Format(ptr noundef byval(%struct.v4l2_format) align 8 %0) #0 {
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 0
%4 = load i32, ptr %3, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14)
%16 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i32 0, i32 0
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i32 0, i32 2
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19)
%21 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %21, i32 0, i32 0
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 3
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24)
%26 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%27 = getelementptr inbounds %struct.TYPE_4__, ptr %26, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 4
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %29)
%31 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_4__, ptr %31, i32 0, i32 0
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i32 0, i32 5
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %34)
%36 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i32 0, i32 0
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 6
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %39)
%41 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%42 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i32 0, i32 0
%43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 7
%44 = load i32, ptr %43, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %44)
%46 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%47 = getelementptr inbounds %struct.TYPE_4__, ptr %46, i32 0, i32 0
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 8
%49 = load i32, ptr %48, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %49)
%51 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %51, i32 0, i32 0
%53 = getelementptr inbounds %struct.TYPE_3__, ptr %52, i32 0, i32 9
%54 = load i32, ptr %53, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %54)
%56 = getelementptr inbounds %struct.v4l2_format, ptr %0, i32 0, i32 1
%57 = getelementptr inbounds %struct.TYPE_4__, ptr %56, i32 0, i32 0
%58 = getelementptr inbounds %struct.TYPE_3__, ptr %57, i32 0, i32 10
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %59)
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/tmpbczz030_.c'
source_filename = "/tmp/tmpbczz030_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"Bitte den Verbrauch in Litern f\C3\BCr 100km angeben: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Bitte die gefahrenen km angeben: \00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Auf %.2fkm ben\C3\B6tigt Ihr Auto: %.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @setbuf(i32 noundef %5, ptr noundef null)
store float 0.000000e+00, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load float, ptr %2, align 4
%12 = fdiv float %11, 1.000000e+02
%13 = load float, ptr %3, align 4
%14 = fmul float %12, %13
store float %14, ptr %4, align 4
%15 = load float, ptr %3, align 4
%16 = fpext float %15 to double
%17 = load float, ptr %4, align 4
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16, double noundef %18)
ret i32 0
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbczz030_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"Bitte den Verbrauch in Litern f\C3\BCr 100km angeben: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Bitte die gefahrenen km angeben: \00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Auf %.2fkm ben\C3\B6tigt Ihr Auto: %.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @setbuf(i32 noundef %5, ptr noundef null)
store float 0.000000e+00, ptr %2, align 4
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load float, ptr %2, align 4
%12 = fdiv float %11, 1.000000e+02
%13 = load float, ptr %3, align 4
%14 = fmul float %12, %13
store float %14, ptr %4, align 4
%15 = load float, ptr %3, align 4
%16 = fpext float %15 to double
%17 = load float, ptr %4, align 4
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16, double noundef %18)
ret i32 0
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm87tjmxb.c'
source_filename = "/tmp/tmpm87tjmxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"a[%d] = [%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %4, align 8
%9 = alloca i32, i64 %7, align 16
store i64 %7, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
store i32 1, ptr %10, align 16
store i32 1, ptr %3, align 4
br label %11
11: ; preds = %27, %0
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %30
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %9, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 0, %21
%23 = mul nsw i32 %20, %22
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %9, i64 %25
store i32 %23, ptr %26, align 4
br label %27
27: ; preds = %15
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %11, !llvm.loop !6
30: ; preds = %11
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %49, %30
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %52
35: ; preds = %31
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %9, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %35
br label %49
42: ; preds = %35
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %9, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 @printf(ptr noundef @.str, i32 noundef %43, i32 noundef %47)
br label %49
49: ; preds = %42, %41
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %3, align 4
br label %31, !llvm.loop !8
52: ; preds = %31
store i32 0, ptr %1, align 4
%53 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %53)
%54 = load i32, ptr %1, align 4
ret i32 %54
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm87tjmxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"a[%d] = [%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %4, align 8
%9 = alloca i32, i64 %7, align 16
store i64 %7, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
store i32 1, ptr %10, align 16
store i32 1, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %26
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %9, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 0, %20
%22 = mul nsw i32 %19, %21
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %9, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %14
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %56
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %50
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %9, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %36
br label %50
43: ; preds = %36
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %9, i64 %46
%48 = load i32, ptr %47, align 4
%49 = call i32 @printf(ptr noundef @.str, i32 noundef %44, i32 noundef %48)
br label %50
50: ; preds = %43, %42
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %32
store i32 0, ptr %1, align 4
%57 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %57)
%58 = load i32, ptr %1, align 4
ret i32 %58
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpv3cqt96o.c'
source_filename = "/tmp/tmpv3cqt96o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opdi_string_cmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strcmp(ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = load i32, ptr %6, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, ptr %3, align 4
br label %18
17: ; preds = %13
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %17, %16, %12
%19 = load i32, ptr %3, align 4
ret i32 %19
}
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/tmpv3cqt96o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opdi_string_cmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strcmp(ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = load i32, ptr %6, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, ptr %3, align 4
br label %18
17: ; preds = %13
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %17, %16, %12
%19 = load i32, ptr %3, align 4
ret i32 %19
}
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/tmpldbjtdrn.c'
source_filename = "/tmp/tmpldbjtdrn.c"
target datalayout = "e-m:e-p270: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/tmpldbjtdrn.c"
target datalayout = "e-m:e-p270: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/tmpkeem7d8h.c'
source_filename = "/tmp/tmpkeem7d8h.c"
target datalayout = "e-m:e-p270: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/tmpkeem7d8h.c"
target datalayout = "e-m:e-p270: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/tmp8imz172f.c'
source_filename = "/tmp/tmp8imz172f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %3
br label %85
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %6, align 4
store i32 %21, ptr %9, align 4
br label %22
22: ; preds = %71, %14
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %72
26: ; preds = %22
br label %27
27: ; preds = %41, %26
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %39
35: ; preds = %27
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %36, %37
br label %39
39: ; preds = %35, %27
%40 = phi i1 [ false, %27 ], [ %38, %35 ]
br i1 %40, label %41, label %44
41: ; preds = %39
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %9, align 4
br label %27, !llvm.loop !6
44: ; preds = %39
br label %45
45: ; preds = %59, %44
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %53, label %57
53: ; preds = %45
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp slt i32 %54, %55
br label %57
57: ; preds = %53, %45
%58 = phi i1 [ false, %45 ], [ %56, %53 ]
br i1 %58, label %59, label %62
59: ; preds = %57
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
br label %45, !llvm.loop !8
62: ; preds = %57
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %66, label %71
66: ; preds = %62
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %8, align 4
%69 = load i32, ptr %9, align 4
%70 = call i32 @itoj(ptr noundef %67, i32 noundef %68, i32 noundef %69)
br label %71
71: ; preds = %66, %62
br label %22, !llvm.loop !9
72: ; preds = %22
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %8, align 4
%76 = call i32 @itoj(ptr noundef %73, i32 noundef %74, i32 noundef %75)
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr %8, align 4
%80 = sub nsw i32 %79, 1
call void @quick_sort(ptr noundef %77, i32 noundef %78, i32 noundef %80)
%81 = load ptr, ptr %4, align 8
%82 = load i32, ptr %8, align 4
%83 = add nsw i32 %82, 1
%84 = load i32, ptr %6, align 4
call void @quick_sort(ptr noundef %81, i32 noundef %83, i32 noundef %84)
br label %85
85: ; preds = %72, %13
ret void
}
declare i32 @itoj(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8imz172f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %3
br label %87
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %6, align 4
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %74
.lr.ph: ; preds = %14
br label %25
25: ; preds = %.lr.ph, %70
br label %26
26: ; preds = %40, %25
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sge i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %26
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br label %38
38: ; preds = %34, %26
%39 = phi i1 [ false, %26 ], [ %37, %34 ]
br i1 %39, label %40, label %43
40: ; preds = %38
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %9, align 4
br label %26, !llvm.loop !6
43: ; preds = %38
br label %44
44: ; preds = %58, %43
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %52, label %56
52: ; preds = %44
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %9, align 4
%55 = icmp slt i32 %53, %54
br label %56
56: ; preds = %52, %44
%57 = phi i1 [ false, %44 ], [ %55, %52 ]
br i1 %57, label %58, label %61
58: ; preds = %56
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %8, align 4
br label %44, !llvm.loop !8
61: ; preds = %56
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp sgt i32 %62, %63
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %9, align 4
%69 = call i32 @itoj(ptr noundef %66, i32 noundef %67, i32 noundef %68)
br label %70
70: ; preds = %65, %61
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %9, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %25, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %70
br label %74
74: ; preds = %._crit_edge, %14
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %5, align 4
%77 = load i32, ptr %8, align 4
%78 = call i32 @itoj(ptr noundef %75, i32 noundef %76, i32 noundef %77)
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %5, align 4
%81 = load i32, ptr %8, align 4
%82 = sub nsw i32 %81, 1
call void @quick_sort(ptr noundef %79, i32 noundef %80, i32 noundef %82)
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %8, align 4
%85 = add nsw i32 %84, 1
%86 = load i32, ptr %6, align 4
call void @quick_sort(ptr noundef %83, i32 noundef %85, i32 noundef %86)
br label %87
87: ; preds = %74, %13
ret void
}
declare i32 @itoj(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpomoejued.c'
source_filename = "/tmp/tmpomoejued.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"c\00", align 1
@S_IFCHR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@S_IFBLK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"mknod\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Wrong arguments number\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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 5
br i1 %12, label %13, label %52
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %8, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i32 1
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %9, align 4
store i32 0, ptr %10, align 4
%28 = load ptr, ptr %7, align 8
%29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str)
%30 = icmp ne i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %13
%32 = load i32, ptr @S_IFCHR, align 4
store i32 %32, ptr %10, align 4
br label %40
33: ; preds = %13
%34 = load ptr, ptr %7, align 8
%35 = call i32 @strcmp(ptr noundef %34, ptr noundef @.str.1)
%36 = icmp ne i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = load i32, ptr @S_IFBLK, align 4
store i32 %38, ptr %10, align 4
br label %39
39: ; preds = %37, %33
br label %40
40: ; preds = %39, %31
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %8, align 4
%44 = shl i32 %43, 8
%45 = load i32, ptr %9, align 4
%46 = or i32 %44, %45
%47 = call i64 @mknod(ptr noundef %41, i32 noundef %42, i32 noundef %46)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %40
%50 = call i32 @perror(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %40
br label %54
52: ; preds = %2
%53 = call i32 @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %51
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @atoi(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpomoejued.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"c\00", align 1
@S_IFCHR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@S_IFBLK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"mknod\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Wrong arguments number\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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 5
br i1 %12, label %13, label %52
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %8, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i32 1
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %9, align 4
store i32 0, ptr %10, align 4
%28 = load ptr, ptr %7, align 8
%29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str)
%30 = icmp ne i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %13
%32 = load i32, ptr @S_IFCHR, align 4
store i32 %32, ptr %10, align 4
br label %40
33: ; preds = %13
%34 = load ptr, ptr %7, align 8
%35 = call i32 @strcmp(ptr noundef %34, ptr noundef @.str.1)
%36 = icmp ne i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = load i32, ptr @S_IFBLK, align 4
store i32 %38, ptr %10, align 4
br label %39
39: ; preds = %37, %33
br label %40
40: ; preds = %39, %31
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %8, align 4
%44 = shl i32 %43, 8
%45 = load i32, ptr %9, align 4
%46 = or i32 %44, %45
%47 = call i64 @mknod(ptr noundef %41, i32 noundef %42, i32 noundef %46)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %40
%50 = call i32 @perror(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %40
br label %54
52: ; preds = %2
%53 = call i32 @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %51
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @atoi(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(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"}
|
; ModuleID = '/tmp/tmpnrk43e4z.c'
source_filename = "/tmp/tmpnrk43e4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_c(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i64 @n_digits(ptr noundef %8, i32 noundef %9, i32 noundef %10)
%12 = icmp sgt i64 %11, 0
br i1 %12, label %13, label %30
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @ahead_c(ptr noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
%21 = load i32, ptr %6, align 4
%22 = call i32 @ahead_c(ptr noundef %18, i32 noundef %20, i32 noundef %21)
%23 = icmp sgt i32 %17, %22
br i1 %23, label %24, label %29
24: ; preds = %13
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @ahead_c(ptr noundef %25, i32 noundef %26, i32 noundef %27)
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %24, %13
br label %30
30: ; preds = %29, %3
%31 = load i32, ptr %7, align 4
ret i32 %31
}
declare i64 @n_digits(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ahead_c(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnrk43e4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_c(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = call i64 @n_digits(ptr noundef %8, i32 noundef %9, i32 noundef %10)
%12 = icmp sgt i64 %11, 0
br i1 %12, label %13, label %30
13: ; preds = %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @ahead_c(ptr noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
%21 = load i32, ptr %6, align 4
%22 = call i32 @ahead_c(ptr noundef %18, i32 noundef %20, i32 noundef %21)
%23 = icmp sgt i32 %17, %22
br i1 %23, label %24, label %29
24: ; preds = %13
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @ahead_c(ptr noundef %25, i32 noundef %26, i32 noundef %27)
store i32 %28, ptr %7, align 4
br label %29
29: ; preds = %24, %13
br label %30
30: ; preds = %29, %3
%31 = load i32, ptr %7, align 4
ret i32 %31
}
declare i64 @n_digits(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ahead_c(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5pb_dnh.c'
source_filename = "/tmp/tmpu5pb_dnh.c"
target datalayout = "e-m:e-p270: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/tmpu5pb_dnh.c"
target datalayout = "e-m:e-p270: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/tmptqjqz5bm.c'
source_filename = "/tmp/tmptqjqz5bm.c"
target datalayout = "e-m:e-p270: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 [58 x i8] c"Usage: sel_ldr test_rewind.nexe path/to/test_rewind_data\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"test\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 [64 x i8], align 16
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 2, %10
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %50
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr null, %20
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
store i32 0, ptr %9, align 4
br label %24
24: ; preds = %46, %15
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %25, 8
br i1 %26, label %27, label %49
27: ; preds = %24
%28 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%29 = load ptr, ptr %6, align 8
%30 = call i32 @fread(ptr noundef %28, i32 noundef 1, i32 noundef 64, ptr noundef %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 0, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %36
store i8 0, ptr %37, align 1
%38 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.2)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp eq i32 0, %40
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = call i32 @rewind(ptr noundef %44)
br label %46
46: ; preds = %27
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
br label %24, !llvm.loop !6
49: ; preds = %24
store i32 0, ptr %3, align 4
br label %50
50: ; preds = %49, %12
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptqjqz5bm.c"
target datalayout = "e-m:e-p270: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 [58 x i8] c"Usage: sel_ldr test_rewind.nexe path/to/test_rewind_data\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"test\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 [64 x i8], align 16
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 2, %10
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %51
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr null, %20
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
store i32 0, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %24, 8
br i1 %25, label %.lr.ph, label %50
.lr.ph: ; preds = %15
br label %26
26: ; preds = %.lr.ph, %45
%27 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%28 = load ptr, ptr %6, align 8
%29 = call i32 @fread(ptr noundef %27, i32 noundef 1, i32 noundef 64, ptr noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 0, %30
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %35
store i8 0, ptr %36, align 1
%37 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.2)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp eq i32 0, %39
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @rewind(ptr noundef %43)
br label %45
45: ; preds = %26
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 8
br i1 %49, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %50
50: ; preds = %._crit_edge, %15
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %50, %12
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpiigrwwft.c'
source_filename = "/tmp/tmpiigrwwft.c"
target datalayout = "e-m:e-p270: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/tmpiigrwwft.c"
target datalayout = "e-m:e-p270: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/tmp6j3zfeza.c'
source_filename = "/tmp/tmp6j3zfeza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"========== PRIKLAD 3 ==========\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Zadejte text pro priklad 3: \00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Zadejte pismeno pro hledani v textu: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Pismeno nalezeno %dx\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"========== KONEC PRIKLADU 3 ==========\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @priklad_tri() #0 {
%1 = alloca i8, align 1
%2 = alloca [100 x i8], align 16
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @gets(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %1)
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = load i8, ptr %1, align 1
%11 = call i32 @CetnostZn(ptr noundef %9, i8 noundef signext %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @CetnostZn(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6j3zfeza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"========== PRIKLAD 3 ==========\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Zadejte text pro priklad 3: \00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Zadejte pismeno pro hledani v textu: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Pismeno nalezeno %dx\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"========== KONEC PRIKLADU 3 ==========\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @priklad_tri() #0 {
%1 = alloca i8, align 1
%2 = alloca [100 x i8], align 16
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @gets(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %1)
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = load i8, ptr %1, align 1
%11 = call i32 @CetnostZn(ptr noundef %9, i8 noundef signext %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @CetnostZn(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2bagz7hg.c'
source_filename = "/tmp/tmp2bagz7hg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello world.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2bagz7hg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello world.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzjv0iquq.c'
source_filename = "/tmp/tmpzjv0iquq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @percent_unoccupied(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fragmentation_level(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @total_block_size(ptr noundef %9, i32 noundef 0)
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @average_block_size(ptr noundef %11, i32 noundef 1)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %13, %14
%16 = sitofp i32 %15 to float
%17 = load i32, ptr %4, align 4
%18 = sitofp i32 %17 to float
%19 = fdiv float %16, %18
%20 = fpext float %19 to double
%21 = fsub double 1.000000e+00, %20
%22 = fmul double 1.000000e+02, %21
%23 = fptrunc double %22 to float
store float %23, ptr %6, align 4
%24 = load float, ptr %6, align 4
ret float %24
}
declare i32 @fragmentation_level(ptr noundef) #1
declare i32 @total_block_size(ptr noundef, i32 noundef) #1
declare i32 @average_block_size(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/tmpzjv0iquq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @percent_unoccupied(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fragmentation_level(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @total_block_size(ptr noundef %9, i32 noundef 0)
store i32 %10, ptr %4, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @average_block_size(ptr noundef %11, i32 noundef 1)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %13, %14
%16 = sitofp i32 %15 to float
%17 = load i32, ptr %4, align 4
%18 = sitofp i32 %17 to float
%19 = fdiv float %16, %18
%20 = fpext float %19 to double
%21 = fsub double 1.000000e+00, %20
%22 = fmul double 1.000000e+02, %21
%23 = fptrunc double %22 to float
store float %23, ptr %6, align 4
%24 = load float, ptr %6, align 4
ret float %24
}
declare i32 @fragmentation_level(ptr noundef) #1
declare i32 @total_block_size(ptr noundef, i32 noundef) #1
declare i32 @average_block_size(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/tmpjce0ag08.c'
source_filename = "/tmp/tmpjce0ag08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [6 x i8] c"ERROR\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"+CME ERROR:\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"+CMS ERROR:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @at_recv(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
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %9
9: ; preds = %86, %44, %30, %16, %2
%10 = load ptr, ptr %3, align 8
%11 = call i32 @getline(ptr noundef %5, ptr noundef %6, ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %13, label %89
13: ; preds = %9
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %13
br label %9, !llvm.loop !6
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %31
26: ; preds = %17
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %8, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %26
br label %9, !llvm.loop !6
31: ; preds = %26, %17
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 13
br i1 %39, label %40, label %45
40: ; preds = %31
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %8, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %40
br label %9, !llvm.loop !6
45: ; preds = %40, %31
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds i8, ptr %46, i64 %49
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %5, align 8
%52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %45
br label %89
55: ; preds = %45
%56 = load ptr, ptr %5, align 8
%57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.1)
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %55
%60 = load ptr, ptr %5, align 8
%61 = call i32 @strncmp(ptr noundef %60, ptr noundef @.str.2, i32 noundef 10)
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %59
%64 = load ptr, ptr %5, align 8
%65 = call i32 @strncmp(ptr noundef %64, ptr noundef @.str.3, i32 noundef 10)
%66 = icmp ne i32 %65, 0
br i1 %66, label %68, label %67
67: ; preds = %63, %59, %55
store i64 -1, ptr %7, align 8
br label %89
68: ; preds = %63
%69 = load ptr, ptr %4, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %86
71: ; preds = %68
%72 = load i64, ptr %7, align 8
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 -1
store i8 32, ptr %76, align 1
br label %77
77: ; preds = %74, %71
%78 = load ptr, ptr %4, align 8
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %8, align 4
%81 = call i32 @memcpy(ptr noundef %78, ptr noundef %79, i32 noundef %80)
%82 = load i32, ptr %8, align 4
%83 = load ptr, ptr %4, align 8
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds i8, ptr %83, i64 %84
store ptr %85, ptr %4, align 8
br label %86
86: ; preds = %77, %68
%87 = load i64, ptr %7, align 8
%88 = add i64 %87, 1
store i64 %88, ptr %7, align 8
br label %9, !llvm.loop !6
89: ; preds = %67, %54, %9
%90 = load ptr, ptr %5, align 8
%91 = call i32 @free(ptr noundef %90)
%92 = load i64, ptr %7, align 8
%93 = trunc i64 %92 to i32
ret i32 %93
}
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjce0ag08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [6 x i8] c"ERROR\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"+CME ERROR:\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"+CMS ERROR:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @at_recv(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
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @getline(ptr noundef %5, ptr noundef %6, ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = icmp ne i32 %10, -1
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %.backedge
%13 = load i32, ptr %8, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %12
br label %.backedge
.backedge: ; preds = %15, %32, %46, %88
%16 = load ptr, ptr %3, align 8
%17 = call i32 @getline(ptr noundef %5, ptr noundef %6, ptr noundef %16)
store i32 %17, ptr %8, align 4
%18 = icmp ne i32 %17, -1
br i1 %18, label %12, label %..loopexit_crit_edge, !llvm.loop !6
19: ; preds = %12
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br i1 %27, label %28, label %33
28: ; preds = %19
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %8, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
br label %.backedge
33: ; preds = %28, %19
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 13
br i1 %41, label %42, label %47
42: ; preds = %33
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %8, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
br label %.backedge
47: ; preds = %42, %33
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = sext i32 %49 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store i8 0, ptr %52, align 1
%53 = load ptr, ptr %5, align 8
%54 = call i32 @strcmp(ptr noundef %53, ptr noundef @.str)
%55 = icmp ne i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %47
br label %91
57: ; preds = %47
%58 = load ptr, ptr %5, align 8
%59 = call i32 @strcmp(ptr noundef %58, ptr noundef @.str.1)
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %69
61: ; preds = %57
%62 = load ptr, ptr %5, align 8
%63 = call i32 @strncmp(ptr noundef %62, ptr noundef @.str.2, i32 noundef 10)
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load ptr, ptr %5, align 8
%67 = call i32 @strncmp(ptr noundef %66, ptr noundef @.str.3, i32 noundef 10)
%68 = icmp ne i32 %67, 0
br i1 %68, label %70, label %69
69: ; preds = %65, %61, %57
store i64 -1, ptr %7, align 8
br label %91
70: ; preds = %65
%71 = load ptr, ptr %4, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %88
73: ; preds = %70
%74 = load i64, ptr %7, align 8
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 -1
store i8 32, ptr %78, align 1
br label %79
79: ; preds = %76, %73
%80 = load ptr, ptr %4, align 8
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %8, align 4
%83 = call i32 @memcpy(ptr noundef %80, ptr noundef %81, i32 noundef %82)
%84 = load i32, ptr %8, align 4
%85 = load ptr, ptr %4, align 8
%86 = sext i32 %84 to i64
%87 = getelementptr inbounds i8, ptr %85, i64 %86
store ptr %87, ptr %4, align 8
br label %88
88: ; preds = %79, %70
%89 = load i64, ptr %7, align 8
%90 = add i64 %89, 1
store i64 %90, ptr %7, align 8
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %91
91: ; preds = %.loopexit, %69, %56
%92 = load ptr, ptr %5, align 8
%93 = call i32 @free(ptr noundef %92)
%94 = load i64, ptr %7, align 8
%95 = trunc i64 %94 to i32
ret i32 %95
}
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgk7bthqk.c'
source_filename = "/tmp/tmpgk7bthqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"TimeJulianToYMDHMS\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Tval: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Time: %.4d-%.2d-%.2d %.2d:%.2d:%.2d\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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 0x4142B61200000000, ptr %12, align 8
%13 = load double, ptr %12, align 8
%14 = call i32 @TimeJulianToYMDHMS(double noundef %13, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load i32, ptr @stdout, align 4
%18 = load double, ptr %12, align 8
%19 = fptosi double %18 to i32
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1, i32 noundef %19)
%21 = load i32, ptr @stdout, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %10, align 4
%27 = load double, ptr %11, align 8
%28 = fptosi double %27 to i32
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %28)
ret i32 0
}
declare i32 @TimeJulianToYMDHMS(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmpgk7bthqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"TimeJulianToYMDHMS\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Tval: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Time: %.4d-%.2d-%.2d %.2d:%.2d:%.2d\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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 0x4142B61200000000, ptr %12, align 8
%13 = load double, ptr %12, align 8
%14 = call i32 @TimeJulianToYMDHMS(double noundef %13, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load i32, ptr @stdout, align 4
%18 = load double, ptr %12, align 8
%19 = fptosi double %18 to i32
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1, i32 noundef %19)
%21 = load i32, ptr @stdout, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %10, align 4
%27 = load double, ptr %11, align 8
%28 = fptosi double %27 to i32
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %28)
ret i32 0
}
declare i32 @TimeJulianToYMDHMS(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmpuz2njyrf.c'
source_filename = "/tmp/tmpuz2njyrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %7
7: ; preds = %20, %1
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %8, 1000000000
br i1 %9, label %10, label %23
10: ; preds = %7
br label %11
11: ; preds = %13, %10
%12 = call i32 @_rdrand64_step(ptr noundef %5)
store i32 %12, ptr %6, align 4
br label %13
13: ; preds = %11
%14 = load i32, ptr %6, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %11, label %16, !llvm.loop !6
16: ; preds = %13
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %3, align 8
%19 = add i64 %18, %17
store i64 %19, ptr %3, align 8
br label %20
20: ; preds = %16
%21 = load i64, ptr %4, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %4, align 8
br label %7, !llvm.loop !8
23: ; preds = %7
%24 = load i64, ptr %3, align 8
%25 = inttoptr i64 %24 to ptr
ret ptr %25
}
declare i32 @_rdrand64_step(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuz2njyrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %7, 1000000000
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %19
br label %10
10: ; preds = %12, %9
%11 = call i32 @_rdrand64_step(ptr noundef %5)
store i32 %11, ptr %6, align 4
br label %12
12: ; preds = %10
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %10, label %15, !llvm.loop !6
15: ; preds = %12
%16 = load i64, ptr %5, align 8
%17 = load i64, ptr %3, align 8
%18 = add i64 %17, %16
store i64 %18, ptr %3, align 8
br label %19
19: ; preds = %15
%20 = load i64, ptr %4, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %4, align 8
%22 = load i64, ptr %4, align 8
%23 = icmp ult i64 %22, 1000000000
br i1 %23, label %9, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %1
%25 = load i64, ptr %3, align 8
%26 = inttoptr i64 %25 to ptr
ret ptr %26
}
declare i32 @_rdrand64_step(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7o2d_3wg.c'
source_filename = "/tmp/tmp7o2d_3wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Please enter the filename \0D\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @doTest(ptr noundef %15)
%17 = call i32 (...) @getuid()
%18 = call i32 @setuid(i32 noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @doTest(ptr noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %11, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef) #1
declare i32 @doTest(ptr noundef) #1
declare i32 @setuid(i32 noundef) #1
declare i32 @getuid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o2d_3wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Please enter the filename \0D\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @doTest(ptr noundef %15)
%17 = call i32 (...) @getuid()
%18 = call i32 @setuid(i32 noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @doTest(ptr noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %11, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef) #1
declare i32 @doTest(ptr noundef) #1
declare i32 @setuid(i32 noundef) #1
declare i32 @getuid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdm44fmkt.c'
source_filename = "/tmp/tmpdm44fmkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdm44fmkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvklt11g6.c'
source_filename = "/tmp/tmpvklt11g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clGetKernelWorkGroupInfo(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [6 x i32], align 16
store i64 %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = load i64, ptr %7, align 8
%15 = trunc i64 %14 to i32
%16 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 0
store i32 %15, ptr %16, align 16
%17 = load i64, ptr %8, align 8
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 1
store i32 %18, ptr %19, align 4
%20 = load i64, ptr %9, align 8
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 2
store i32 %21, ptr %22, align 8
%23 = load i64, ptr %10, align 8
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 3
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %11, align 8
%27 = ptrtoint ptr %26 to i32
%28 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 4
store i32 %27, ptr %28, align 16
%29 = load ptr, ptr %12, align 8
%30 = ptrtoint ptr %29 to i32
%31 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 5
store i32 %30, ptr %31, align 4
%32 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 0
%33 = call i32 @syscall(i32 noundef 325, i32 noundef 1042, ptr noundef %32)
ret i32 %33
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvklt11g6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clGetKernelWorkGroupInfo(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [6 x i32], align 16
store i64 %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = load i64, ptr %7, align 8
%15 = trunc i64 %14 to i32
%16 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 0
store i32 %15, ptr %16, align 16
%17 = load i64, ptr %8, align 8
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 1
store i32 %18, ptr %19, align 4
%20 = load i64, ptr %9, align 8
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 2
store i32 %21, ptr %22, align 8
%23 = load i64, ptr %10, align 8
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 3
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %11, align 8
%27 = ptrtoint ptr %26 to i32
%28 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 4
store i32 %27, ptr %28, align 16
%29 = load ptr, ptr %12, align 8
%30 = ptrtoint ptr %29 to i32
%31 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 5
store i32 %30, ptr %31, align 4
%32 = getelementptr inbounds [6 x i32], ptr %13, i64 0, i64 0
%33 = call i32 @syscall(i32 noundef 325, i32 noundef 1042, ptr noundef %32)
ret i32 %33
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf241yuee.c'
source_filename = "/tmp/tmpf241yuee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bench(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [25 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %22, %3
%10 = load i32, ptr %8, align 4
%11 = icmp ult i32 %10, 23
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %8, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br label %20
20: ; preds = %12, %9
%21 = phi i1 [ false, %9 ], [ %19, %12 ]
br i1 %21, label %22, label %33
22: ; preds = %20
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = load i32, ptr %8, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %29
store i8 %27, ptr %30, align 1
%31 = load i32, ptr %8, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %8, align 4
br label %9, !llvm.loop !6
33: ; preds = %20
%34 = load i32, ptr %8, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = zext i32 %34 to i64
%37 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %36
store i8 58, ptr %37, align 1
br label %38
38: ; preds = %45, %33
%39 = load i32, ptr %8, align 4
%40 = icmp ult i32 %39, 24
br i1 %40, label %41, label %48
41: ; preds = %38
%42 = load i32, ptr %8, align 4
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %43
store i8 32, ptr %44, align 1
br label %45
45: ; preds = %41
%46 = load i32, ptr %8, align 4
%47 = add i32 %46, 1
store i32 %47, ptr %8, align 4
br label %38, !llvm.loop !8
48: ; preds = %38
%49 = load i32, ptr %8, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %50
store i8 0, ptr %51, align 1
%52 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0
%53 = call i32 @print(ptr noundef %52)
store i32 0, ptr %8, align 4
br label %54
54: ; preds = %76, %48
%55 = load i32, ptr %8, align 4
%56 = load i32, ptr %6, align 4
%57 = sub i32 %56, 1
%58 = icmp ult i32 %55, %57
br i1 %58, label %59, label %79
59: ; preds = %54
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %8, align 4
%62 = add i32 %61, 1
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %60, i64 %63
%65 = load i64, ptr %64, align 8
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %8, align 4
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i64, ptr %66, i64 %68
%70 = load i64, ptr %69, align 8
%71 = sub i64 %65, %70
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %8, align 4
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds i64, ptr %72, i64 %74
store i64 %71, ptr %75, align 8
br label %76
76: ; preds = %59
%77 = load i32, ptr %8, align 4
%78 = add i32 %77, 1
store i32 %78, ptr %8, align 4
br label %54, !llvm.loop !9
79: ; preds = %54
%80 = load ptr, ptr %5, align 8
%81 = load i32, ptr %6, align 4
%82 = sub i32 %81, 1
%83 = call i32 @median(ptr noundef %80, i32 noundef %82)
%84 = call i32 @printllu(i32 noundef %83)
%85 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @printllu(i32 noundef) #1
declare i32 @median(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf241yuee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bench(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [25 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %22, %3
%10 = load i32, ptr %8, align 4
%11 = icmp ult i32 %10, 23
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %8, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br label %20
20: ; preds = %12, %9
%21 = phi i1 [ false, %9 ], [ %19, %12 ]
br i1 %21, label %22, label %33
22: ; preds = %20
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = load i32, ptr %8, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %29
store i8 %27, ptr %30, align 1
%31 = load i32, ptr %8, align 4
%32 = add i32 %31, 1
store i32 %32, ptr %8, align 4
br label %9, !llvm.loop !6
33: ; preds = %20
%34 = load i32, ptr %8, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = zext i32 %34 to i64
%37 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %36
store i8 58, ptr %37, align 1
%38 = load i32, ptr %8, align 4
%39 = icmp ult i32 %38, 24
br i1 %39, label %.lr.ph, label %49
.lr.ph: ; preds = %33
br label %40
40: ; preds = %.lr.ph, %44
%41 = load i32, ptr %8, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %42
store i8 32, ptr %43, align 1
br label %44
44: ; preds = %40
%45 = load i32, ptr %8, align 4
%46 = add i32 %45, 1
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp ult i32 %47, 24
br i1 %48, label %40, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %44
br label %49
49: ; preds = %._crit_edge, %33
%50 = load i32, ptr %8, align 4
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 %51
store i8 0, ptr %52, align 1
%53 = getelementptr inbounds [25 x i8], ptr %7, i64 0, i64 0
%54 = call i32 @print(ptr noundef %53)
store i32 0, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = load i32, ptr %6, align 4
%57 = sub i32 %56, 1
%58 = icmp ult i32 %55, %57
br i1 %58, label %.lr.ph2, label %83
.lr.ph2: ; preds = %49
br label %59
59: ; preds = %.lr.ph2, %76
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %8, align 4
%62 = add i32 %61, 1
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %60, i64 %63
%65 = load i64, ptr %64, align 8
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %8, align 4
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i64, ptr %66, i64 %68
%70 = load i64, ptr %69, align 8
%71 = sub i64 %65, %70
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %8, align 4
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds i64, ptr %72, i64 %74
store i64 %71, ptr %75, align 8
br label %76
76: ; preds = %59
%77 = load i32, ptr %8, align 4
%78 = add i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %6, align 4
%81 = sub i32 %80, 1
%82 = icmp ult i32 %79, %81
br i1 %82, label %59, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %76
br label %83
83: ; preds = %._crit_edge3, %49
%84 = load ptr, ptr %5, align 8
%85 = load i32, ptr %6, align 4
%86 = sub i32 %85, 1
%87 = call i32 @median(ptr noundef %84, i32 noundef %86)
%88 = call i32 @printllu(i32 noundef %87)
%89 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @printllu(i32 noundef) #1
declare i32 @median(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}
|
; ModuleID = '/tmp/tmpn5jh26ud.c'
source_filename = "/tmp/tmpn5jh26ud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_set_mempolicy(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @shim_enosys(i32 noundef 0, i32 noundef %7, ptr noundef %8, i64 noundef %9)
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare i64 @shim_enosys(i32 noundef, i32 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/tmpn5jh26ud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_set_mempolicy(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @shim_enosys(i32 noundef 0, i32 noundef %7, ptr noundef %8, i64 noundef %9)
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare i64 @shim_enosys(i32 noundef, i32 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/tmpbe741eit.c'
source_filename = "/tmp/tmpbe741eit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix_vec_mult(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %17, label %49
17: ; preds = %5
%18 = load i32, ptr %10, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %12, align 8
%21 = alloca double, i64 %19, align 16
store i64 %19, ptr %13, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 8
%26 = trunc i64 %25 to i32
%27 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %26)
store i32 0, ptr %11, align 4
br label %28
28: ; preds = %44, %17
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %47
32: ; preds = %28
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %10, align 4
%39 = call double @dot(ptr noundef %37, ptr noundef %21, i32 noundef %38)
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
store double %39, ptr %43, align 8
br label %44
44: ; preds = %32
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
br label %28, !llvm.loop !6
47: ; preds = %28
%48 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %48)
br label %71
49: ; preds = %5
store i32 0, ptr %11, align 4
br label %50
50: ; preds = %67, %49
%51 = load i32, ptr %11, align 4
%52 = load i32, ptr %9, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %70
54: ; preds = %50
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %10, align 4
%62 = call double @dot(ptr noundef %59, ptr noundef %60, i32 noundef %61)
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %11, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
store double %62, ptr %66, align 8
br label %67
67: ; preds = %54
%68 = load i32, ptr %11, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %11, align 4
br label %50, !llvm.loop !8
70: ; preds = %50
br label %71
71: ; preds = %70, %47
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare double @dot(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbe741eit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix_vec_mult(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %17, label %51
17: ; preds = %5
%18 = load i32, ptr %10, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %12, align 8
%21 = alloca double, i64 %19, align 16
store i64 %19, ptr %13, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 8
%26 = trunc i64 %25 to i32
%27 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %26)
store i32 0, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %49
.lr.ph2: ; preds = %17
br label %31
31: ; preds = %.lr.ph2, %43
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %11, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %10, align 4
%38 = call double @dot(ptr noundef %36, ptr noundef %21, i32 noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
store double %38, ptr %42, align 8
br label %43
43: ; preds = %31
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %31, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %43
br label %49
49: ; preds = %._crit_edge3, %17
%50 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %50)
br label %75
51: ; preds = %5
store i32 0, ptr %11, align 4
%52 = load i32, ptr %11, align 4
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph, label %74
.lr.ph: ; preds = %51
br label %55
55: ; preds = %.lr.ph, %68
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %10, align 4
%63 = call double @dot(ptr noundef %60, ptr noundef %61, i32 noundef %62)
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %11, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
store double %63, ptr %67, align 8
br label %68
68: ; preds = %55
%69 = load i32, ptr %11, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %11, align 4
%71 = load i32, ptr %11, align 4
%72 = load i32, ptr %9, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %55, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %51
br label %75
75: ; preds = %74, %49
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare double @dot(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxoitiz0l.c'
source_filename = "/tmp/tmpxoitiz0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7)
ret i32 0
}
declare i32 @foo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxoitiz0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7)
ret i32 0
}
declare i32 @foo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxi9tqj1a.c'
source_filename = "/tmp/tmpxi9tqj1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %9, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %12, align 4
%18 = load i32, ptr %8, align 4
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %9, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %11, align 4
br label %21
21: ; preds = %62, %4
br label %22
22: ; preds = %31, %21
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %22
br label %31
31: ; preds = %30
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
br label %22, !llvm.loop !6
34: ; preds = %22
br label %35
35: ; preds = %44, %34
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %12, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %47
43: ; preds = %35
br label %44
44: ; preds = %43
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %11, align 4
br label %35, !llvm.loop !8
47: ; preds = %35
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %61
51: ; preds = %47
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = call i32 @swap(ptr noundef %55, ptr noundef %59)
br label %62
61: ; preds = %47
br label %63
62: ; preds = %51
br label %21
63: ; preds = %61
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %10, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = call i32 @swap(ptr noundef %67, ptr noundef %71)
%73 = load i32, ptr %6, align 4
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %8, align 4
%76 = sub nsw i32 %74, %75
%77 = add nsw i32 %76, 1
%78 = icmp eq i32 %73, %77
br i1 %78, label %79, label %85
79: ; preds = %63
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %10, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
store i32 %84, ptr %5, align 4
br label %111
85: ; preds = %63
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %10, align 4
%88 = load i32, ptr %8, align 4
%89 = sub nsw i32 %87, %88
%90 = add nsw i32 %89, 1
%91 = icmp slt i32 %86, %90
br i1 %91, label %92, label %99
92: ; preds = %85
%93 = load i32, ptr %6, align 4
%94 = load ptr, ptr %7, align 8
%95 = load i32, ptr %8, align 4
%96 = load i32, ptr %10, align 4
%97 = sub nsw i32 %96, 1
%98 = call i32 @qsort(i32 noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef %97)
store i32 %98, ptr %5, align 4
br label %111
99: ; preds = %85
%100 = load i32, ptr %6, align 4
%101 = load i32, ptr %10, align 4
%102 = load i32, ptr %8, align 4
%103 = sub nsw i32 %101, %102
%104 = add nsw i32 %103, 1
%105 = sub nsw i32 %100, %104
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %10, align 4
%108 = add nsw i32 %107, 1
%109 = load i32, ptr %9, align 4
%110 = call i32 @qsort(i32 noundef %105, ptr noundef %106, i32 noundef %108, i32 noundef %109)
store i32 %110, ptr %5, align 4
br label %111
111: ; preds = %99, %92, %79
%112 = load i32, ptr %5, align 4
ret i32 %112
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxi9tqj1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %9, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %12, align 4
%18 = load i32, ptr %8, align 4
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %9, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %11, align 4
br label %21
21: ; preds = %74, %4
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %12, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %40
.lr.ph: ; preds = %21
br label %29
29: ; preds = %.lr.ph, %30
br label %30
30: ; preds = %29
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %10, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %12, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %21
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %12, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %.lr.ph2, label %59
.lr.ph2: ; preds = %40
br label %48
48: ; preds = %.lr.ph2, %49
br label %49
49: ; preds = %48
%50 = load i32, ptr %11, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %11, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %11, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %12, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %48, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %59
59: ; preds = %._crit_edge3, %40
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %11, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %73
63: ; preds = %59
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %10, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %11, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = call i32 @swap(ptr noundef %67, ptr noundef %71)
br label %74
73: ; preds = %59
br label %75
74: ; preds = %63
br label %21
75: ; preds = %73
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %10, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = call i32 @swap(ptr noundef %79, ptr noundef %83)
%85 = load i32, ptr %6, align 4
%86 = load i32, ptr %10, align 4
%87 = load i32, ptr %8, align 4
%88 = sub nsw i32 %86, %87
%89 = add nsw i32 %88, 1
%90 = icmp eq i32 %85, %89
br i1 %90, label %91, label %97
91: ; preds = %75
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %10, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
%96 = load i32, ptr %95, align 4
store i32 %96, ptr %5, align 4
br label %123
97: ; preds = %75
%98 = load i32, ptr %6, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr %8, align 4
%101 = sub nsw i32 %99, %100
%102 = add nsw i32 %101, 1
%103 = icmp slt i32 %98, %102
br i1 %103, label %104, label %111
104: ; preds = %97
%105 = load i32, ptr %6, align 4
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %8, align 4
%108 = load i32, ptr %10, align 4
%109 = sub nsw i32 %108, 1
%110 = call i32 @qsort(i32 noundef %105, ptr noundef %106, i32 noundef %107, i32 noundef %109)
store i32 %110, ptr %5, align 4
br label %123
111: ; preds = %97
%112 = load i32, ptr %6, align 4
%113 = load i32, ptr %10, align 4
%114 = load i32, ptr %8, align 4
%115 = sub nsw i32 %113, %114
%116 = add nsw i32 %115, 1
%117 = sub nsw i32 %112, %116
%118 = load ptr, ptr %7, align 8
%119 = load i32, ptr %10, align 4
%120 = add nsw i32 %119, 1
%121 = load i32, ptr %9, align 4
%122 = call i32 @qsort(i32 noundef %117, ptr noundef %118, i32 noundef %120, i32 noundef %121)
store i32 %122, ptr %5, align 4
br label %123
123: ; preds = %111, %104, %91
%124 = load i32, ptr %5, align 4
ret i32 %124
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplksmjjaq.c'
source_filename = "/tmp/tmplksmjjaq.c"
target datalayout = "e-m:e-p270: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/tmplksmjjaq.c"
target datalayout = "e-m:e-p270: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/tmp56kfh8tb.c'
source_filename = "/tmp/tmp56kfh8tb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @am_util_wait_status_change(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %11
11: ; preds = %26, %4
%12 = load i64, ptr %10, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp slt i64 %12, %13
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load i64, ptr %7, align 8
%17 = inttoptr i64 %16 to ptr
%18 = load volatile i64, ptr %17, align 8
%19 = load i64, ptr %8, align 8
%20 = and i64 %18, %19
%21 = load i64, ptr %9, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %15
store i64 1, ptr %5, align 8
br label %30
24: ; preds = %15
%25 = call i32 @am_hal_flash_delay(i32 noundef 16)
br label %26
26: ; preds = %24
%27 = load i64, ptr %10, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr %10, align 8
br label %11, !llvm.loop !6
29: ; preds = %11
store i64 0, ptr %5, align 8
br label %30
30: ; preds = %29, %23
%31 = load i64, ptr %5, align 8
ret i64 %31
}
declare i32 @am_hal_flash_delay(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/tmp56kfh8tb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @am_util_wait_status_change(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 0, ptr %10, align 8
%11 = load i64, ptr %10, align 8
%12 = load i64, ptr %6, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %25
%15 = load i64, ptr %7, align 8
%16 = inttoptr i64 %15 to ptr
%17 = load volatile i64, ptr %16, align 8
%18 = load i64, ptr %8, align 8
%19 = and i64 %17, %18
%20 = load i64, ptr %9, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %14
store i64 1, ptr %5, align 8
br label %32
23: ; preds = %14
%24 = call i32 @am_hal_flash_delay(i32 noundef 16)
br label %25
25: ; preds = %23
%26 = load i64, ptr %10, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %10, align 8
%28 = load i64, ptr %10, align 8
%29 = load i64, ptr %6, align 8
%30 = icmp slt i64 %28, %29
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %4
store i64 0, ptr %5, align 8
br label %32
32: ; preds = %31, %22
%33 = load i64, ptr %5, align 8
ret i64 %33
}
declare i32 @am_hal_flash_delay(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/tmp0d21x750.c'
source_filename = "/tmp/tmp0d21x750.c"
target datalayout = "e-m:e-p270: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/tmp0d21x750.c"
target datalayout = "e-m:e-p270: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/tmpueu_6adj.c'
source_filename = "/tmp/tmpueu_6adj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.t = private unnamed_addr constant [10 x i8] c"abc\00\00\00\00\00\00\00", align 1
@.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 [10 x i8], align 1
%3 = alloca [10 x i8], align 1
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.t, i64 10, i1 false)
%5 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%8 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = call i32 @mstrncpy(ptr noundef %7, ptr noundef %8, i32 noundef %10)
%12 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%15 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%16 = load i32, ptr %4, align 4
%17 = call i32 @mstrncpy(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%21 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
%24 = call i32 @mstrncpy(ptr noundef %20, ptr noundef %21, i32 noundef %23)
%25 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str, ptr noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strlen(ptr noundef) #2
declare i32 @mstrncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpueu_6adj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.t = private unnamed_addr constant [10 x i8] c"abc\00\00\00\00\00\00\00", align 1
@.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 [10 x i8], align 1
%3 = alloca [10 x i8], align 1
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.t, i64 10, i1 false)
%5 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%8 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = call i32 @mstrncpy(ptr noundef %7, ptr noundef %8, i32 noundef %10)
%12 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%15 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%16 = load i32, ptr %4, align 4
%17 = call i32 @mstrncpy(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%21 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
%24 = call i32 @mstrncpy(ptr noundef %20, ptr noundef %21, i32 noundef %23)
%25 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str, ptr noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strlen(ptr noundef) #2
declare i32 @mstrncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp530hbd0j.c'
source_filename = "/tmp/tmp530hbd0j.c"
target datalayout = "e-m:e-p270: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/tmp530hbd0j.c"
target datalayout = "e-m:e-p270: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/tmpslvhjt5m.c'
source_filename = "/tmp/tmpslvhjt5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rh\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"ASCII: \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"HEX: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-r\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ascii2hex(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %20, %3
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str)
store i32 %14, ptr %7, align 4
%15 = icmp ne i32 %14, -1
br i1 %15, label %16, label %21
16: ; preds = %11
%17 = load i32, ptr %7, align 4
switch i32 %17, label %20 [
i32 114, label %18
i32 104, label %19
]
18: ; preds = %16
store i32 1, ptr %8, align 4
br label %20
19: ; preds = %16
store i32 1, ptr %9, align 4
br label %20
20: ; preds = %16, %19, %18
br label %11, !llvm.loop !6
21: ; preds = %11
%22 = load i32, ptr %9, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %82, label %24
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %36
27: ; preds = %24
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 2
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(ptr noundef @.str.1)
br label %35
32: ; preds = %27
%33 = load ptr, ptr %6, align 8
%34 = call i32 @noArgument(ptr noundef %33)
br label %35
35: ; preds = %32, %30
br label %45
36: ; preds = %24
%37 = load i32, ptr %4, align 4
%38 = icmp sgt i32 %37, 1
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(ptr noundef @.str.2)
br label %44
41: ; preds = %36
%42 = load ptr, ptr %6, align 8
%43 = call i32 @noArgument(ptr noundef %42)
br label %44
44: ; preds = %41, %39
br label %45
45: ; preds = %44, %35
store i32 1, ptr %10, align 4
br label %46
46: ; preds = %77, %45
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %80
50: ; preds = %46
%51 = load i32, ptr %8, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %69
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = call i64 @strcmp(ptr noundef %58, ptr noundef @.str.3)
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %53
br label %77
62: ; preds = %53
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = call i32 @convertToAscii(ptr noundef %67, i32 noundef 16)
br label %76
69: ; preds = %50
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = call i32 @convertFromAscii(ptr noundef %74, i32 noundef 16)
br label %76
76: ; preds = %69, %62
br label %77
77: ; preds = %76, %61
%78 = load i32, ptr %10, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %10, align 4
br label %46, !llvm.loop !8
80: ; preds = %46
%81 = call i32 @printf(ptr noundef @.str.4)
br label %85
82: ; preds = %21
%83 = load ptr, ptr %6, align 8
%84 = call i32 @showUsage(ptr noundef %83)
br label %85
85: ; preds = %82, %80
ret void
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @noArgument(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @convertToAscii(ptr noundef, i32 noundef) #1
declare i32 @convertFromAscii(ptr noundef, i32 noundef) #1
declare i32 @showUsage(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpslvhjt5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rh\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"ASCII: \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"HEX: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-r\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ascii2hex(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %7, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %7, align 4
switch i32 %16, label %19 [
i32 114, label %17
i32 104, label %18
]
17: ; preds = %15
store i32 1, ptr %8, align 4
br label %19
18: ; preds = %15
store i32 1, ptr %9, align 4
br label %19
19: ; preds = %18, %17, %15
%20 = load i32, ptr %4, align 4
%21 = load ptr, ptr %5, align 8
%22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str)
store i32 %22, ptr %7, align 4
%23 = icmp ne i32 %22, -1
br i1 %23, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %3
%25 = load i32, ptr %9, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %87, label %27
27: ; preds = %24
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %39
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = icmp sgt i32 %31, 2
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @printf(ptr noundef @.str.1)
br label %38
35: ; preds = %30
%36 = load ptr, ptr %6, align 8
%37 = call i32 @noArgument(ptr noundef %36)
br label %38
38: ; preds = %35, %33
br label %48
39: ; preds = %27
%40 = load i32, ptr %4, align 4
%41 = icmp sgt i32 %40, 1
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 @printf(ptr noundef @.str.2)
br label %47
44: ; preds = %39
%45 = load ptr, ptr %6, align 8
%46 = call i32 @noArgument(ptr noundef %45)
br label %47
47: ; preds = %44, %42
br label %48
48: ; preds = %47, %38
store i32 1, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph2, label %85
.lr.ph2: ; preds = %48
br label %52
52: ; preds = %.lr.ph2, %79
%53 = load i32, ptr %8, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %71
55: ; preds = %52
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.3)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %55
br label %79
64: ; preds = %55
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %10, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = call i32 @convertToAscii(ptr noundef %69, i32 noundef 16)
br label %78
71: ; preds = %52
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %10, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds ptr, ptr %72, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = call i32 @convertFromAscii(ptr noundef %76, i32 noundef 16)
br label %78
78: ; preds = %71, %64
br label %79
79: ; preds = %78, %63
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %10, align 4
%82 = load i32, ptr %10, align 4
%83 = load i32, ptr %4, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %85
85: ; preds = %._crit_edge3, %48
%86 = call i32 @printf(ptr noundef @.str.4)
br label %90
87: ; preds = %24
%88 = load ptr, ptr %6, align 8
%89 = call i32 @showUsage(ptr noundef %88)
br label %90
90: ; preds = %87, %85
ret void
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @noArgument(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @convertToAscii(ptr noundef, i32 noundef) #1
declare i32 @convertFromAscii(ptr noundef, i32 noundef) #1
declare i32 @showUsage(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj8s1akjn.c'
source_filename = "/tmp/tmpj8s1akjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu %llu\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %29, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %32
9: ; preds = %6
%10 = load i64, ptr %2, align 8
store i64 %10, ptr %4, align 8
%11 = load i64, ptr %2, align 8
store i64 %11, ptr %5, align 8
br label %12
12: ; preds = %16, %9
%13 = load i64, ptr %5, align 8
%14 = load i64, ptr %3, align 8
%15 = icmp uge i64 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %3, align 8
%19 = udiv i64 %17, %18
%20 = load i64, ptr %4, align 8
%21 = add i64 %20, %19
store i64 %21, ptr %4, align 8
%22 = load i64, ptr %5, align 8
%23 = load i64, ptr %3, align 8
%24 = udiv i64 %22, %23
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %3, align 8
%27 = urem i64 %25, %26
%28 = add i64 %24, %27
store i64 %28, ptr %5, align 8
br label %12, !llvm.loop !6
29: ; preds = %12
%30 = load i64, ptr %4, align 8
%31 = call i32 @printf(ptr noundef @.str.1, i64 noundef %30)
br label %6, !llvm.loop !8
32: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj8s1akjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu %llu\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = icmp sgt i64 %6, 0
br i1 %7, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %30
%9 = load i64, ptr %2, align 8
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %2, align 8
store i64 %10, ptr %5, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %3, align 8
%13 = icmp uge i64 %11, %12
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %8
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr %3, align 8
%17 = udiv i64 %15, %16
%18 = load i64, ptr %4, align 8
%19 = add i64 %18, %17
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %3, align 8
%22 = udiv i64 %20, %21
%23 = load i64, ptr %5, align 8
%24 = load i64, ptr %3, align 8
%25 = urem i64 %23, %24
%26 = add i64 %22, %25
store i64 %26, ptr %5, align 8
%27 = load i64, ptr %5, align 8
%28 = load i64, ptr %3, align 8
%29 = icmp uge i64 %27, %28
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %30
30: ; preds = %._crit_edge, %8
%31 = load i64, ptr %4, align 8
%32 = call i32 @printf(ptr noundef @.str.1, i64 noundef %31)
%33 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%34 = icmp sgt i64 %33, 0
br i1 %34, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplusjq7nk.c'
source_filename = "/tmp/tmplusjq7nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs_builtin_clearline() #0 {
%1 = call i32 (...) @bs_erase_to_eol()
ret i32 0
}
declare i32 @bs_erase_to_eol(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplusjq7nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs_builtin_clearline() #0 {
%1 = call i32 (...) @bs_erase_to_eol()
ret i32 0
}
declare i32 @bs_erase_to_eol(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpki_mcx9v.c'
source_filename = "/tmp/tmpki_mcx9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDMAChannelEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = add nsw i32 %5, 516
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 16, %7
%9 = add nsw i32 %6, %8
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i32, ptr %11, align 4
%13 = or i32 %12, 1
store volatile i32 %13, ptr %11, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpki_mcx9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDMAChannelEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = add nsw i32 %5, 516
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 16, %7
%9 = add nsw i32 %6, %8
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i32, ptr %11, align 4
%13 = or i32 %12, 1
store volatile i32 %13, ptr %11, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvq2ra2tc.c'
source_filename = "/tmp/tmpvq2ra2tc.c"
target datalayout = "e-m:e-p270: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/tmpvq2ra2tc.c"
target datalayout = "e-m:e-p270: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/tmph3kp9n5r.c'
source_filename = "/tmp/tmph3kp9n5r.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"usage: %s [-a] [stream|dgram] socket-name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph3kp9n5r.c"
target datalayout = "e-m:e-p270: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 [44 x i8] c"usage: %s [-a] [stream|dgram] socket-name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp100cow8p.c'
source_filename = "/tmp/tmp100cow8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @noly_socket_set_reuseaddr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SOL_SOCKET, align 4
%6 = load i32, ptr @SO_REUSEADDR, align 4
%7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4)
ret i32 %7
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp100cow8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @noly_socket_set_reuseaddr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SOL_SOCKET, align 4
%6 = load i32, ptr @SO_REUSEADDR, align 4
%7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4)
ret i32 %7
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb2k9nqf3.c'
source_filename = "/tmp/tmpb2k9nqf3.c"
target datalayout = "e-m:e-p270: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/tmpb2k9nqf3.c"
target datalayout = "e-m:e-p270: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/tmpwinqfjhv.c'
source_filename = "/tmp/tmpwinqfjhv.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [18 x i8] c"sigprocmask error\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@SIGINT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"SIGINT \00", align 1
@SIGQUIT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"SIGQUIT \00", align 1
@SIGUSR1 = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [9 x i8] c"SIGUSR1 \00", align 1
@SIGALRM = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [9 x i8] c"SIGALRM \00", align 1
@SIGABRT = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c"SIGABRT \00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [9 x i8] c"SIGCHLD \00", align 1
@SIGKILL = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [9 x i8] c"SIGKILL \00", align 1
@SIGSEGV = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [9 x i8] c"SIGSEGV \00", align 1
@SIGSTOP = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [9 x i8] c"SIGSTOP \00", align 1
@SIGTERM = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [9 x i8] c"SIGTERM \00", align 1
@SIGUSR2 = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [9 x i8] c"SIGUSR2 \00", align 1
@SIGTSTP = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [9 x i8] c"SIGTSTP \00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pr_mask(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
%5 = load i32, ptr @errno, align 4
store i32 %5, ptr %4, align 4
%6 = call i64 @sigprocmask(i32 noundef 0, ptr noundef null, ptr noundef %3)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @err_sys(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = load i32, ptr @SIGINT, align 4
%14 = call i64 @sigismember(ptr noundef %3, i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %10
%19 = load i32, ptr @SIGQUIT, align 4
%20 = call i64 @sigismember(ptr noundef %3, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %18
%25 = load i32, ptr @SIGUSR1, align 4
%26 = call i64 @sigismember(ptr noundef %3, i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %30
30: ; preds = %28, %24
%31 = load i32, ptr @SIGALRM, align 4
%32 = call i64 @sigismember(ptr noundef %3, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %36
36: ; preds = %34, %30
%37 = load i32, ptr @SIGABRT, align 4
%38 = call i64 @sigismember(ptr noundef %3, i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
42: ; preds = %40, %36
%43 = load i32, ptr @SIGCHLD, align 4
%44 = call i64 @sigismember(ptr noundef %3, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %42
%49 = load i32, ptr @SIGKILL, align 4
%50 = call i64 @sigismember(ptr noundef %3, i32 noundef %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %54
54: ; preds = %52, %48
%55 = load i32, ptr @SIGSEGV, align 4
%56 = call i64 @sigismember(ptr noundef %3, i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %54
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %60
60: ; preds = %58, %54
%61 = load i32, ptr @SIGSTOP, align 4
%62 = call i64 @sigismember(ptr noundef %3, i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %66
66: ; preds = %64, %60
%67 = load i32, ptr @SIGTERM, align 4
%68 = call i64 @sigismember(ptr noundef %3, i32 noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %72
72: ; preds = %70, %66
%73 = load i32, ptr @SIGUSR2, align 4
%74 = call i64 @sigismember(ptr noundef %3, i32 noundef %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %72
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %78
78: ; preds = %76, %72
%79 = load i32, ptr @SIGTSTP, align 4
%80 = call i64 @sigismember(ptr noundef %3, i32 noundef %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %78
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %84
84: ; preds = %82, %78
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%86 = load i32, ptr %4, align 4
store i32 %86, ptr @errno, align 4
ret void
}
declare i64 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @err_sys(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @sigismember(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/tmpwinqfjhv.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [18 x i8] c"sigprocmask error\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@SIGINT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"SIGINT \00", align 1
@SIGQUIT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"SIGQUIT \00", align 1
@SIGUSR1 = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [9 x i8] c"SIGUSR1 \00", align 1
@SIGALRM = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [9 x i8] c"SIGALRM \00", align 1
@SIGABRT = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c"SIGABRT \00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [9 x i8] c"SIGCHLD \00", align 1
@SIGKILL = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [9 x i8] c"SIGKILL \00", align 1
@SIGSEGV = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [9 x i8] c"SIGSEGV \00", align 1
@SIGSTOP = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [9 x i8] c"SIGSTOP \00", align 1
@SIGTERM = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [9 x i8] c"SIGTERM \00", align 1
@SIGUSR2 = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [9 x i8] c"SIGUSR2 \00", align 1
@SIGTSTP = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [9 x i8] c"SIGTSTP \00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pr_mask(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
%5 = load i32, ptr @errno, align 4
store i32 %5, ptr %4, align 4
%6 = call i64 @sigprocmask(i32 noundef 0, ptr noundef null, ptr noundef %3)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @err_sys(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = load i32, ptr @SIGINT, align 4
%14 = call i64 @sigismember(ptr noundef %3, i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %10
%19 = load i32, ptr @SIGQUIT, align 4
%20 = call i64 @sigismember(ptr noundef %3, i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %18
%25 = load i32, ptr @SIGUSR1, align 4
%26 = call i64 @sigismember(ptr noundef %3, i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %30
30: ; preds = %28, %24
%31 = load i32, ptr @SIGALRM, align 4
%32 = call i64 @sigismember(ptr noundef %3, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %36
36: ; preds = %34, %30
%37 = load i32, ptr @SIGABRT, align 4
%38 = call i64 @sigismember(ptr noundef %3, i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %42
42: ; preds = %40, %36
%43 = load i32, ptr @SIGCHLD, align 4
%44 = call i64 @sigismember(ptr noundef %3, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %42
%49 = load i32, ptr @SIGKILL, align 4
%50 = call i64 @sigismember(ptr noundef %3, i32 noundef %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %54
54: ; preds = %52, %48
%55 = load i32, ptr @SIGSEGV, align 4
%56 = call i64 @sigismember(ptr noundef %3, i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %54
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %60
60: ; preds = %58, %54
%61 = load i32, ptr @SIGSTOP, align 4
%62 = call i64 @sigismember(ptr noundef %3, i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %66
66: ; preds = %64, %60
%67 = load i32, ptr @SIGTERM, align 4
%68 = call i64 @sigismember(ptr noundef %3, i32 noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %72
72: ; preds = %70, %66
%73 = load i32, ptr @SIGUSR2, align 4
%74 = call i64 @sigismember(ptr noundef %3, i32 noundef %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %72
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %78
78: ; preds = %76, %72
%79 = load i32, ptr @SIGTSTP, align 4
%80 = call i64 @sigismember(ptr noundef %3, i32 noundef %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %78
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %84
84: ; preds = %82, %78
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%86 = load i32, ptr %4, align 4
store i32 %86, ptr @errno, align 4
ret void
}
declare i64 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @err_sys(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @sigismember(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/tmpb9_j665t.c'
source_filename = "/tmp/tmpb9_j665t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_CONS = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9_j665t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_CONS = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfkzacxf_.c'
source_filename = "/tmp/tmpfkzacxf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %11, %2
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
store i8 %7, ptr %8, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %3, align 8
br label %11
11: ; preds = %5
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %4, align 8
%14 = load i8, ptr %12, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %5, label %16, !llvm.loop !6
16: ; preds = %11
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfkzacxf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %11, %2
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
store i8 %7, ptr %8, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %3, align 8
br label %11
11: ; preds = %5
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %4, align 8
%14 = load i8, ptr %12, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %5, label %16, !llvm.loop !6
16: ; preds = %11
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpuep1k9o3.c'
source_filename = "/tmp/tmpuep1k9o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CLIP_TO_INT(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = load i64, ptr @INT_MAX, align 8
%5 = icmp uge i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = load i64, ptr @INT_MAX, align 8
br label %12
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = trunc i64 %9 to i32
%11 = sext i32 %10 to i64
br label %12
12: ; preds = %8, %6
%13 = phi i64 [ %7, %6 ], [ %11, %8 ]
%14 = trunc i64 %13 to i32
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuep1k9o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CLIP_TO_INT(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = load i64, ptr @INT_MAX, align 8
%5 = icmp uge i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = load i64, ptr @INT_MAX, align 8
br label %12
8: ; preds = %1
%9 = load i64, ptr %2, align 8
%10 = trunc i64 %9 to i32
%11 = sext i32 %10 to i64
br label %12
12: ; preds = %8, %6
%13 = phi i64 [ %7, %6 ], [ %11, %8 ]
%14 = trunc i64 %13 to i32
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmhogfa8f.c'
source_filename = "/tmp/tmpmhogfa8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Opensvs started at pid %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = icmp sge i32 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
store i32 0, ptr %1, align 4
br label %25
12: ; preds = %0
%13 = call i64 (...) @setsid()
%14 = icmp sge i64 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = call i32 @close(i32 noundef 0)
%18 = call i32 @close(i32 noundef 1)
%19 = call i32 @close(i32 noundef 2)
%20 = call i32 @time(i32 noundef 0)
%21 = call i32 @srand(i32 noundef %20)
%22 = call i32 (...) @database_init()
%23 = call i32 (...) @killprot_init()
%24 = call i32 (...) @socket_mainloop()
store i32 0, ptr %1, align 4
br label %25
25: ; preds = %12, %9
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @assert(i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @setsid(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @database_init(...) #1
declare i32 @killprot_init(...) #1
declare i32 @socket_mainloop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmhogfa8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Opensvs started at pid %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = icmp sge i32 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
store i32 0, ptr %1, align 4
br label %25
12: ; preds = %0
%13 = call i64 (...) @setsid()
%14 = icmp sge i64 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = call i32 @close(i32 noundef 0)
%18 = call i32 @close(i32 noundef 1)
%19 = call i32 @close(i32 noundef 2)
%20 = call i32 @time(i32 noundef 0)
%21 = call i32 @srand(i32 noundef %20)
%22 = call i32 (...) @database_init()
%23 = call i32 (...) @killprot_init()
%24 = call i32 (...) @socket_mainloop()
store i32 0, ptr %1, align 4
br label %25
25: ; preds = %12, %9
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @assert(i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @setsid(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @database_init(...) #1
declare i32 @killprot_init(...) #1
declare i32 @socket_mainloop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptwm0_2f5.c'
source_filename = "/tmp/tmptwm0_2f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ompc_static_init_8(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %12, align 8
%20 = load i32, ptr %13, align 4
%21 = load i32, ptr %14, align 4
%22 = call i32 @__pmp_static_init(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21)
ret void
}
declare i32 @__pmp_static_init(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptwm0_2f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ompc_static_init_8(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load ptr, ptr %12, align 8
%20 = load i32, ptr %13, align 4
%21 = load i32, ptr %14, align 4
%22 = call i32 @__pmp_static_init(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21)
ret void
}
declare i32 @__pmp_static_init(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpstpdr3r8.c'
source_filename = "/tmp/tmpstpdr3r8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.interView07Test.arr = private unnamed_addr constant [9 x i32] [i32 4, i32 5, i32 1, i32 9, i32 2, i32 9, i32 4, i32 2, i32 3], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @interView07Test() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.interView07Test.arr, i64 36, i1 false)
store i32 9, ptr %2, align 4
%4 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @sortAges(ptr noundef %4, i32 noundef %5)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %17, %0
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %11
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @sortAges(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpstpdr3r8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.interView07Test.arr = private unnamed_addr constant [9 x i32] [i32 4, i32 5, i32 1, i32 9, i32 2, i32 9, i32 4, i32 2, i32 3], align 16
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @interView07Test() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.interView07Test.arr, i64 36, i1 false)
store i32 9, ptr %2, align 4
%4 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @sortAges(ptr noundef %4, i32 noundef %5)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %16
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @sortAges(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptoppn9ya.c'
source_filename = "/tmp/tmptoppn9ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_win(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call ptr @newwin(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = call i32 @box(ptr noundef %15, i32 noundef 0, i32 noundef 0)
%17 = call i32 (...) @refresh()
%18 = load ptr, ptr %9, align 8
%19 = call i32 @wrefresh(ptr noundef %18)
%20 = load ptr, ptr %9, align 8
ret ptr %20
}
declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @refresh(...) #1
declare i32 @wrefresh(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptoppn9ya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_win(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = call ptr @newwin(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = call i32 @box(ptr noundef %15, i32 noundef 0, i32 noundef 0)
%17 = call i32 (...) @refresh()
%18 = load ptr, ptr %9, align 8
%19 = call i32 @wrefresh(ptr noundef %18)
%20 = load ptr, ptr %9, align 8
ret ptr %20
}
declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @refresh(...) #1
declare i32 @wrefresh(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqht0c5_8.c'
source_filename = "/tmp/tmpqht0c5_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ahtoi(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @toupper(i8 noundef signext %4)
store i32 %5, ptr %3, align 4
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 48
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %9, 9
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %12, 7
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11, %1
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqht0c5_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ahtoi(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @toupper(i8 noundef signext %4)
store i32 %5, ptr %3, align 4
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 48
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %9, 9
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %12, 7
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11, %1
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmmlh3kt3.c'
source_filename = "/tmp/tmpmmlh3kt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uint32WriteToFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @write_FP_BE(ptr noundef %5, ptr noundef %6, i32 noundef 4)
ret i64 %7
}
declare i64 @write_FP_BE(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/tmpmmlh3kt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uint32WriteToFP(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @write_FP_BE(ptr noundef %5, ptr noundef %6, i32 noundef 4)
ret i64 %7
}
declare i64 @write_FP_BE(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/tmpuouqxvd_.c'
source_filename = "/tmp/tmpuouqxvd_.c"
target datalayout = "e-m:e-p270: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/tmpuouqxvd_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.