llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpywe631dp.c'
source_filename = "/tmp/tmpywe631dp.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_warn_no_newline(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)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpywe631dp.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_warn_no_newline(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)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ab1rbo2.c'
source_filename = "/tmp/tmp8ab1rbo2.c"
target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 4, i32 5, i32 0], align 16
@.str = private unnamed_addr constant [37 x i8] c"Printing array before insertion \E2\88\92\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"array[%d] = %d \0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Printing array after insertion \E2\88\92\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"array[%d] = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.array, i64 20, i1 false)
store i32 4, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 3, ptr %4, align 4
store i32 3, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %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 %21
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = load i32, ptr %2, align 4
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %37, %21
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
%27 = icmp sge i32 %24, %26
br i1 %27, label %28, label %40
28: ; preds = %23
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %35
store i32 %32, ptr %36, align 4
br label %37
37: ; preds = %28
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %3, align 4
br label %23, !llvm.loop !8
40: ; preds = %23
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %44
store i32 %41, ptr %45, align 4
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %60, %40
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %2, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54, i32 noundef %58)
br label %60
60: ; preds = %53
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %49, !llvm.loop !9
63: ; preds = %49
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 @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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ab1rbo2.c"
target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 4, i32 5, i32 0], align 16
@.str = private unnamed_addr constant [37 x i8] c"Printing array before insertion \E2\88\92\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"array[%d] = %d \0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Printing array after insertion \E2\88\92\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"array[%d] = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.array, i64 20, i1 false)
store i32 4, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 3, ptr %4, align 4
store i32 3, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %17
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
%24 = load i32, ptr %2, align 4
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
%28 = icmp sge i32 %25, %27
br i1 %28, label %.lr.ph2, label %45
.lr.ph2: ; preds = %23
br label %29
29: ; preds = %.lr.ph2, %38
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %36
store i32 %33, ptr %37, align 4
br label %38
38: ; preds = %29
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
%44 = icmp sge i32 %41, %43
br i1 %44, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %45
45: ; preds = %._crit_edge3, %23
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %49
store i32 %46, ptr %50, align 4
%51 = load i32, ptr %2, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %2, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %.lr.ph5, label %70
.lr.ph5: ; preds = %45
br label %57
57: ; preds = %.lr.ph5, %64
%58 = load i32, ptr %3, align 4
%59 = load i32, ptr %3, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58, i32 noundef %62)
br label %64
64: ; preds = %57
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %2, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %57, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %70
70: ; preds = %._crit_edge6, %45
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 @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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpkp3nc7dq.c'
source_filename = "/tmp/tmpkp3nc7dq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_masklist(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @display_env_masks()
ret i32 0
}
declare i32 @display_env_masks(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkp3nc7dq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_masklist(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @display_env_masks()
ret i32 0
}
declare i32 @display_env_masks(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hl_jxlz.c'
source_filename = "/tmp/tmp6hl_jxlz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SafeInitialiseIntArray_m(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 ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = call i32 @free(ptr noundef %11)
br label %13
13: ; preds = %10, %3
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 %15, 4
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %4, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %28, %13
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %31
23: ; preds = %19
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 0, ptr %27, align 4
br label %28
28: ; preds = %23
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %19, !llvm.loop !6
31: ; preds = %19
%32 = load ptr, ptr %4, align 8
ret ptr %32
}
declare i32 @free(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hl_jxlz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SafeInitialiseIntArray_m(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 ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = call i32 @free(ptr noundef %11)
br label %13
13: ; preds = %10, %3
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 %15, 4
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %4, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %27
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
store i32 0, ptr %26, align 4
br label %27
27: ; preds = %22
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %13
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
declare i32 @free(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxd9q_yx2.c'
source_filename = "/tmp/tmpxd9q_yx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"a bag\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"I have %d carrots.\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"Did you drink %g quarts of tomato juice?\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"I bought %s of tomatoes.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Is he Henry %c. Upham?\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"\09Indented line, and missing newline...\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"...new line here.\0A\00", align 1
@.str.8 = private unnamed_addr constant [103 x i8] c"Altogether we have %d carrots, %g quarts of tomato juice, %s, and a guy whose middle initial is \22%c\22.\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 double, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5, ptr %6, align 4
store double 1.230000e+00, ptr %7, align 8
store ptr @.str, ptr %8, align 8
store i8 71, ptr %9, align 1
%10 = load i32, ptr %6, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load double, ptr %7, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12)
%14 = load ptr, ptr %8, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14)
%16 = load i8, ptr %9, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%23 = load i32, ptr %6, align 4
%24 = load double, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %9, align 1
%27 = sext i8 %26 to i32
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %23, double noundef %24, ptr noundef %25, i32 noundef %27)
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/tmpxd9q_yx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"a bag\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"I have %d carrots.\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"Did you drink %g quarts of tomato juice?\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"I bought %s of tomatoes.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Is he Henry %c. Upham?\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"\09Indented line, and missing newline...\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"...new line here.\0A\00", align 1
@.str.8 = private unnamed_addr constant [103 x i8] c"Altogether we have %d carrots, %g quarts of tomato juice, %s, and a guy whose middle initial is \22%c\22.\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 double, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5, ptr %6, align 4
store double 1.230000e+00, ptr %7, align 8
store ptr @.str, ptr %8, align 8
store i8 71, ptr %9, align 1
%10 = load i32, ptr %6, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load double, ptr %7, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12)
%14 = load ptr, ptr %8, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14)
%16 = load i8, ptr %9, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%23 = load i32, ptr %6, align 4
%24 = load double, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %9, align 1
%27 = sext i8 %26 to i32
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %23, double noundef %24, ptr noundef %25, i32 noundef %27)
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/tmp020wqpwj.c'
source_filename = "/tmp/tmp020wqpwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HOME\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"apiKmail.ini\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"%s/MedinTux/Programmes/apitux/bin/apitemp/\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"%s/apicrypt/\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [58 x i8] c"Impossible d'ouvrir ou de cr\C3\A9er le fichier apiKmail.ini \00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"errno = %d.\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lireChemins(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [300 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [300 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @getenv(ptr noundef @.str)
%10 = call i32 @strcpy(ptr noundef %8, i32 noundef %9)
store ptr null, ptr %6, align 8
%11 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %35
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @fgets(ptr noundef %15, i32 noundef 300, ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %18, i64 %22
store i8 0, ptr %23, align 1
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @fgets(ptr noundef %24, i32 noundef 300, ptr noundef %25)
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
br label %60
35: ; preds = %2
store ptr null, ptr %7, align 8
%36 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.3)
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds [300 x i8], ptr %5, i64 0, i64 0
%42 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str.4, ptr noundef %41)
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds [300 x i8], ptr %5, i64 0, i64 0
%45 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str.5, ptr noundef %44)
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %3, align 8
%48 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str.6, ptr noundef %47)
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %4, align 8
%51 = call i32 @fprintf(ptr noundef %49, ptr noundef @.str.6, ptr noundef %50)
%52 = load ptr, ptr %7, align 8
%53 = call i32 @fclose(ptr noundef %52)
br label %59
54: ; preds = %35
%55 = call i32 @perror(ptr noundef @.str.7)
%56 = load i32, ptr @errno, align 4
%57 = call i32 @printf(ptr noundef @.str.8, i32 noundef %56)
%58 = call i32 @exit(i32 noundef 1) #3
unreachable
59: ; preds = %39
br label %60
60: ; preds = %59, %14
ret void
}
declare i32 @strcpy(ptr noundef, i32 noundef) #1
declare i32 @getenv(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, 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/tmp020wqpwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HOME\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"apiKmail.ini\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"%s/MedinTux/Programmes/apitux/bin/apitemp/\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"%s/apicrypt/\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [58 x i8] c"Impossible d'ouvrir ou de cr\C3\A9er le fichier apiKmail.ini \00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"errno = %d.\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lireChemins(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [300 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [300 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @getenv(ptr noundef @.str)
%10 = call i32 @strcpy(ptr noundef %8, i32 noundef %9)
store ptr null, ptr %6, align 8
%11 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %35
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @fgets(ptr noundef %15, i32 noundef 300, ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %18, i64 %22
store i8 0, ptr %23, align 1
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @fgets(ptr noundef %24, i32 noundef 300, ptr noundef %25)
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
br label %60
35: ; preds = %2
store ptr null, ptr %7, align 8
%36 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.3)
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds [300 x i8], ptr %5, i64 0, i64 0
%42 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str.4, ptr noundef %41)
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds [300 x i8], ptr %5, i64 0, i64 0
%45 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str.5, ptr noundef %44)
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %3, align 8
%48 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str.6, ptr noundef %47)
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %4, align 8
%51 = call i32 @fprintf(ptr noundef %49, ptr noundef @.str.6, ptr noundef %50)
%52 = load ptr, ptr %7, align 8
%53 = call i32 @fclose(ptr noundef %52)
br label %59
54: ; preds = %35
%55 = call i32 @perror(ptr noundef @.str.7)
%56 = load i32, ptr @errno, align 4
%57 = call i32 @printf(ptr noundef @.str.8, i32 noundef %56)
%58 = call i32 @exit(i32 noundef 1) #3
unreachable
59: ; preds = %39
br label %60
60: ; preds = %59, %14
ret void
}
declare i32 @strcpy(ptr noundef, i32 noundef) #1
declare i32 @getenv(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, 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/tmpxrkoaciw.c'
source_filename = "/tmp/tmpxrkoaciw.c"
target datalayout = "e-m:e-p270: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/tmpxrkoaciw.c"
target datalayout = "e-m:e-p270: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/tmp75kv9lmb.c'
source_filename = "/tmp/tmp75kv9lmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grad_img(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 %15, 2
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %11, align 8
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 2
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 2
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %13, align 8
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = call i32 @sobelx(ptr noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %12, align 8
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %10, align 4
%41 = call i32 @sobely(ptr noundef %37, ptr noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load ptr, ptr %11, align 8
%43 = load ptr, ptr %12, align 8
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %10, align 4
%46 = call i32 @mag_img(ptr noundef %42, ptr noundef %43, ptr noundef %44, i32 noundef %45)
%47 = load ptr, ptr %13, align 8
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %10, align 4
%51 = call i32 @scale_img(ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef 1, i32 noundef 1, i32 noundef %50)
%52 = load ptr, ptr %11, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load ptr, ptr %12, align 8
%55 = call i32 @free(ptr noundef %54)
%56 = load ptr, ptr %13, align 8
%57 = call i32 @free(ptr noundef %56)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sobelx(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sobely(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mag_img(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scale_img(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp75kv9lmb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grad_img(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 %15, 2
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %11, align 8
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 2
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 2
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %13, align 8
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = call i32 @sobelx(ptr noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %12, align 8
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %10, align 4
%41 = call i32 @sobely(ptr noundef %37, ptr noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load ptr, ptr %11, align 8
%43 = load ptr, ptr %12, align 8
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %10, align 4
%46 = call i32 @mag_img(ptr noundef %42, ptr noundef %43, ptr noundef %44, i32 noundef %45)
%47 = load ptr, ptr %13, align 8
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %10, align 4
%51 = call i32 @scale_img(ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef 1, i32 noundef 1, i32 noundef %50)
%52 = load ptr, ptr %11, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load ptr, ptr %12, align 8
%55 = call i32 @free(ptr noundef %54)
%56 = load ptr, ptr %13, align 8
%57 = call i32 @free(ptr noundef %56)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sobelx(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sobely(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mag_img(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scale_img(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprznn0ku4.c'
source_filename = "/tmp/tmprznn0ku4.c"
target datalayout = "e-m:e-p270: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/tmprznn0ku4.c"
target datalayout = "e-m:e-p270: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/tmpjkgpd60k.c'
source_filename = "/tmp/tmpjkgpd60k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @lpxrxtest_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @lpxrxtest_main(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/tmpjkgpd60k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @lpxrxtest_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @lpxrxtest_main(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/tmpc9m_ms_k.c'
source_filename = "/tmp/tmpc9m_ms_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load ptr, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %10, %0
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %14
9: ; preds = %5
br label %10
10: ; preds = %9
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
br label %15
15: ; preds = %31, %14
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %16, 90
br i1 %17, label %18, label %32
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 80
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 10
store i32 %23, ptr %3, align 4
br label %31
24: ; preds = %18
%25 = load i32, ptr %3, align 4
%26 = icmp sge i32 %25, 80
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30, %21
br label %15, !llvm.loop !8
32: ; preds = %15
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %3, align 4
%36 = call i32 @print_test(i32 noundef %34, i32 noundef %35)
ret i32 0
}
declare i32 @print_test(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc9m_ms_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load ptr, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %9
br label %9
9: ; preds = %8
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %17, 90
br i1 %18, label %.lr.ph2, label %35
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %32
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 80
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 10
store i32 %24, ptr %3, align 4
br label %32
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = icmp sge i32 %26, 80
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %28, %25
br label %32
32: ; preds = %31, %22
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 90
br i1 %34, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %35
35: ; preds = %._crit_edge3, %16
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %3, align 4
%39 = call i32 @print_test(i32 noundef %37, i32 noundef %38)
ret i32 0
}
declare i32 @print_test(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7fa6ur2s.c'
source_filename = "/tmp/tmp7fa6ur2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 0 for X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x58() #0 {
%1 = call i64 @isdigit(i32 noundef 88)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 445, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmp7fa6ur2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isdigit should be 0 for X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x58() #0 {
%1 = call i64 @isdigit(i32 noundef 88)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 445, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpztg8du_h.c'
source_filename = "/tmp/tmpztg8du_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @project_manager_restart_project(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 @project_manager_shutdown_project(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @project_manager_start_project(ptr noundef %5)
ret void
}
declare i32 @project_manager_shutdown_project(ptr noundef) #1
declare i32 @project_manager_start_project(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpztg8du_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @project_manager_restart_project(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 @project_manager_shutdown_project(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @project_manager_start_project(ptr noundef %5)
ret void
}
declare i32 @project_manager_shutdown_project(ptr noundef) #1
declare i32 @project_manager_start_project(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt1w3ozsb.c'
source_filename = "/tmp/tmpt1w3ozsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [83 x i8] c"\C2\BC\C3\86\C3\8B\C3\A3\C3\95\C3\BB\C3\8A\C3\BD\C2\B5\C3\84\C3\95\C3\BD\C3\95\C3\BB\C3\8A\C3\BD\C2\B4\C3\8E\C2\B7\C2\BD\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\95\C3\BB\C3\8A\C3\BD\C2\BA\C3\8D\C2\B4\C3\8E\C2\B7\C2\BD\C3\8A\C3\BD:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%i %i\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%i\C2\B5\C3\84%i\C2\B4\C3\8E\C2\B7\C2\BD\C3\8E\C2\AA:%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @x_to_the_n(i32 noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %7, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @x_to_the_n(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/tmpt1w3ozsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [83 x i8] c"\C2\BC\C3\86\C3\8B\C3\A3\C3\95\C3\BB\C3\8A\C3\BD\C2\B5\C3\84\C3\95\C3\BD\C3\95\C3\BB\C3\8A\C3\BD\C2\B4\C3\8E\C2\B7\C2\BD\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\95\C3\BB\C3\8A\C3\BD\C2\BA\C3\8D\C2\B4\C3\8E\C2\B7\C2\BD\C3\8A\C3\BD:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%i %i\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%i\C2\B5\C3\84%i\C2\B4\C3\8E\C2\B7\C2\BD\C3\8E\C2\AA:%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @x_to_the_n(i32 noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %7, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @x_to_the_n(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/tmpc1r9b1oo.c'
source_filename = "/tmp/tmpc1r9b1oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @degps_of_radps(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load i32, ptr @M_PI, align 4
%5 = mul nsw i32 2, %4
%6 = sitofp i32 %5 to double
%7 = fdiv double %3, %6
%8 = fmul double %7, 6.000000e+01
%9 = fmul double %8, 3.600000e+02
ret double %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc1r9b1oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @degps_of_radps(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load i32, ptr @M_PI, align 4
%5 = mul nsw i32 2, %4
%6 = sitofp i32 %5 to double
%7 = fdiv double %3, %6
%8 = fmul double %7, 6.000000e+01
%9 = fmul double %8, 3.600000e+02
ret double %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcf7opjxy.c'
source_filename = "/tmp/tmpcf7opjxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert_false(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load ptr, ptr %7, align 8
%14 = call i32 @minitest_pass(ptr noundef %13)
store i32 %14, ptr %5, align 4
br label %20
15: ; preds = %4
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %9, align 4
%19 = call i32 @minitest_fail(ptr noundef %16, ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %15, %12
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @minitest_pass(ptr noundef) #1
declare i32 @minitest_fail(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/tmpcf7opjxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert_false(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load ptr, ptr %7, align 8
%14 = call i32 @minitest_pass(ptr noundef %13)
store i32 %14, ptr %5, align 4
br label %20
15: ; preds = %4
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %9, align 4
%19 = call i32 @minitest_fail(ptr noundef %16, ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %15, %12
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @minitest_pass(ptr noundef) #1
declare i32 @minitest_fail(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/tmp3y34bugw.c'
source_filename = "/tmp/tmp3y34bugw.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"The program %s embeds a graph in multicode format.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" %s [options]\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, i32 noundef 4000)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7)
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/tmp3y34bugw.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"The program %s embeds a graph in multicode format.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c" %s [options]\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1
@.str.7 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, i32 noundef 4000)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7)
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/tmp857320c0.c'
source_filename = "/tmp/tmp857320c0.c"
target datalayout = "e-m:e-p270: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/tmp857320c0.c"
target datalayout = "e-m:e-p270: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/tmplcqo92og.c'
source_filename = "/tmp/tmplcqo92og.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 39173482, ptr %2, align 4
store i32 127371, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = srem i32 %4, %5
%7 = icmp eq i32 %6, 70585
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplcqo92og.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 39173482, ptr %2, align 4
store i32 127371, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = srem i32 %4, %5
%7 = icmp eq i32 %6, 70585
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqeem8eq4.c'
source_filename = "/tmp/tmpqeem8eq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %10, %1
%5 = load ptr, ptr %2, align 8
%6 = load i64, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %5, i64 %6
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i64, ptr %3, align 8
%12 = add i64 %11, 1
store i64 %12, ptr %3, align 8
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = load i64, ptr %3, align 8
ret i64 %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqeem8eq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i64, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %4, i64 %5
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i64, ptr %3, align 8
%11 = add i64 %10, 1
store i64 %11, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i64, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i64, ptr %3, align 8
ret i64 %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp69_ho67u.c'
source_filename = "/tmp/tmp69_ho67u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"a = %d, b = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @funct(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp69_ho67u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"a = %d, b = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @funct(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpahmbklre.c'
source_filename = "/tmp/tmpahmbklre.c"
target datalayout = "e-m:e-p270: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/tmpahmbklre.c"
target datalayout = "e-m:e-p270: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/tmpn6xdvxlb.c'
source_filename = "/tmp/tmpn6xdvxlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap_shdr(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 = call i32 @ntohl(i32 noundef %15)
%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
}
declare i32 @ntohl(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/tmpn6xdvxlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap_shdr(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 = call i32 @ntohl(i32 noundef %14)
%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
}
declare i32 @ntohl(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/tmpyloz65ye.c'
source_filename = "/tmp/tmpyloz65ye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DupString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
ret ptr %13
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @assert(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyloz65ye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DupString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
ret ptr %13
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @assert(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"}
|
; ModuleID = '/tmp/tmpxc6f9msr.c'
source_filename = "/tmp/tmpxc6f9msr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c" n un tn en An\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"init - %12.8f %12.8f %12.8f\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%4u %12.8f %12.8f %12.8f %12.8f\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"true:%12.8f %12.8f\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 double, align 8
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 12, ptr %2, align 4
store double 2.000000e+00, ptr %3, align 8
store double 5.000000e-01, ptr %4, align 8
%15 = load i32, ptr %2, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %5, align 8
%18 = alloca double, i64 %16, align 16
store i64 %16, ptr %6, align 8
%19 = load double, ptr %3, align 8
%20 = call double @log(double noundef %19) #5
%21 = fdiv double 1.000000e+00, %20
store double %21, ptr %7, align 8
store double 1.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %22
22: ; preds = %37, %0
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = load double, ptr %8, align 8
%28 = fadd double 1.000000e+00, %27
%29 = call double @log(double noundef %28) #5
%30 = load double, ptr %7, align 8
%31 = fmul double %29, %30
%32 = load i32, ptr %9, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %18, i64 %33
store double %31, ptr %34, align 8
%35 = load double, ptr %8, align 8
%36 = fmul double %35, 5.000000e-01
store double %36, ptr %8, align 8
br label %37
37: ; preds = %26
%38 = load i32, ptr %9, align 4
%39 = add i32 %38, 1
store i32 %39, ptr %9, align 4
br label %22, !llvm.loop !6
40: ; preds = %22
store double 0.000000e+00, ptr %10, align 8
store double 1.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 1.000000e+00, ptr %13, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%42 = load double, ptr %10, align 8
%43 = load double, ptr %11, align 8
%44 = getelementptr inbounds double, ptr %18, i64 0
%45 = load double, ptr %44, align 16
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %42, double noundef %43, double noundef %45)
store i32 1, ptr %9, align 4
br label %47
47: ; preds = %85, %40
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp ult i32 %48, %49
br i1 %50, label %51, label %88
51: ; preds = %47
%52 = load double, ptr %13, align 8
%53 = fmul double %52, 5.000000e-01
store double %53, ptr %13, align 8
br label %54
54: ; preds = %78, %51
br label %55
55: ; preds = %54
%56 = load double, ptr %10, align 8
%57 = load i32, ptr %9, align 4
%58 = zext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %18, i64 %58
%60 = load double, ptr %59, align 8
%61 = fadd double %56, %60
store double %61, ptr %12, align 8
%62 = load double, ptr %12, align 8
%63 = load double, ptr %4, align 8
%64 = fcmp ole double %62, %63
%65 = zext i1 %64 to i32
store i32 %65, ptr %14, align 4
%66 = load i32, ptr %9, align 4
%67 = load double, ptr %12, align 8
%68 = load double, ptr %10, align 8
%69 = load double, ptr %11, align 8
%70 = load i32, ptr %9, align 4
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %18, i64 %71
%73 = load double, ptr %72, align 8
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66, double noundef %67, double noundef %68, double noundef %69, double noundef %73)
%75 = load i32, ptr %14, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %55
br label %84
78: ; preds = %55
%79 = load double, ptr %12, align 8
store double %79, ptr %10, align 8
%80 = load double, ptr %11, align 8
%81 = load double, ptr %13, align 8
%82 = load double, ptr %11, align 8
%83 = call double @llvm.fmuladd.f64(double %80, double %81, double %82)
store double %83, ptr %11, align 8
br label %54
84: ; preds = %77
br label %85
85: ; preds = %84
%86 = load i32, ptr %9, align 4
%87 = add i32 %86, 1
store i32 %87, ptr %9, align 4
br label %47, !llvm.loop !8
88: ; preds = %47
%89 = load double, ptr %4, align 8
%90 = load double, ptr %4, align 8
%91 = call double @exp2f(double noundef %90)
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %89, double noundef %91)
store i32 0, ptr %1, align 4
%93 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %93)
%94 = load i32, ptr %1, align 4
ret i32 %94
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare i32 @printf(ptr noundef, ...) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
declare double @exp2f(double noundef) #3
; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxc6f9msr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c" n un tn en An\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"init - %12.8f %12.8f %12.8f\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%4u %12.8f %12.8f %12.8f %12.8f\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"true:%12.8f %12.8f\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 double, align 8
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 12, ptr %2, align 4
store double 2.000000e+00, ptr %3, align 8
store double 5.000000e-01, ptr %4, align 8
%15 = load i32, ptr %2, align 4
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave()
store ptr %17, ptr %5, align 8
%18 = alloca double, i64 %16, align 16
store i64 %16, ptr %6, align 8
%19 = load double, ptr %3, align 8
%20 = call double @log(double noundef %19) #5
%21 = fdiv double 1.000000e+00, %20
store double %21, ptr %7, align 8
store double 1.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp ult i32 %22, %23
br i1 %24, label %.lr.ph, label %42
.lr.ph: ; preds = %0
br label %25
25: ; preds = %.lr.ph, %36
%26 = load double, ptr %8, align 8
%27 = fadd double 1.000000e+00, %26
%28 = call double @log(double noundef %27) #5
%29 = load double, ptr %7, align 8
%30 = fmul double %28, %29
%31 = load i32, ptr %9, align 4
%32 = zext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %18, i64 %32
store double %30, ptr %33, align 8
%34 = load double, ptr %8, align 8
%35 = fmul double %34, 5.000000e-01
store double %35, ptr %8, align 8
br label %36
36: ; preds = %25
%37 = load i32, ptr %9, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp ult i32 %39, %40
br i1 %41, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %0
store double 0.000000e+00, ptr %10, align 8
store double 1.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store double 1.000000e+00, ptr %13, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%44 = load double, ptr %10, align 8
%45 = load double, ptr %11, align 8
%46 = getelementptr inbounds double, ptr %18, i64 0
%47 = load double, ptr %46, align 16
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %44, double noundef %45, double noundef %47)
store i32 1, ptr %9, align 4
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %2, align 4
%51 = icmp ult i32 %49, %50
br i1 %51, label %.lr.ph2, label %92
.lr.ph2: ; preds = %42
br label %52
52: ; preds = %.lr.ph2, %86
%53 = load double, ptr %13, align 8
%54 = fmul double %53, 5.000000e-01
store double %54, ptr %13, align 8
br label %55
55: ; preds = %79, %52
br label %56
56: ; preds = %55
%57 = load double, ptr %10, align 8
%58 = load i32, ptr %9, align 4
%59 = zext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %18, i64 %59
%61 = load double, ptr %60, align 8
%62 = fadd double %57, %61
store double %62, ptr %12, align 8
%63 = load double, ptr %12, align 8
%64 = load double, ptr %4, align 8
%65 = fcmp ole double %63, %64
%66 = zext i1 %65 to i32
store i32 %66, ptr %14, align 4
%67 = load i32, ptr %9, align 4
%68 = load double, ptr %12, align 8
%69 = load double, ptr %10, align 8
%70 = load double, ptr %11, align 8
%71 = load i32, ptr %9, align 4
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %18, i64 %72
%74 = load double, ptr %73, align 8
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67, double noundef %68, double noundef %69, double noundef %70, double noundef %74)
%76 = load i32, ptr %14, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %79
78: ; preds = %56
br label %85
79: ; preds = %56
%80 = load double, ptr %12, align 8
store double %80, ptr %10, align 8
%81 = load double, ptr %11, align 8
%82 = load double, ptr %13, align 8
%83 = load double, ptr %11, align 8
%84 = call double @llvm.fmuladd.f64(double %81, double %82, double %83)
store double %84, ptr %11, align 8
br label %55
85: ; preds = %78
br label %86
86: ; preds = %85
%87 = load i32, ptr %9, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %9, align 4
%89 = load i32, ptr %9, align 4
%90 = load i32, ptr %2, align 4
%91 = icmp ult i32 %89, %90
br i1 %91, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %92
92: ; preds = %._crit_edge3, %42
%93 = load double, ptr %4, align 8
%94 = load double, ptr %4, align 8
%95 = call double @exp2f(double noundef %94)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %93, double noundef %95)
store i32 0, ptr %1, align 4
%97 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %97)
%98 = load i32, ptr %1, align 4
ret i32 %98
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare i32 @printf(ptr noundef, ...) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
declare double @exp2f(double noundef) #3
; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzh15lgli.c'
source_filename = "/tmp/tmpzh15lgli.c"
target datalayout = "e-m:e-p270: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/tmpzh15lgli.c"
target datalayout = "e-m:e-p270: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/tmp43c3au6l.c'
source_filename = "/tmp/tmp43c3au6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @firstnot(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = trunc i32 %9 to i8
store i8 %10, ptr %8, align 1
br label %11
11: ; preds = %32, %3
%12 = load i8, ptr %8, align 1
%13 = sext i8 %12 to i32
%14 = load ptr, ptr %5, align 8
%15 = call signext i8 @strlen(ptr noundef %14)
%16 = sext i8 %15 to i32
%17 = icmp slt i32 %13, %16
br i1 %17, label %18, label %35
18: ; preds = %11
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %8, align 1
%21 = sext i8 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr %6, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %24, %26
br i1 %27, label %28, label %31
28: ; preds = %18
%29 = load i8, ptr %8, align 1
%30 = sext i8 %29 to i32
store i32 %30, ptr %4, align 4
br label %36
31: ; preds = %18
br label %32
32: ; preds = %31
%33 = load i8, ptr %8, align 1
%34 = add i8 %33, 1
store i8 %34, ptr %8, align 1
br label %11, !llvm.loop !6
35: ; preds = %11
store i32 -1, ptr %4, align 4
br label %36
36: ; preds = %35, %28
%37 = load i32, ptr %4, align 4
ret i32 %37
}
declare signext i8 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp43c3au6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @firstnot(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = trunc i32 %9 to i8
store i8 %10, ptr %8, align 1
%11 = load i8, ptr %8, align 1
%12 = sext i8 %11 to i32
%13 = load ptr, ptr %5, align 8
%14 = call signext i8 @strlen(ptr noundef %13)
%15 = sext i8 %14 to i32
%16 = icmp slt i32 %12, %15
br i1 %16, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %31
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %8, align 1
%20 = sext i8 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load i8, ptr %6, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %23, %25
br i1 %26, label %27, label %30
27: ; preds = %17
%28 = load i8, ptr %8, align 1
%29 = sext i8 %28 to i32
store i32 %29, ptr %4, align 4
br label %41
30: ; preds = %17
br label %31
31: ; preds = %30
%32 = load i8, ptr %8, align 1
%33 = add i8 %32, 1
store i8 %33, ptr %8, align 1
%34 = load i8, ptr %8, align 1
%35 = sext i8 %34 to i32
%36 = load ptr, ptr %5, align 8
%37 = call signext i8 @strlen(ptr noundef %36)
%38 = sext i8 %37 to i32
%39 = icmp slt i32 %35, %38
br i1 %39, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %40
40: ; preds = %._crit_edge, %3
store i32 -1, ptr %4, align 4
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare signext i8 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0hkge3pp.c'
source_filename = "/tmp/tmp0hkge3pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@S_IFCHR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local i32 @_fstat(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @S_IFCHR, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hkge3pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@S_IFCHR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local i32 @_fstat(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @S_IFCHR, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjuyysmmr.c'
source_filename = "/tmp/tmpjuyysmmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"\0AUser taking too long to respond. Exiting...\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_alrm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(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/tmpjuyysmmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"\0AUser taking too long to respond. Exiting...\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @catch_alrm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(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/tmp4suc73pj.c'
source_filename = "/tmp/tmp4suc73pj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"\0ASorry.\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"To edit levels for Pacman for Console, your console window\0A\00", align 1
@.str.2 = private unnamed_addr constant [61 x i8] c"must be at least 32x29 Please resize your window/resolution\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"and re-run the program.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CheckScreenSize() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @getmaxyx(i32 noundef %3, i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 32
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 29
br i1 %11, label %12, label %23
12: ; preds = %9, %0
%13 = call i32 (...) @endwin()
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.3)
%22 = call i32 @ExitProgram(ptr noundef @.str.4)
br label %23
23: ; preds = %12, %9
ret void
}
declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @endwin(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @ExitProgram(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4suc73pj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"\0ASorry.\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"To edit levels for Pacman for Console, your console window\0A\00", align 1
@.str.2 = private unnamed_addr constant [61 x i8] c"must be at least 32x29 Please resize your window/resolution\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"and re-run the program.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CheckScreenSize() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @getmaxyx(i32 noundef %3, i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 32
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 29
br i1 %11, label %12, label %23
12: ; preds = %9, %0
%13 = call i32 (...) @endwin()
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.3)
%22 = call i32 @ExitProgram(ptr noundef @.str.4)
br label %23
23: ; preds = %12, %9
ret void
}
declare i32 @getmaxyx(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @endwin(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @ExitProgram(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwm9r75d9.c'
source_filename = "/tmp/tmpwm9r75d9.c"
target datalayout = "e-m:e-p270: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.parsePacket.dlm = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str = private unnamed_addr constant [22 x i8] c"Recieved Command: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"wheelSpeed\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"done\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"readSonar\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parsePacket(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1025 x i8], align 16
%5 = alloca [1025 x i8], align 16
%6 = alloca [2 x i8], align 1
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.parsePacket.dlm, i64 2, i1 false)
%11 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strlen(ptr noundef %13)
%15 = add nsw i64 %14, 1
%16 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i64 noundef %15)
%17 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%19 = call ptr @strtok(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %20)
%22 = load ptr, ptr %7, align 8
%23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.1)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %1
%26 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%27 = call ptr @strtok(ptr noundef null, ptr noundef %26)
%28 = call float @atof(ptr noundef %27)
store float %28, ptr %8, align 4
%29 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%30 = call ptr @strtok(ptr noundef null, ptr noundef %29)
%31 = call float @atof(ptr noundef %30)
store float %31, ptr %9, align 4
%32 = load float, ptr %8, align 4
%33 = load float, ptr %9, align 4
%34 = call i32 @setWheelSpeed(float noundef %32, float noundef %33)
store ptr @.str.2, ptr %2, align 8
br label %43
35: ; preds = %1
%36 = load ptr, ptr %7, align 8
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = call ptr (...) @readSonar()
store ptr %40, ptr %10, align 8
%41 = load ptr, ptr %10, align 8
store ptr %41, ptr %2, align 8
br label %43
42: ; preds = %35
br label %43
43: ; preds = %25, %39, %42
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
; 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 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare float @atof(ptr noundef) #2
declare i32 @setWheelSpeed(float noundef, float noundef) #2
declare ptr @readSonar(...) #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/tmpwm9r75d9.c"
target datalayout = "e-m:e-p270: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.parsePacket.dlm = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str = private unnamed_addr constant [22 x i8] c"Recieved Command: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"wheelSpeed\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"done\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"readSonar\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parsePacket(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1025 x i8], align 16
%5 = alloca [1025 x i8], align 16
%6 = alloca [2 x i8], align 1
%7 = alloca ptr, align 8
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.parsePacket.dlm, i64 2, i1 false)
%11 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strlen(ptr noundef %13)
%15 = add nsw i64 %14, 1
%16 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i64 noundef %15)
%17 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%19 = call ptr @strtok(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %20)
%22 = load ptr, ptr %7, align 8
%23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.1)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %1
%26 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%27 = call ptr @strtok(ptr noundef null, ptr noundef %26)
%28 = call float @atof(ptr noundef %27)
store float %28, ptr %8, align 4
%29 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%30 = call ptr @strtok(ptr noundef null, ptr noundef %29)
%31 = call float @atof(ptr noundef %30)
store float %31, ptr %9, align 4
%32 = load float, ptr %8, align 4
%33 = load float, ptr %9, align 4
%34 = call i32 @setWheelSpeed(float noundef %32, float noundef %33)
store ptr @.str.2, ptr %2, align 8
br label %43
35: ; preds = %1
%36 = load ptr, ptr %7, align 8
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = call ptr (...) @readSonar()
store ptr %40, ptr %10, align 8
%41 = load ptr, ptr %10, align 8
store ptr %41, ptr %2, align 8
br label %43
42: ; preds = %35
br label %43
43: ; preds = %42, %39, %25
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
; 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 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare float @atof(ptr noundef) #2
declare i32 @setWheelSpeed(float noundef, float noundef) #2
declare ptr @readSonar(...) #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/tmpuza4lpsm.c'
source_filename = "/tmp/tmpuza4lpsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @expran(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fneg double %3
%5 = call i64 (...) @Rand()
%6 = sitofp i64 %5 to double
%7 = fadd double 0x3E7AD7F29ABCAF48, %6
%8 = fptosi double %7 to i64
%9 = call double @log(i64 noundef %8)
%10 = fmul double %4, %9
ret double %10
}
declare double @log(i64 noundef) #1
declare i64 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuza4lpsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @expran(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fneg double %3
%5 = call i64 (...) @Rand()
%6 = sitofp i64 %5 to double
%7 = fadd double 0x3E7AD7F29ABCAF48, %6
%8 = fptosi double %7 to i64
%9 = call double @log(i64 noundef %8)
%10 = fmul double %4, %9
ret double %10
}
declare double @log(i64 noundef) #1
declare i64 @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"}
|
; ModuleID = '/tmp/tmpatx2hwei.c'
source_filename = "/tmp/tmpatx2hwei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutilsFreeTokens(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 = %25, %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 %28
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 ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %24
17: ; preds = %10
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @free(ptr noundef %22)
br label %24
24: ; preds = %17, %10
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %6, !llvm.loop !6
28: ; preds = %6
%29 = load ptr, ptr %3, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load ptr, ptr %3, align 8
%33 = call i32 @free(ptr noundef %32)
br label %34
34: ; preds = %31, %28
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpatx2hwei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutilsFreeTokens(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 %30
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %23
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 @free(ptr noundef %21)
br label %23
23: ; preds = %16, %9
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %3, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load ptr, ptr %3, align 8
%35 = call i32 @free(ptr noundef %34)
br label %36
36: ; preds = %33, %30
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9b3xe9rb.c'
source_filename = "/tmp/tmp9b3xe9rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @push_register_pair_test()
%7 = call i32 (...) @push_sp_test()
%8 = call i32 (...) @push_processor_status_word_test()
%9 = call i32 (...) @pop_register_pair_test()
%10 = call i32 (...) @pop_sp_test()
%11 = call i32 (...) @pop_processor_status_word_test()
%12 = call i32 (...) @exchange_stack_top_with_HL_test()
%13 = call i32 (...) @move_HL_to_SP_test()
ret i32 0
}
declare i32 @push_register_pair_test(...) #1
declare i32 @push_sp_test(...) #1
declare i32 @push_processor_status_word_test(...) #1
declare i32 @pop_register_pair_test(...) #1
declare i32 @pop_sp_test(...) #1
declare i32 @pop_processor_status_word_test(...) #1
declare i32 @exchange_stack_top_with_HL_test(...) #1
declare i32 @move_HL_to_SP_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9b3xe9rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @push_register_pair_test()
%7 = call i32 (...) @push_sp_test()
%8 = call i32 (...) @push_processor_status_word_test()
%9 = call i32 (...) @pop_register_pair_test()
%10 = call i32 (...) @pop_sp_test()
%11 = call i32 (...) @pop_processor_status_word_test()
%12 = call i32 (...) @exchange_stack_top_with_HL_test()
%13 = call i32 (...) @move_HL_to_SP_test()
ret i32 0
}
declare i32 @push_register_pair_test(...) #1
declare i32 @push_sp_test(...) #1
declare i32 @push_processor_status_word_test(...) #1
declare i32 @pop_register_pair_test(...) #1
declare i32 @pop_sp_test(...) #1
declare i32 @pop_processor_status_word_test(...) #1
declare i32 @exchange_stack_top_with_HL_test(...) #1
declare i32 @move_HL_to_SP_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpenalbu1h.c'
source_filename = "/tmp/tmpenalbu1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_vmvn_u32x4(ptr noalias noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %20, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 4
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = xor i32 %14, -1
%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
br label %6, !llvm.loop !6
23: ; 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/tmpenalbu1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_vmvn_u32x4(ptr noalias noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %19
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = xor i32 %13, -1
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, 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 = %8
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 4
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; 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/tmp2x91lvep.c'
source_filename = "/tmp/tmp2x91lvep.c"
target datalayout = "e-m:e-p270: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/tmp2x91lvep.c"
target datalayout = "e-m:e-p270: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/tmpd4dxrf1p.c'
source_filename = "/tmp/tmpd4dxrf1p.c"
target datalayout = "e-m:e-p270: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/tmpd4dxrf1p.c"
target datalayout = "e-m:e-p270: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/tmp5ao5xusr.c'
source_filename = "/tmp/tmp5ao5xusr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Mean = %.15f, sd=%.15f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 2097152, ptr %5, align 8
store i64 1048576, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = load i64, ptr %5, align 8
br label %15
13: ; preds = %0
%14 = load i64, ptr %6, align 8
br label %15
15: ; preds = %13, %11
%16 = phi i64 [ %12, %11 ], [ %14, %13 ]
store i64 %16, ptr %7, align 8
%17 = load i64, ptr %7, align 8
%18 = mul i64 8, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %2, align 8
%22 = load i64, ptr %5, align 8
%23 = load i64, ptr %6, align 8
%24 = load ptr, ptr %2, align 8
%25 = call i32 @osso_targ(i64 noundef %22, i64 noundef %23, ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @calcMeanAndSD(ptr noundef %26, i64 noundef %27, ptr noundef %3, ptr noundef %4)
%29 = load double, ptr %3, align 8
%30 = load double, ptr %4, align 8
%31 = call i32 @printf(ptr noundef @.str, double noundef %29, double noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = call i32 @free(ptr noundef %32)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @osso_targ(i64 noundef, i64 noundef, ptr noundef) #1
declare i32 @calcMeanAndSD(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ao5xusr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Mean = %.15f, sd=%.15f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 2097152, ptr %5, align 8
store i64 1048576, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = load i64, ptr %5, align 8
br label %15
13: ; preds = %0
%14 = load i64, ptr %6, align 8
br label %15
15: ; preds = %13, %11
%16 = phi i64 [ %12, %11 ], [ %14, %13 ]
store i64 %16, ptr %7, align 8
%17 = load i64, ptr %7, align 8
%18 = mul i64 8, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %2, align 8
%22 = load i64, ptr %5, align 8
%23 = load i64, ptr %6, align 8
%24 = load ptr, ptr %2, align 8
%25 = call i32 @osso_targ(i64 noundef %22, i64 noundef %23, ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @calcMeanAndSD(ptr noundef %26, i64 noundef %27, ptr noundef %3, ptr noundef %4)
%29 = load double, ptr %3, align 8
%30 = load double, ptr %4, align 8
%31 = call i32 @printf(ptr noundef @.str, double noundef %29, double noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = call i32 @free(ptr noundef %32)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @osso_targ(i64 noundef, i64 noundef, ptr noundef) #1
declare i32 @calcMeanAndSD(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnn0db_vw.c'
source_filename = "/tmp/tmpnn0db_vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 {
%1 = call i32 @recFunc(i32 noundef 5)
ret void
}
declare i32 @recFunc(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/tmpnn0db_vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 {
%1 = call i32 @recFunc(i32 noundef 5)
ret void
}
declare i32 @recFunc(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/tmppcu69yod.c'
source_filename = "/tmp/tmppcu69yod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Usage:\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c" bee-cache-inventory [options] <file|directory>\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Options:\00", align 1
@.str.4 = private unnamed_addr constant [67 x i8] c" -h | --help print this little help screen\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c" -o | --output <file|directory> move output to <file>\00", align 1
@.str.6 = private unnamed_addr constant [102 x i8] c" if <directory> is given, it is created in case it does not exist\00", align 1
@.str.7 = private unnamed_addr constant [90 x i8] c" and the output is placed in a file in that directory\00", align 1
@.str.8 = private unnamed_addr constant [75 x i8] c" -p | --prepend <text> prepend <text> to each line of output\00", align 1
@.str.9 = private unnamed_addr constant [74 x i8] c" -a | --append <text> append <text> to each line of output\00", align 1
@.str.10 = private unnamed_addr constant [80 x i8] c" -m | --multiplefiles use -m to split output into multiple files\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_full_usage() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.5)
%7 = call i32 @puts(ptr noundef @.str.6)
%8 = call i32 @puts(ptr noundef @.str.7)
%9 = call i32 @puts(ptr noundef @.str.8)
%10 = call i32 @puts(ptr noundef @.str.9)
%11 = call i32 @puts(ptr noundef @.str.10)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppcu69yod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Usage:\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c" bee-cache-inventory [options] <file|directory>\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Options:\00", align 1
@.str.4 = private unnamed_addr constant [67 x i8] c" -h | --help print this little help screen\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c" -o | --output <file|directory> move output to <file>\00", align 1
@.str.6 = private unnamed_addr constant [102 x i8] c" if <directory> is given, it is created in case it does not exist\00", align 1
@.str.7 = private unnamed_addr constant [90 x i8] c" and the output is placed in a file in that directory\00", align 1
@.str.8 = private unnamed_addr constant [75 x i8] c" -p | --prepend <text> prepend <text> to each line of output\00", align 1
@.str.9 = private unnamed_addr constant [74 x i8] c" -a | --append <text> append <text> to each line of output\00", align 1
@.str.10 = private unnamed_addr constant [80 x i8] c" -m | --multiplefiles use -m to split output into multiple files\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_full_usage() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.5)
%7 = call i32 @puts(ptr noundef @.str.6)
%8 = call i32 @puts(ptr noundef @.str.7)
%9 = call i32 @puts(ptr noundef @.str.8)
%10 = call i32 @puts(ptr noundef @.str.9)
%11 = call i32 @puts(ptr noundef @.str.10)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsap9keb8.c'
source_filename = "/tmp/tmpsap9keb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%7 = call i32 @send_short(i32 noundef 65535)
%8 = call i32 @send_short(i32 noundef 21845)
%9 = call i32 @set_b(i32 noundef 0)
%10 = call i32 @set_b(i32 noundef 0)
%11 = call i32 @set_b(i32 noundef 0)
%12 = call i32 @set_b(i32 noundef 0)
%13 = call i32 @set_b(i32 noundef 0)
%14 = call i32 @set_b(i32 noundef 0)
%15 = call i32 @set_b(i32 noundef 1)
%16 = call i32 @set_b(i32 noundef 0)
%17 = call zeroext i16 @me_encode(i8 noundef zeroext 53)
store i16 %17, ptr %6, align 2
%18 = load i16, ptr %6, align 2
%19 = zext i16 %18 to i32
%20 = call i32 @send_short(i32 noundef %19)
store i8 0, ptr %5, align 1
br label %21
21: ; preds = %37, %2
%22 = load i8, ptr %5, align 1
%23 = zext i8 %22 to i32
%24 = load i8, ptr %4, align 1
%25 = zext i8 %24 to i32
%26 = icmp slt i32 %23, %25
br i1 %26, label %27, label %40
27: ; preds = %21
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %5, align 1
%30 = zext i8 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = call zeroext i16 @me_encode(i8 noundef zeroext %32)
store i16 %33, ptr %6, align 2
%34 = load i16, ptr %6, align 2
%35 = zext i16 %34 to i32
%36 = call i32 @send_short(i32 noundef %35)
br label %37
37: ; preds = %27
%38 = load i8, ptr %5, align 1
%39 = add i8 %38, 1
store i8 %39, ptr %5, align 1
br label %21, !llvm.loop !6
40: ; preds = %21
%41 = call i32 @set_b(i32 noundef 1)
%42 = call i32 @set_b(i32 noundef 0)
%43 = call i32 @send_short(i32 noundef 0)
ret void
}
declare i32 @send_short(i32 noundef) #1
declare i32 @set_b(i32 noundef) #1
declare zeroext i16 @me_encode(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsap9keb8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%7 = call i32 @send_short(i32 noundef 65535)
%8 = call i32 @send_short(i32 noundef 21845)
%9 = call i32 @set_b(i32 noundef 0)
%10 = call i32 @set_b(i32 noundef 0)
%11 = call i32 @set_b(i32 noundef 0)
%12 = call i32 @set_b(i32 noundef 0)
%13 = call i32 @set_b(i32 noundef 0)
%14 = call i32 @set_b(i32 noundef 0)
%15 = call i32 @set_b(i32 noundef 1)
%16 = call i32 @set_b(i32 noundef 0)
%17 = call zeroext i16 @me_encode(i8 noundef zeroext 53)
store i16 %17, ptr %6, align 2
%18 = load i16, ptr %6, align 2
%19 = zext i16 %18 to i32
%20 = call i32 @send_short(i32 noundef %19)
store i8 0, ptr %5, align 1
%21 = load i8, ptr %5, align 1
%22 = zext i8 %21 to i32
%23 = load i8, ptr %4, align 1
%24 = zext i8 %23 to i32
%25 = icmp slt i32 %22, %24
br i1 %25, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %26
26: ; preds = %.lr.ph, %36
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %5, align 1
%29 = zext i8 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = call zeroext i16 @me_encode(i8 noundef zeroext %31)
store i16 %32, ptr %6, align 2
%33 = load i16, ptr %6, align 2
%34 = zext i16 %33 to i32
%35 = call i32 @send_short(i32 noundef %34)
br label %36
36: ; preds = %26
%37 = load i8, ptr %5, align 1
%38 = add i8 %37, 1
store i8 %38, ptr %5, align 1
%39 = load i8, ptr %5, align 1
%40 = zext i8 %39 to i32
%41 = load i8, ptr %4, align 1
%42 = zext i8 %41 to i32
%43 = icmp slt i32 %40, %42
br i1 %43, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %44
44: ; preds = %._crit_edge, %2
%45 = call i32 @set_b(i32 noundef 1)
%46 = call i32 @set_b(i32 noundef 0)
%47 = call i32 @send_short(i32 noundef 0)
ret void
}
declare i32 @send_short(i32 noundef) #1
declare i32 @set_b(i32 noundef) #1
declare zeroext i16 @me_encode(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpw1wa8n_y.c'
source_filename = "/tmp/tmpw1wa8n_y.c"
target datalayout = "e-m:e-p270: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/tmpw1wa8n_y.c"
target datalayout = "e-m:e-p270: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/tmpguvqp0hk.c'
source_filename = "/tmp/tmpguvqp0hk.c"
target datalayout = "e-m:e-p270: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.termios = type { i32 }
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @palla_getpass(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.termios, align 4
%9 = alloca %struct.termios, align 4
%10 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fileno(i32 noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i64, ptr %5, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %15, %2
store i32 -1, ptr %3, align 4
br label %66
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = call i32 @gp_save_term(i32 noundef %20, ptr noundef %8)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %19
store i32 -1, ptr %3, align 4
br label %66
24: ; preds = %19
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %8, i64 4, i1 false)
%25 = call i32 @gp_set_password_flags(ptr noundef %9)
%26 = load i32, ptr %7, align 4
%27 = call i32 @gp_load_term(i32 noundef %26, ptr noundef %9)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 -1, ptr %3, align 4
br label %66
30: ; preds = %24
store i32 0, ptr %6, align 4
br label %31
31: ; preds = %47, %30
%32 = load i32, ptr %6, align 4
%33 = zext i32 %32 to i64
%34 = load i64, ptr %5, align 8
%35 = sub i64 %34, 1
%36 = icmp ult i64 %33, %35
br i1 %36, label %37, label %55
37: ; preds = %31
%38 = load i32, ptr %7, align 4
%39 = call i64 @read(i32 noundef %38, ptr noundef %10, i32 noundef 1)
%40 = icmp sle i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
br label %55
42: ; preds = %37
%43 = load i8, ptr %10, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 10
br i1 %45, label %46, label %47
46: ; preds = %42
br label %55
47: ; preds = %42
%48 = load i8, ptr %10, align 1
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 %48, ptr %52, align 1
%53 = load i32, ptr %6, align 4
%54 = add i32 %53, 1
store i32 %54, ptr %6, align 4
br label %31, !llvm.loop !6
55: ; preds = %46, %41, %31
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %6, align 4
%58 = zext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
store i8 0, ptr %59, align 1
%60 = load i32, ptr %7, align 4
%61 = call i32 @gp_load_term(i32 noundef %60, ptr noundef %8)
%62 = icmp eq i32 %61, -1
br i1 %62, label %63, label %64
63: ; preds = %55
store i32 -1, ptr %3, align 4
br label %66
64: ; preds = %55
%65 = load i32, ptr %6, align 4
store i32 %65, ptr %3, align 4
br label %66
66: ; preds = %64, %63, %29, %23, %18
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @fileno(i32 noundef) #1
declare i32 @gp_save_term(i32 noundef, 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 @gp_set_password_flags(ptr noundef) #1
declare i32 @gp_load_term(i32 noundef, ptr noundef) #1
declare i64 @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" }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpguvqp0hk.c"
target datalayout = "e-m:e-p270: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.termios = type { i32 }
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @palla_getpass(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.termios, align 4
%9 = alloca %struct.termios, align 4
%10 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fileno(i32 noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i64, ptr %5, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %15, %2
store i32 -1, ptr %3, align 4
br label %70
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = call i32 @gp_save_term(i32 noundef %20, ptr noundef %8)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %19
store i32 -1, ptr %3, align 4
br label %70
24: ; preds = %19
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %8, i64 4, i1 false)
%25 = call i32 @gp_set_password_flags(ptr noundef %9)
%26 = load i32, ptr %7, align 4
%27 = call i32 @gp_load_term(i32 noundef %26, ptr noundef %9)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 -1, ptr %3, align 4
br label %70
30: ; preds = %24
store i32 0, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = zext i32 %31 to i64
%33 = load i64, ptr %5, align 8
%34 = sub i64 %33, 1
%35 = icmp ult i64 %32, %34
br i1 %35, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %30
br label %36
36: ; preds = %.lr.ph, %46
%37 = load i32, ptr %7, align 4
%38 = call i64 @read(i32 noundef %37, ptr noundef %10, i32 noundef 1)
%39 = icmp sle i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %36
br label %59
41: ; preds = %36
%42 = load i8, ptr %10, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 10
br i1 %44, label %45, label %46
45: ; preds = %41
br label %59
46: ; preds = %41
%47 = load i8, ptr %10, align 1
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %6, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
store i8 %47, ptr %51, align 1
%52 = load i32, ptr %6, align 4
%53 = add i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = zext i32 %54 to i64
%56 = load i64, ptr %5, align 8
%57 = sub i64 %56, 1
%58 = icmp ult i64 %55, %57
br i1 %58, label %36, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %46
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %30
br label %59
59: ; preds = %.loopexit, %45, %40
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %6, align 4
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 0, ptr %63, align 1
%64 = load i32, ptr %7, align 4
%65 = call i32 @gp_load_term(i32 noundef %64, ptr noundef %8)
%66 = icmp eq i32 %65, -1
br i1 %66, label %67, label %68
67: ; preds = %59
store i32 -1, ptr %3, align 4
br label %70
68: ; preds = %59
%69 = load i32, ptr %6, align 4
store i32 %69, ptr %3, align 4
br label %70
70: ; preds = %68, %67, %29, %23, %18
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare i32 @fileno(i32 noundef) #1
declare i32 @gp_save_term(i32 noundef, 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 @gp_set_password_flags(ptr noundef) #1
declare i32 @gp_load_term(i32 noundef, ptr noundef) #1
declare i64 @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" }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk1jh7efk.c'
source_filename = "/tmp/tmpk1jh7efk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @platform_strerror(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @platform_mem_allocate(i32 noundef 128)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %2, align 4
%8 = call i32 @strerror_s(ptr noundef %6, i32 noundef 128, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare i64 @platform_mem_allocate(i32 noundef) #1
declare i32 @strerror_s(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/tmpk1jh7efk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @platform_strerror(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @platform_mem_allocate(i32 noundef 128)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %2, align 4
%8 = call i32 @strerror_s(ptr noundef %6, i32 noundef 128, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare i64 @platform_mem_allocate(i32 noundef) #1
declare i32 @strerror_s(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/tmp2rbhexcn.c'
source_filename = "/tmp/tmp2rbhexcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Open_listenfd error\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Open_listenfd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @open_listenfd(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %1
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @open_listenfd(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2rbhexcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Open_listenfd error\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Open_listenfd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @open_listenfd(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %1
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @open_listenfd(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi3isu0gy.c'
source_filename = "/tmp/tmpi3isu0gy.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @find_offset(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr @SEEK_SET, align 4
%11 = call i64 @fseek(ptr noundef %9, i32 noundef 20, i32 noundef %10)
%12 = icmp ne i64 0, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i64 -1, ptr %2, align 8
br label %38
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %21)
%23 = load i8, ptr %5, align 1
%24 = zext i8 %23 to i64
%25 = shl i64 %24, 24
%26 = load i8, ptr %6, align 1
%27 = zext i8 %26 to i64
%28 = shl i64 %27, 16
%29 = or i64 %25, %28
%30 = load i8, ptr %7, align 1
%31 = zext i8 %30 to i64
%32 = shl i64 %31, 8
%33 = or i64 %29, %32
%34 = load i8, ptr %8, align 1
%35 = zext i8 %34 to i64
%36 = or i64 %33, %35
store i64 %36, ptr %4, align 8
%37 = load i64, ptr %4, align 8
store i64 %37, ptr %2, align 8
br label %38
38: ; preds = %14, %13
%39 = load i64, ptr %2, align 8
ret i64 %39
}
declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi3isu0gy.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @find_offset(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr @SEEK_SET, align 4
%11 = call i64 @fseek(ptr noundef %9, i32 noundef 20, i32 noundef %10)
%12 = icmp ne i64 0, %11
br i1 %12, label %13, label %14
13: ; preds = %1
store i64 -1, ptr %2, align 8
br label %38
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @fread(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @fread(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %21)
%23 = load i8, ptr %5, align 1
%24 = zext i8 %23 to i64
%25 = shl i64 %24, 24
%26 = load i8, ptr %6, align 1
%27 = zext i8 %26 to i64
%28 = shl i64 %27, 16
%29 = or i64 %25, %28
%30 = load i8, ptr %7, align 1
%31 = zext i8 %30 to i64
%32 = shl i64 %31, 8
%33 = or i64 %29, %32
%34 = load i8, ptr %8, align 1
%35 = zext i8 %34 to i64
%36 = or i64 %33, %35
store i64 %36, ptr %4, align 8
%37 = load i64, ptr %4, align 8
store i64 %37, ptr %2, align 8
br label %38
38: ; preds = %14, %13
%39 = load i64, ptr %2, align 8
ret i64 %39
}
declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkfz9tkad.c'
source_filename = "/tmp/tmpkfz9tkad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__atomic_swap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
br label %6
6: ; preds = %9, %2
%7 = load ptr, ptr %4, align 8
%8 = load volatile i32, ptr %7, align 4
store i32 %8, ptr %5, align 4
br label %9
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i64 @__atomic_cmpxchg(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %6, label %15, !llvm.loop !6
15: ; preds = %9
%16 = load i32, ptr %5, align 4
ret i32 %16
}
declare i64 @__atomic_cmpxchg(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/tmpkfz9tkad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__atomic_swap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
br label %6
6: ; preds = %9, %2
%7 = load ptr, ptr %4, align 8
%8 = load volatile i32, ptr %7, align 4
store i32 %8, ptr %5, align 4
br label %9
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i64 @__atomic_cmpxchg(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %6, label %15, !llvm.loop !6
15: ; preds = %9
%16 = load i32, ptr %5, align 4
ret i32 %16
}
declare i64 @__atomic_cmpxchg(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/tmpoxw2_4id.c'
source_filename = "/tmp/tmpoxw2_4id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIIntEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 1074593792
%7 = zext i1 %6 to i32
%8 = call i32 @DEBUG_ASSERT(i32 noundef %7)
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %9, 16
%11 = zext i1 %10 to i32
%12 = call i32 @DEBUG_ASSERT(i32 noundef %11)
%13 = load i64, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = add i64 %14, 528
%16 = inttoptr i64 %15 to ptr
%17 = load volatile i64, ptr %16, align 8
%18 = or i64 %17, %13
store volatile i64 %18, ptr %16, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxw2_4id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIIntEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 1074593792
%7 = zext i1 %6 to i32
%8 = call i32 @DEBUG_ASSERT(i32 noundef %7)
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %9, 16
%11 = zext i1 %10 to i32
%12 = call i32 @DEBUG_ASSERT(i32 noundef %11)
%13 = load i64, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = add i64 %14, 528
%16 = inttoptr i64 %15 to ptr
%17 = load volatile i64, ptr %16, align 8
%18 = or i64 %17, %13
store volatile i64 %18, ptr %16, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ml2ixh3.c'
source_filename = "/tmp/tmp5ml2ixh3.c"
target datalayout = "e-m:e-p270: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/tmp5ml2ixh3.c"
target datalayout = "e-m:e-p270: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/tmpc1q3xyos.c'
source_filename = "/tmp/tmpc1q3xyos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @out_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @UartOutChar(i32 noundef 0, i8 noundef signext %3)
ret void
}
declare i32 @UartOutChar(i32 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/tmpc1q3xyos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @out_char(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @UartOutChar(i32 noundef 0, i8 noundef signext %3)
ret void
}
declare i32 @UartOutChar(i32 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/tmp7xa_p_j2.c'
source_filename = "/tmp/tmp7xa_p_j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dPMat_K80(double noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%16 = load double, ptr %5, align 8
%17 = fmul double -2.000000e+00, %16
%18 = load double, ptr %7, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %8, align 8
%21 = fadd double %20, 2.000000e+00
%22 = fdiv double %19, %21
store double %22, ptr %9, align 8
%23 = load double, ptr %9, align 8
%24 = fmul double %23, 2.000000e+00
%25 = call double @exp(double noundef %24) #4
store double %25, ptr %10, align 8
%26 = load double, ptr %8, align 8
%27 = fcmp une double 1.000000e+00, %26
br i1 %27, label %28, label %34
28: ; preds = %4
%29 = load double, ptr %9, align 8
%30 = load double, ptr %8, align 8
%31 = fadd double %30, 1.000000e+00
%32 = fmul double %29, %31
%33 = call double @exp(double noundef %32) #4
store double %33, ptr %11, align 8
br label %36
34: ; preds = %4
%35 = load double, ptr %10, align 8
store double %35, ptr %11, align 8
br label %36
36: ; preds = %34, %28
%37 = load double, ptr %7, align 8
%38 = fneg double %37
%39 = load double, ptr %8, align 8
%40 = fadd double %39, 2.000000e+00
%41 = fdiv double %38, %40
%42 = load double, ptr %10, align 8
%43 = load double, ptr %7, align 8
%44 = load double, ptr %8, align 8
%45 = fadd double %44, 1.000000e+00
%46 = fmul double %43, %45
%47 = load double, ptr %8, align 8
%48 = fadd double %47, 2.000000e+00
%49 = fdiv double %46, %48
%50 = load double, ptr %11, align 8
%51 = fmul double %49, %50
%52 = call double @llvm.fmuladd.f64(double %41, double %42, double %51)
store double %52, ptr %12, align 8
%53 = load double, ptr %7, align 8
%54 = load double, ptr %8, align 8
%55 = fadd double %54, 2.000000e+00
%56 = fdiv double %53, %55
%57 = load double, ptr %10, align 8
%58 = fmul double %56, %57
store double %58, ptr %14, align 8
%59 = load double, ptr %5, align 8
%60 = load double, ptr %8, align 8
%61 = fadd double %60, 2.000000e+00
%62 = call double @pow(double noundef %61, i32 noundef 2)
%63 = fdiv double %59, %62
%64 = load double, ptr %10, align 8
%65 = load double, ptr %11, align 8
%66 = fadd double %64, %65
%67 = fmul double %63, %66
store double %67, ptr %13, align 8
%68 = load double, ptr %5, align 8
%69 = load double, ptr %8, align 8
%70 = fadd double %69, 2.000000e+00
%71 = call double @pow(double noundef %70, i32 noundef 2)
%72 = fdiv double %68, %71
%73 = load double, ptr %10, align 8
%74 = fmul double %72, %73
store double %74, ptr %15, align 8
%75 = load double, ptr %12, align 8
%76 = fneg double %75
%77 = load double, ptr %14, align 8
%78 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %77, double %76)
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 3
%82 = load ptr, ptr %81, align 8
%83 = getelementptr inbounds double, ptr %82, i64 3
store double %78, ptr %83, align 8
%84 = load ptr, ptr %6, align 8
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 2
%87 = load ptr, ptr %86, align 8
%88 = getelementptr inbounds double, ptr %87, i64 2
store double %78, ptr %88, align 8
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %89, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 1
%92 = load ptr, ptr %91, align 8
%93 = getelementptr inbounds double, ptr %92, i64 1
store double %78, ptr %93, align 8
%94 = load ptr, ptr %6, align 8
%95 = load ptr, ptr %94, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 0
%97 = load ptr, ptr %96, align 8
%98 = getelementptr inbounds double, ptr %97, i64 0
store double %78, ptr %98, align 8
%99 = load double, ptr %14, align 8
%100 = load ptr, ptr %6, align 8
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds ptr, ptr %101, i64 1
%103 = load ptr, ptr %102, align 8
%104 = getelementptr inbounds double, ptr %103, i64 0
store double %99, ptr %104, align 8
%105 = load ptr, ptr %6, align 8
%106 = load ptr, ptr %105, align 8
%107 = getelementptr inbounds ptr, ptr %106, i64 0
%108 = load ptr, ptr %107, align 8
%109 = getelementptr inbounds double, ptr %108, i64 1
store double %99, ptr %109, align 8
%110 = load double, ptr %12, align 8
%111 = load ptr, ptr %6, align 8
%112 = load ptr, ptr %111, align 8
%113 = getelementptr inbounds ptr, ptr %112, i64 2
%114 = load ptr, ptr %113, align 8
%115 = getelementptr inbounds double, ptr %114, i64 0
store double %110, ptr %115, align 8
%116 = load ptr, ptr %6, align 8
%117 = load ptr, ptr %116, align 8
%118 = getelementptr inbounds ptr, ptr %117, i64 0
%119 = load ptr, ptr %118, align 8
%120 = getelementptr inbounds double, ptr %119, i64 2
store double %110, ptr %120, align 8
%121 = load double, ptr %14, align 8
%122 = load ptr, ptr %6, align 8
%123 = load ptr, ptr %122, align 8
%124 = getelementptr inbounds ptr, ptr %123, i64 3
%125 = load ptr, ptr %124, align 8
%126 = getelementptr inbounds double, ptr %125, i64 0
store double %121, ptr %126, align 8
%127 = load ptr, ptr %6, align 8
%128 = load ptr, ptr %127, align 8
%129 = getelementptr inbounds ptr, ptr %128, i64 0
%130 = load ptr, ptr %129, align 8
%131 = getelementptr inbounds double, ptr %130, i64 3
store double %121, ptr %131, align 8
%132 = load double, ptr %14, align 8
%133 = load ptr, ptr %6, align 8
%134 = load ptr, ptr %133, align 8
%135 = getelementptr inbounds ptr, ptr %134, i64 2
%136 = load ptr, ptr %135, align 8
%137 = getelementptr inbounds double, ptr %136, i64 1
store double %132, ptr %137, align 8
%138 = load ptr, ptr %6, align 8
%139 = load ptr, ptr %138, align 8
%140 = getelementptr inbounds ptr, ptr %139, i64 1
%141 = load ptr, ptr %140, align 8
%142 = getelementptr inbounds double, ptr %141, i64 2
store double %132, ptr %142, align 8
%143 = load double, ptr %12, align 8
%144 = load ptr, ptr %6, align 8
%145 = load ptr, ptr %144, align 8
%146 = getelementptr inbounds ptr, ptr %145, i64 3
%147 = load ptr, ptr %146, align 8
%148 = getelementptr inbounds double, ptr %147, i64 1
store double %143, ptr %148, align 8
%149 = load ptr, ptr %6, align 8
%150 = load ptr, ptr %149, align 8
%151 = getelementptr inbounds ptr, ptr %150, i64 1
%152 = load ptr, ptr %151, align 8
%153 = getelementptr inbounds double, ptr %152, i64 3
store double %143, ptr %153, align 8
%154 = load double, ptr %14, align 8
%155 = load ptr, ptr %6, align 8
%156 = load ptr, ptr %155, align 8
%157 = getelementptr inbounds ptr, ptr %156, i64 3
%158 = load ptr, ptr %157, align 8
%159 = getelementptr inbounds double, ptr %158, i64 2
store double %154, ptr %159, align 8
%160 = load ptr, ptr %6, align 8
%161 = load ptr, ptr %160, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 2
%163 = load ptr, ptr %162, align 8
%164 = getelementptr inbounds double, ptr %163, i64 3
store double %154, ptr %164, align 8
ret void
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7xa_p_j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dPMat_K80(double noundef %0, ptr noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%16 = load double, ptr %5, align 8
%17 = fmul double -2.000000e+00, %16
%18 = load double, ptr %7, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %8, align 8
%21 = fadd double %20, 2.000000e+00
%22 = fdiv double %19, %21
store double %22, ptr %9, align 8
%23 = load double, ptr %9, align 8
%24 = fmul double %23, 2.000000e+00
%25 = call double @exp(double noundef %24) #4
store double %25, ptr %10, align 8
%26 = load double, ptr %8, align 8
%27 = fcmp une double 1.000000e+00, %26
br i1 %27, label %28, label %34
28: ; preds = %4
%29 = load double, ptr %9, align 8
%30 = load double, ptr %8, align 8
%31 = fadd double %30, 1.000000e+00
%32 = fmul double %29, %31
%33 = call double @exp(double noundef %32) #4
store double %33, ptr %11, align 8
br label %36
34: ; preds = %4
%35 = load double, ptr %10, align 8
store double %35, ptr %11, align 8
br label %36
36: ; preds = %34, %28
%37 = load double, ptr %7, align 8
%38 = fneg double %37
%39 = load double, ptr %8, align 8
%40 = fadd double %39, 2.000000e+00
%41 = fdiv double %38, %40
%42 = load double, ptr %10, align 8
%43 = load double, ptr %7, align 8
%44 = load double, ptr %8, align 8
%45 = fadd double %44, 1.000000e+00
%46 = fmul double %43, %45
%47 = load double, ptr %8, align 8
%48 = fadd double %47, 2.000000e+00
%49 = fdiv double %46, %48
%50 = load double, ptr %11, align 8
%51 = fmul double %49, %50
%52 = call double @llvm.fmuladd.f64(double %41, double %42, double %51)
store double %52, ptr %12, align 8
%53 = load double, ptr %7, align 8
%54 = load double, ptr %8, align 8
%55 = fadd double %54, 2.000000e+00
%56 = fdiv double %53, %55
%57 = load double, ptr %10, align 8
%58 = fmul double %56, %57
store double %58, ptr %14, align 8
%59 = load double, ptr %5, align 8
%60 = load double, ptr %8, align 8
%61 = fadd double %60, 2.000000e+00
%62 = call double @pow(double noundef %61, i32 noundef 2)
%63 = fdiv double %59, %62
%64 = load double, ptr %10, align 8
%65 = load double, ptr %11, align 8
%66 = fadd double %64, %65
%67 = fmul double %63, %66
store double %67, ptr %13, align 8
%68 = load double, ptr %5, align 8
%69 = load double, ptr %8, align 8
%70 = fadd double %69, 2.000000e+00
%71 = call double @pow(double noundef %70, i32 noundef 2)
%72 = fdiv double %68, %71
%73 = load double, ptr %10, align 8
%74 = fmul double %72, %73
store double %74, ptr %15, align 8
%75 = load double, ptr %12, align 8
%76 = fneg double %75
%77 = load double, ptr %14, align 8
%78 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %77, double %76)
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 3
%82 = load ptr, ptr %81, align 8
%83 = getelementptr inbounds double, ptr %82, i64 3
store double %78, ptr %83, align 8
%84 = load ptr, ptr %6, align 8
%85 = load ptr, ptr %84, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 2
%87 = load ptr, ptr %86, align 8
%88 = getelementptr inbounds double, ptr %87, i64 2
store double %78, ptr %88, align 8
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %89, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 1
%92 = load ptr, ptr %91, align 8
%93 = getelementptr inbounds double, ptr %92, i64 1
store double %78, ptr %93, align 8
%94 = load ptr, ptr %6, align 8
%95 = load ptr, ptr %94, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 0
%97 = load ptr, ptr %96, align 8
%98 = getelementptr inbounds double, ptr %97, i64 0
store double %78, ptr %98, align 8
%99 = load double, ptr %14, align 8
%100 = load ptr, ptr %6, align 8
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds ptr, ptr %101, i64 1
%103 = load ptr, ptr %102, align 8
%104 = getelementptr inbounds double, ptr %103, i64 0
store double %99, ptr %104, align 8
%105 = load ptr, ptr %6, align 8
%106 = load ptr, ptr %105, align 8
%107 = getelementptr inbounds ptr, ptr %106, i64 0
%108 = load ptr, ptr %107, align 8
%109 = getelementptr inbounds double, ptr %108, i64 1
store double %99, ptr %109, align 8
%110 = load double, ptr %12, align 8
%111 = load ptr, ptr %6, align 8
%112 = load ptr, ptr %111, align 8
%113 = getelementptr inbounds ptr, ptr %112, i64 2
%114 = load ptr, ptr %113, align 8
%115 = getelementptr inbounds double, ptr %114, i64 0
store double %110, ptr %115, align 8
%116 = load ptr, ptr %6, align 8
%117 = load ptr, ptr %116, align 8
%118 = getelementptr inbounds ptr, ptr %117, i64 0
%119 = load ptr, ptr %118, align 8
%120 = getelementptr inbounds double, ptr %119, i64 2
store double %110, ptr %120, align 8
%121 = load double, ptr %14, align 8
%122 = load ptr, ptr %6, align 8
%123 = load ptr, ptr %122, align 8
%124 = getelementptr inbounds ptr, ptr %123, i64 3
%125 = load ptr, ptr %124, align 8
%126 = getelementptr inbounds double, ptr %125, i64 0
store double %121, ptr %126, align 8
%127 = load ptr, ptr %6, align 8
%128 = load ptr, ptr %127, align 8
%129 = getelementptr inbounds ptr, ptr %128, i64 0
%130 = load ptr, ptr %129, align 8
%131 = getelementptr inbounds double, ptr %130, i64 3
store double %121, ptr %131, align 8
%132 = load double, ptr %14, align 8
%133 = load ptr, ptr %6, align 8
%134 = load ptr, ptr %133, align 8
%135 = getelementptr inbounds ptr, ptr %134, i64 2
%136 = load ptr, ptr %135, align 8
%137 = getelementptr inbounds double, ptr %136, i64 1
store double %132, ptr %137, align 8
%138 = load ptr, ptr %6, align 8
%139 = load ptr, ptr %138, align 8
%140 = getelementptr inbounds ptr, ptr %139, i64 1
%141 = load ptr, ptr %140, align 8
%142 = getelementptr inbounds double, ptr %141, i64 2
store double %132, ptr %142, align 8
%143 = load double, ptr %12, align 8
%144 = load ptr, ptr %6, align 8
%145 = load ptr, ptr %144, align 8
%146 = getelementptr inbounds ptr, ptr %145, i64 3
%147 = load ptr, ptr %146, align 8
%148 = getelementptr inbounds double, ptr %147, i64 1
store double %143, ptr %148, align 8
%149 = load ptr, ptr %6, align 8
%150 = load ptr, ptr %149, align 8
%151 = getelementptr inbounds ptr, ptr %150, i64 1
%152 = load ptr, ptr %151, align 8
%153 = getelementptr inbounds double, ptr %152, i64 3
store double %143, ptr %153, align 8
%154 = load double, ptr %14, align 8
%155 = load ptr, ptr %6, align 8
%156 = load ptr, ptr %155, align 8
%157 = getelementptr inbounds ptr, ptr %156, i64 3
%158 = load ptr, ptr %157, align 8
%159 = getelementptr inbounds double, ptr %158, i64 2
store double %154, ptr %159, align 8
%160 = load ptr, ptr %6, align 8
%161 = load ptr, ptr %160, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 2
%163 = load ptr, ptr %162, align 8
%164 = getelementptr inbounds double, ptr %163, i64 3
store double %154, ptr %164, align 8
ret void
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxu3dbkfi.c'
source_filename = "/tmp/tmpxu3dbkfi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter no. of elements:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0AEnter elements:\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"\0AArray after sorting:\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [30 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
%22 = load i32, ptr %2, align 4
%23 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
store i32 %22, ptr %23, align 16
%24 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%25 = call i32 @create(ptr noundef %24)
br label %26
26: ; preds = %30, %21
%27 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%28 = load i32, ptr %27, align 16
%29 = icmp sgt i32 %28, 1
br i1 %29, label %30, label %49
30: ; preds = %26
%31 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%32 = load i32, ptr %31, align 16
store i32 %32, ptr %4, align 4
%33 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 1
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 1
store i32 %38, ptr %39, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %42
store i32 %40, ptr %43, align 4
%44 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%45 = load i32, ptr %44, align 16
%46 = add nsw i32 %45, -1
store i32 %46, ptr %44, align 16
%47 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%48 = call i32 @down_adjust(ptr noundef %47, i32 noundef 1)
br label %26, !llvm.loop !8
49: ; preds = %26
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %51
51: ; preds = %61, %49
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %2, align 4
%54 = icmp sle i32 %52, %53
br i1 %54, label %55, label %64
55: ; preds = %51
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59)
br label %61
61: ; preds = %55
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
br label %51, !llvm.loop !9
64: ; preds = %51
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @create(ptr noundef) #1
declare i32 @down_adjust(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/tmpxu3dbkfi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter no. of elements:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0AEnter elements:\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"\0AArray after sorting:\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [30 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
%24 = load i32, ptr %2, align 4
%25 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
store i32 %24, ptr %25, align 16
%26 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%27 = call i32 @create(ptr noundef %26)
%28 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%29 = load i32, ptr %28, align 16
%30 = icmp sgt i32 %29, 1
br i1 %30, label %.lr.ph2, label %52
.lr.ph2: ; preds = %23
br label %31
31: ; preds = %.lr.ph2, %31
%32 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%33 = load i32, ptr %32, align 16
store i32 %33, ptr %4, align 4
%34 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 1
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 1
store i32 %39, ptr %40, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %43
store i32 %41, ptr %44, align 4
%45 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%46 = load i32, ptr %45, align 16
%47 = add nsw i32 %46, -1
store i32 %47, ptr %45, align 16
%48 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0
%49 = call i32 @down_adjust(ptr noundef %48, i32 noundef 1)
%50 = load i32, ptr %28, align 16
%51 = icmp sgt i32 %50, 1
br i1 %51, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %52
52: ; preds = %._crit_edge3, %23
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %.lr.ph5, label %69
.lr.ph5: ; preds = %52
br label %57
57: ; preds = %.lr.ph5, %63
%58 = load i32, ptr %3, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %61)
br label %63
63: ; preds = %57
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %57, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %63
br label %69
69: ; preds = %._crit_edge6, %52
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @create(ptr noundef) #1
declare i32 @down_adjust(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/tmpn5rhbaca.c'
source_filename = "/tmp/tmpn5rhbaca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"aguia\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"pomba\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"homem\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"vaca\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"pulga\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"lagarta\0A\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"sanguessuga\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"minhoca\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i8], align 1
%3 = alloca [12 x i8], align 1
%4 = alloca [12 x i8], align 1
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 118
br i1 %9, label %10, label %22
10: ; preds = %0
%11 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 97
br i1 %14, label %15, label %22
15: ; preds = %10
%16 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 99
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @printf(ptr noundef @.str.1)
br label %148
22: ; preds = %15, %10, %0
%23 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 118
br i1 %26, label %27, label %39
27: ; preds = %22
%28 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 97
br i1 %31, label %32, label %39
32: ; preds = %27
%33 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 111
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = call i32 @printf(ptr noundef @.str.2)
br label %147
39: ; preds = %32, %27, %22
%40 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 118
br i1 %43, label %44, label %56
44: ; preds = %39
%45 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 109
br i1 %48, label %49, label %56
49: ; preds = %44
%50 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 111
br i1 %53, label %54, label %56
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.3)
br label %146
56: ; preds = %49, %44, %39
%57 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 118
br i1 %60, label %61, label %73
61: ; preds = %56
%62 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 109
br i1 %65, label %66, label %73
66: ; preds = %61
%67 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 104
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 @printf(ptr noundef @.str.4)
br label %145
73: ; preds = %66, %61, %56
%74 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 105
br i1 %77, label %78, label %90
78: ; preds = %73
%79 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 105
br i1 %82, label %83, label %90
83: ; preds = %78
%84 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 2
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 109
br i1 %87, label %88, label %90
88: ; preds = %83
%89 = call i32 @printf(ptr noundef @.str.5)
br label %144
90: ; preds = %83, %78, %73
%91 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 105
br i1 %94, label %95, label %107
95: ; preds = %90
%96 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 105
br i1 %99, label %100, label %107
100: ; preds = %95
%101 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 2
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 114
br i1 %104, label %105, label %107
105: ; preds = %100
%106 = call i32 @printf(ptr noundef @.str.6)
br label %143
107: ; preds = %100, %95, %90
%108 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 105
br i1 %111, label %112, label %124
112: ; preds = %107
%113 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 97
br i1 %116, label %117, label %124
117: ; preds = %112
%118 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 104
br i1 %121, label %122, label %124
122: ; preds = %117
%123 = call i32 @printf(ptr noundef @.str.7)
br label %142
124: ; preds = %117, %112, %107
%125 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 105
br i1 %128, label %129, label %141
129: ; preds = %124
%130 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 97
br i1 %133, label %134, label %141
134: ; preds = %129
%135 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 111
br i1 %138, label %139, label %141
139: ; preds = %134
%140 = call i32 @printf(ptr noundef @.str.8)
br label %141
141: ; preds = %139, %134, %129, %124
br label %142
142: ; preds = %141, %122
br label %143
143: ; preds = %142, %105
br label %144
144: ; preds = %143, %88
br label %145
145: ; preds = %144, %71
br label %146
146: ; preds = %145, %54
br label %147
147: ; preds = %146, %37
br label %148
148: ; preds = %147, %20
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5rhbaca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"aguia\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"pomba\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"homem\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"vaca\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"pulga\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"lagarta\0A\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"sanguessuga\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"minhoca\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i8], align 1
%3 = alloca [12 x i8], align 1
%4 = alloca [12 x i8], align 1
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 118
br i1 %9, label %10, label %22
10: ; preds = %0
%11 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 97
br i1 %14, label %15, label %22
15: ; preds = %10
%16 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 99
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @printf(ptr noundef @.str.1)
br label %148
22: ; preds = %15, %10, %0
%23 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 118
br i1 %26, label %27, label %39
27: ; preds = %22
%28 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 97
br i1 %31, label %32, label %39
32: ; preds = %27
%33 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 111
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = call i32 @printf(ptr noundef @.str.2)
br label %147
39: ; preds = %32, %27, %22
%40 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 118
br i1 %43, label %44, label %56
44: ; preds = %39
%45 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 109
br i1 %48, label %49, label %56
49: ; preds = %44
%50 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 111
br i1 %53, label %54, label %56
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.3)
br label %146
56: ; preds = %49, %44, %39
%57 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 118
br i1 %60, label %61, label %73
61: ; preds = %56
%62 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 109
br i1 %65, label %66, label %73
66: ; preds = %61
%67 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 104
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 @printf(ptr noundef @.str.4)
br label %145
73: ; preds = %66, %61, %56
%74 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 105
br i1 %77, label %78, label %90
78: ; preds = %73
%79 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 105
br i1 %82, label %83, label %90
83: ; preds = %78
%84 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 2
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 109
br i1 %87, label %88, label %90
88: ; preds = %83
%89 = call i32 @printf(ptr noundef @.str.5)
br label %144
90: ; preds = %83, %78, %73
%91 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 105
br i1 %94, label %95, label %107
95: ; preds = %90
%96 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 105
br i1 %99, label %100, label %107
100: ; preds = %95
%101 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 2
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 114
br i1 %104, label %105, label %107
105: ; preds = %100
%106 = call i32 @printf(ptr noundef @.str.6)
br label %143
107: ; preds = %100, %95, %90
%108 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 105
br i1 %111, label %112, label %124
112: ; preds = %107
%113 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 97
br i1 %116, label %117, label %124
117: ; preds = %112
%118 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 104
br i1 %121, label %122, label %124
122: ; preds = %117
%123 = call i32 @printf(ptr noundef @.str.7)
br label %142
124: ; preds = %117, %112, %107
%125 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 105
br i1 %128, label %129, label %141
129: ; preds = %124
%130 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 97
br i1 %133, label %134, label %141
134: ; preds = %129
%135 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 0
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 111
br i1 %138, label %139, label %141
139: ; preds = %134
%140 = call i32 @printf(ptr noundef @.str.8)
br label %141
141: ; preds = %139, %134, %129, %124
br label %142
142: ; preds = %141, %122
br label %143
143: ; preds = %142, %105
br label %144
144: ; preds = %143, %88
br label %145
145: ; preds = %144, %71
br label %146
146: ; preds = %145, %54
br label %147
147: ; preds = %146, %37
br label %148
148: ; preds = %147, %20
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, 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"}
|
; ModuleID = '/tmp/tmp0doim2va.c'
source_filename = "/tmp/tmp0doim2va.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_name(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call ptr @calloc(i32 noundef 6, i32 noundef 1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 47, ptr %7, align 1
store i32 1, ptr %4, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 255
%14 = add nsw i32 %13, 1
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 %15, ptr %19, align 1
%20 = load i32, ptr %2, align 4
%21 = sdiv i32 %20, 256
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %11
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 5
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0doim2va.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_name(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call ptr @calloc(i32 noundef 6, i32 noundef 1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 47, ptr %7, align 1
store i32 1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %21
%11 = load i32, ptr %2, align 4
%12 = srem i32 %11, 255
%13 = add nsw i32 %12, 1
%14 = trunc i32 %13 to i8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 %14, ptr %18, align 1
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, 256
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 5
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %1
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 5
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz0aeu13p.c'
source_filename = "/tmp/tmpz0aeu13p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_write_current_quaddobl_solution_string(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
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %5, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i32, i64 %13, align 16
store i64 %13, ptr %8, align 8
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %4, align 8
store i32 %16, ptr %17, align 4
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %11, align 8
%20 = call i32 @_ada_use_c2phc(i32 noundef 535, ptr noundef %18, ptr noundef %15, ptr noundef %19)
store i32 %20, ptr %9, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %47
24: ; preds = %3
store i32 0, ptr %10, align 4
br label %25
25: ; preds = %39, %24
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %42
29: ; preds = %25
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %15, i64 %31
%33 = load i32, ptr %32, align 4
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 %34, ptr %38, align 1
br label %39
39: ; preds = %29
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %10, align 4
br label %25, !llvm.loop !6
42: ; preds = %25
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 0, ptr %46, align 1
br label %47
47: ; preds = %42, %3
%48 = load i32, ptr %9, align 4
%49 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %49)
ret i32 %48
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpz0aeu13p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_write_current_quaddobl_solution_string(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
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %5, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i32, i64 %13, align 16
store i64 %13, ptr %8, align 8
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %4, align 8
store i32 %16, ptr %17, align 4
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %11, align 8
%20 = call i32 @_ada_use_c2phc(i32 noundef 535, ptr noundef %18, ptr noundef %15, ptr noundef %19)
store i32 %20, ptr %9, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %49
24: ; preds = %3
store i32 0, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %44
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %38
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %15, i64 %30
%32 = load i32, ptr %31, align 4
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 %33, ptr %37, align 1
br label %38
38: ; preds = %28
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %24
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 0, ptr %48, align 1
br label %49
49: ; preds = %44, %3
%50 = load i32, ptr %9, align 4
%51 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %51)
ret i32 %50
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8qjuiued.c'
source_filename = "/tmp/tmp8qjuiued.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = call ptr @strstr(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %9, align 4
br label %17
17: ; preds = %20, %3
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr null, %18
br i1 %19, label %20, label %41
20: ; preds = %17
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = call i32 @strncpy(ptr noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = call i32 @strcpy(ptr noundef %28, ptr noundef %32)
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %7, align 8
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %35, i64 %36
store ptr %37, ptr %7, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %5, align 8
%40 = call ptr @strstr(ptr noundef %38, ptr noundef %39)
store ptr %40, ptr %7, align 8
br label %17, !llvm.loop !6
41: ; preds = %17
%42 = load ptr, ptr %4, align 8
ret ptr %42
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8qjuiued.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = call ptr @strstr(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %9, align 4
%17 = load ptr, ptr %7, align 8
%18 = icmp ne ptr null, %17
br i1 %18, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %19
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = call i32 @strncpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = call i32 @strcpy(ptr noundef %27, ptr noundef %31)
%33 = load i32, ptr %8, align 4
%34 = load ptr, ptr %7, align 8
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = load ptr, ptr %5, align 8
%39 = call ptr @strstr(ptr noundef %37, ptr noundef %38)
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = icmp ne ptr null, %40
br i1 %41, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %42
42: ; preds = %._crit_edge, %3
%43 = load ptr, ptr %4, align 8
ret ptr %43
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmpcu7dcbaz.c'
source_filename = "/tmp/tmpcu7dcbaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @atomic_add_short_nv(ptr noundef %0, i16 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load ptr, ptr %3, align 8
%6 = load i16, ptr %4, align 2
%7 = call zeroext i16 @atomic_exchange_and_add(ptr noundef %5, i16 noundef signext %6)
%8 = zext i16 %7 to i32
%9 = add nsw i32 %8, 1
%10 = trunc i32 %9 to i16
ret i16 %10
}
declare zeroext i16 @atomic_exchange_and_add(ptr noundef, i16 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/tmpcu7dcbaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @atomic_add_short_nv(ptr noundef %0, i16 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load ptr, ptr %3, align 8
%6 = load i16, ptr %4, align 2
%7 = call zeroext i16 @atomic_exchange_and_add(ptr noundef %5, i16 noundef signext %6)
%8 = zext i16 %7 to i32
%9 = add nsw i32 %8, 1
%10 = trunc i32 %9 to i16
ret i16 %10
}
declare zeroext i16 @atomic_exchange_and_add(ptr noundef, i16 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/tmpbb69psyq.c'
source_filename = "/tmp/tmpbb69psyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sdb_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %29, %3
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %27
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call i32 @toupper(i8 noundef signext %15)
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = call i32 @toupper(i8 noundef signext %18)
%20 = sub nsw i32 %16, %19
store i32 %20, ptr %8, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %22, %13, %9
%28 = phi i1 [ false, %13 ], [ false, %9 ], [ %26, %22 ]
br i1 %28, label %29, label %36
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i64, ptr %7, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %7, align 8
br label %9, !llvm.loop !6
36: ; preds = %27
%37 = load i32, ptr %8, align 4
ret i32 %37
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbb69psyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sdb_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %29, %3
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %27
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call i32 @toupper(i8 noundef signext %15)
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = call i32 @toupper(i8 noundef signext %18)
%20 = sub nsw i32 %16, %19
store i32 %20, ptr %8, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %22, %13, %9
%28 = phi i1 [ false, %13 ], [ false, %9 ], [ %26, %22 ]
br i1 %28, label %29, label %36
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i64, ptr %7, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %7, align 8
br label %9, !llvm.loop !6
36: ; preds = %27
%37 = load i32, ptr %8, align 4
ret i32 %37
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_w1p2ewn.c'
source_filename = "/tmp/tmp_w1p2ewn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @fminf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @__nv_fminf(float noundef %5, float noundef %6)
ret float %7
}
declare float @__nv_fminf(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_w1p2ewn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @fminf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @__nv_fminf(float noundef %5, float noundef %6)
ret float %7
}
declare float @__nv_fminf(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp52o_ulk7.c'
source_filename = "/tmp/tmp52o_ulk7.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"clock_gettime %d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%juh %jum\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uptime() #0 {
%1 = alloca ptr, align 8
%2 = alloca [256 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timespec, align 4
%6 = load i32, ptr @CLOCK_MONOTONIC, align 4
%7 = call i64 @clock_gettime(i32 noundef %6, ptr noundef %5)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %0
%10 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%11 = load i32, ptr @CLOCK_MONOTONIC, align 4
%12 = call i32 @snprintf(ptr noundef %10, i32 noundef 256, ptr noundef @.str, i32 noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @warn(ptr noundef %13)
store ptr null, ptr %1, align 8
br label %26
15: ; preds = %0
%16 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = sdiv i32 %17, 3600
store i32 %18, ptr %3, align 4
%19 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = srem i32 %20, 3600
%22 = sdiv i32 %21, 60
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = call ptr @bprintf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
store ptr %25, ptr %1, align 8
br label %26
26: ; preds = %15, %9
%27 = load ptr, ptr %1, align 8
ret ptr %27
}
declare i64 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @warn(ptr noundef) #1
declare ptr @bprintf(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/tmp52o_ulk7.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"clock_gettime %d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%juh %jum\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uptime() #0 {
%1 = alloca ptr, align 8
%2 = alloca [256 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timespec, align 4
%6 = load i32, ptr @CLOCK_MONOTONIC, align 4
%7 = call i64 @clock_gettime(i32 noundef %6, ptr noundef %5)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %0
%10 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%11 = load i32, ptr @CLOCK_MONOTONIC, align 4
%12 = call i32 @snprintf(ptr noundef %10, i32 noundef 256, ptr noundef @.str, i32 noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @warn(ptr noundef %13)
store ptr null, ptr %1, align 8
br label %26
15: ; preds = %0
%16 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = sdiv i32 %17, 3600
store i32 %18, ptr %3, align 4
%19 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = srem i32 %20, 3600
%22 = sdiv i32 %21, 60
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = call ptr @bprintf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
store ptr %25, ptr %1, align 8
br label %26
26: ; preds = %15, %9
%27 = load ptr, ptr %1, align 8
ret ptr %27
}
declare i64 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @warn(ptr noundef) #1
declare ptr @bprintf(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/tmpe7r_rms2.c'
source_filename = "/tmp/tmpe7r_rms2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi2u4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i16 noundef signext %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i16, align 2
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i16 %5, ptr %17, align 2
store i64 %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %108
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %64
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %64
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %60, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %63
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i16, ptr %39, i64 %40
%42 = load i16, ptr %41, align 2
%43 = sext i16 %42 to i32
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %38
%46 = load ptr, ptr %22, align 8
store i32 -11, ptr %46, align 4
%47 = load ptr, ptr %21, align 8
%48 = load i64, ptr %23, align 8
%49 = getelementptr inbounds i64, ptr %47, i64 %48
store i64 0, ptr %49, align 8
br label %59
50: ; preds = %38
%51 = load ptr, ptr %12, align 8
%52 = load i64, ptr %23, align 8
%53 = getelementptr inbounds i16, ptr %51, i64 %52
%54 = load i16, ptr %53, align 2
%55 = sext i16 %54 to i64
%56 = load ptr, ptr %21, align 8
%57 = load i64, ptr %23, align 8
%58 = getelementptr inbounds i64, ptr %56, i64 %57
store i64 %55, ptr %58, align 8
br label %59
59: ; preds = %50, %45
br label %60
60: ; preds = %59
%61 = load i64, ptr %23, align 8
%62 = add nsw i64 %61, 1
store i64 %62, ptr %23, align 8
br label %34, !llvm.loop !6
63: ; preds = %34
br label %107
64: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %65
65: ; preds = %103, %64
%66 = load i64, ptr %23, align 8
%67 = load i64, ptr %13, align 8
%68 = icmp slt i64 %66, %67
br i1 %68, label %69, label %106
69: ; preds = %65
%70 = load ptr, ptr %12, align 8
%71 = load i64, ptr %23, align 8
%72 = getelementptr inbounds i16, ptr %70, i64 %71
%73 = load i16, ptr %72, align 2
%74 = sext i16 %73 to i32
%75 = sitofp i32 %74 to double
%76 = load double, ptr %14, align 8
%77 = load double, ptr %15, align 8
%78 = call double @llvm.fmuladd.f64(double %75, double %76, double %77)
store double %78, ptr %24, align 8
%79 = load double, ptr %24, align 8
%80 = fcmp olt double %79, -4.900000e-01
br i1 %80, label %81, label %86
81: ; preds = %69
%82 = load ptr, ptr %22, align 8
store i32 -11, ptr %82, align 4
%83 = load ptr, ptr %21, align 8
%84 = load i64, ptr %23, align 8
%85 = getelementptr inbounds i64, ptr %83, i64 %84
store i64 0, ptr %85, align 8
br label %102
86: ; preds = %69
%87 = load double, ptr %24, align 8
%88 = fcmp ogt double %87, 0x43EFFFFFFFFFFFFF
br i1 %88, label %89, label %95
89: ; preds = %86
%90 = load ptr, ptr %22, align 8
store i32 -11, ptr %90, align 4
%91 = load i64, ptr @ULONG_MAX, align 8
%92 = load ptr, ptr %21, align 8
%93 = load i64, ptr %23, align 8
%94 = getelementptr inbounds i64, ptr %92, i64 %93
store i64 %91, ptr %94, align 8
br label %101
95: ; preds = %86
%96 = load double, ptr %24, align 8
%97 = fptoui double %96 to i64
%98 = load ptr, ptr %21, align 8
%99 = load i64, ptr %23, align 8
%100 = getelementptr inbounds i64, ptr %98, i64 %99
store i64 %97, ptr %100, align 8
br label %101
101: ; preds = %95, %89
br label %102
102: ; preds = %101, %81
br label %103
103: ; preds = %102
%104 = load i64, ptr %23, align 8
%105 = add nsw i64 %104, 1
store i64 %105, ptr %23, align 8
br label %65, !llvm.loop !8
106: ; preds = %65
br label %107
107: ; preds = %106, %63
br label %237
108: ; preds = %11
%109 = load double, ptr %14, align 8
%110 = fcmp oeq double %109, 1.000000e+00
br i1 %110, label %111, label %169
111: ; preds = %108
%112 = load double, ptr %15, align 8
%113 = fcmp oeq double %112, 0.000000e+00
br i1 %113, label %114, label %169
114: ; preds = %111
store i64 0, ptr %23, align 8
br label %115
115: ; preds = %165, %114
%116 = load i64, ptr %23, align 8
%117 = load i64, ptr %13, align 8
%118 = icmp slt i64 %116, %117
br i1 %118, label %119, label %168
119: ; preds = %115
%120 = load ptr, ptr %12, align 8
%121 = load i64, ptr %23, align 8
%122 = getelementptr inbounds i16, ptr %120, i64 %121
%123 = load i16, ptr %122, align 2
%124 = sext i16 %123 to i32
%125 = load i16, ptr %17, align 2
%126 = sext i16 %125 to i32
%127 = icmp eq i32 %124, %126
br i1 %127, label %128, label %142
128: ; preds = %119
%129 = load ptr, ptr %20, align 8
store i32 1, ptr %129, align 4
%130 = load i32, ptr %16, align 4
%131 = icmp eq i32 %130, 1
br i1 %131, label %132, label %137
132: ; preds = %128
%133 = load i64, ptr %18, align 8
%134 = load ptr, ptr %21, align 8
%135 = load i64, ptr %23, align 8
%136 = getelementptr inbounds i64, ptr %134, i64 %135
store i64 %133, ptr %136, align 8
br label %141
137: ; preds = %128
%138 = load ptr, ptr %19, align 8
%139 = load i64, ptr %23, align 8
%140 = getelementptr inbounds i8, ptr %138, i64 %139
store i8 1, ptr %140, align 1
br label %141
141: ; preds = %137, %132
br label %164
142: ; preds = %119
%143 = load ptr, ptr %12, align 8
%144 = load i64, ptr %23, align 8
%145 = getelementptr inbounds i16, ptr %143, i64 %144
%146 = load i16, ptr %145, align 2
%147 = sext i16 %146 to i32
%148 = icmp slt i32 %147, 0
br i1 %148, label %149, label %154
149: ; preds = %142
%150 = load ptr, ptr %22, align 8
store i32 -11, ptr %150, align 4
%151 = load ptr, ptr %21, align 8
%152 = load i64, ptr %23, align 8
%153 = getelementptr inbounds i64, ptr %151, i64 %152
store i64 0, ptr %153, align 8
br label %163
154: ; preds = %142
%155 = load ptr, ptr %12, align 8
%156 = load i64, ptr %23, align 8
%157 = getelementptr inbounds i16, ptr %155, i64 %156
%158 = load i16, ptr %157, align 2
%159 = sext i16 %158 to i64
%160 = load ptr, ptr %21, align 8
%161 = load i64, ptr %23, align 8
%162 = getelementptr inbounds i64, ptr %160, i64 %161
store i64 %159, ptr %162, align 8
br label %163
163: ; preds = %154, %149
br label %164
164: ; preds = %163, %141
br label %165
165: ; preds = %164
%166 = load i64, ptr %23, align 8
%167 = add nsw i64 %166, 1
store i64 %167, ptr %23, align 8
br label %115, !llvm.loop !9
168: ; preds = %115
br label %236
169: ; preds = %111, %108
store i64 0, ptr %23, align 8
br label %170
170: ; preds = %232, %169
%171 = load i64, ptr %23, align 8
%172 = load i64, ptr %13, align 8
%173 = icmp slt i64 %171, %172
br i1 %173, label %174, label %235
174: ; preds = %170
%175 = load ptr, ptr %12, align 8
%176 = load i64, ptr %23, align 8
%177 = getelementptr inbounds i16, ptr %175, i64 %176
%178 = load i16, ptr %177, align 2
%179 = sext i16 %178 to i32
%180 = load i16, ptr %17, align 2
%181 = sext i16 %180 to i32
%182 = icmp eq i32 %179, %181
br i1 %182, label %183, label %197
183: ; preds = %174
%184 = load ptr, ptr %20, align 8
store i32 1, ptr %184, align 4
%185 = load i32, ptr %16, align 4
%186 = icmp eq i32 %185, 1
br i1 %186, label %187, label %192
187: ; preds = %183
%188 = load i64, ptr %18, align 8
%189 = load ptr, ptr %21, align 8
%190 = load i64, ptr %23, align 8
%191 = getelementptr inbounds i64, ptr %189, i64 %190
store i64 %188, ptr %191, align 8
br label %196
192: ; preds = %183
%193 = load ptr, ptr %19, align 8
%194 = load i64, ptr %23, align 8
%195 = getelementptr inbounds i8, ptr %193, i64 %194
store i8 1, ptr %195, align 1
br label %196
196: ; preds = %192, %187
br label %231
197: ; preds = %174
%198 = load ptr, ptr %12, align 8
%199 = load i64, ptr %23, align 8
%200 = getelementptr inbounds i16, ptr %198, i64 %199
%201 = load i16, ptr %200, align 2
%202 = sext i16 %201 to i32
%203 = sitofp i32 %202 to double
%204 = load double, ptr %14, align 8
%205 = load double, ptr %15, align 8
%206 = call double @llvm.fmuladd.f64(double %203, double %204, double %205)
store double %206, ptr %24, align 8
%207 = load double, ptr %24, align 8
%208 = fcmp olt double %207, -4.900000e-01
br i1 %208, label %209, label %214
209: ; preds = %197
%210 = load ptr, ptr %22, align 8
store i32 -11, ptr %210, align 4
%211 = load ptr, ptr %21, align 8
%212 = load i64, ptr %23, align 8
%213 = getelementptr inbounds i64, ptr %211, i64 %212
store i64 0, ptr %213, align 8
br label %230
214: ; preds = %197
%215 = load double, ptr %24, align 8
%216 = fcmp ogt double %215, 0x43EFFFFFFFFFFFFF
br i1 %216, label %217, label %223
217: ; preds = %214
%218 = load ptr, ptr %22, align 8
store i32 -11, ptr %218, align 4
%219 = load i64, ptr @ULONG_MAX, align 8
%220 = load ptr, ptr %21, align 8
%221 = load i64, ptr %23, align 8
%222 = getelementptr inbounds i64, ptr %220, i64 %221
store i64 %219, ptr %222, align 8
br label %229
223: ; preds = %214
%224 = load double, ptr %24, align 8
%225 = fptoui double %224 to i64
%226 = load ptr, ptr %21, align 8
%227 = load i64, ptr %23, align 8
%228 = getelementptr inbounds i64, ptr %226, i64 %227
store i64 %225, ptr %228, align 8
br label %229
229: ; preds = %223, %217
br label %230
230: ; preds = %229, %209
br label %231
231: ; preds = %230, %196
br label %232
232: ; preds = %231
%233 = load i64, ptr %23, align 8
%234 = add nsw i64 %233, 1
store i64 %234, ptr %23, align 8
br label %170, !llvm.loop !10
235: ; preds = %170
br label %236
236: ; preds = %235, %168
br label %237
237: ; preds = %236, %107
%238 = load ptr, ptr %22, align 8
%239 = load i32, ptr %238, align 4
ret i32 %239
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe7r_rms2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi2u4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i16 noundef signext %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i16, align 2
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i16 %5, ptr %17, align 2
store i64 %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %112
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %66
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %66
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %65
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %59
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i16, ptr %38, i64 %39
%41 = load i16, ptr %40, align 2
%42 = sext i16 %41 to i32
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %37
%45 = load ptr, ptr %22, align 8
store i32 -11, ptr %45, align 4
%46 = load ptr, ptr %21, align 8
%47 = load i64, ptr %23, align 8
%48 = getelementptr inbounds i64, ptr %46, i64 %47
store i64 0, ptr %48, align 8
br label %58
49: ; preds = %37
%50 = load ptr, ptr %12, align 8
%51 = load i64, ptr %23, align 8
%52 = getelementptr inbounds i16, ptr %50, i64 %51
%53 = load i16, ptr %52, align 2
%54 = sext i16 %53 to i64
%55 = load ptr, ptr %21, align 8
%56 = load i64, ptr %23, align 8
%57 = getelementptr inbounds i64, ptr %55, i64 %56
store i64 %54, ptr %57, align 8
br label %58
58: ; preds = %49, %44
br label %59
59: ; preds = %58
%60 = load i64, ptr %23, align 8
%61 = add nsw i64 %60, 1
store i64 %61, ptr %23, align 8
%62 = load i64, ptr %23, align 8
%63 = load i64, ptr %13, align 8
%64 = icmp slt i64 %62, %63
br i1 %64, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %59
br label %65
65: ; preds = %._crit_edge9, %33
br label %111
66: ; preds = %30, %27
store i64 0, ptr %23, align 8
%67 = load i64, ptr %23, align 8
%68 = load i64, ptr %13, align 8
%69 = icmp slt i64 %67, %68
br i1 %69, label %.lr.ph5, label %110
.lr.ph5: ; preds = %66
br label %70
70: ; preds = %.lr.ph5, %104
%71 = load ptr, ptr %12, align 8
%72 = load i64, ptr %23, align 8
%73 = getelementptr inbounds i16, ptr %71, i64 %72
%74 = load i16, ptr %73, align 2
%75 = sext i16 %74 to i32
%76 = sitofp i32 %75 to double
%77 = load double, ptr %14, align 8
%78 = load double, ptr %15, align 8
%79 = call double @llvm.fmuladd.f64(double %76, double %77, double %78)
store double %79, ptr %24, align 8
%80 = load double, ptr %24, align 8
%81 = fcmp olt double %80, -4.900000e-01
br i1 %81, label %82, label %87
82: ; preds = %70
%83 = load ptr, ptr %22, align 8
store i32 -11, ptr %83, align 4
%84 = load ptr, ptr %21, align 8
%85 = load i64, ptr %23, align 8
%86 = getelementptr inbounds i64, ptr %84, i64 %85
store i64 0, ptr %86, align 8
br label %103
87: ; preds = %70
%88 = load double, ptr %24, align 8
%89 = fcmp ogt double %88, 0x43EFFFFFFFFFFFFF
br i1 %89, label %90, label %96
90: ; preds = %87
%91 = load ptr, ptr %22, align 8
store i32 -11, ptr %91, align 4
%92 = load i64, ptr @ULONG_MAX, align 8
%93 = load ptr, ptr %21, align 8
%94 = load i64, ptr %23, align 8
%95 = getelementptr inbounds i64, ptr %93, i64 %94
store i64 %92, ptr %95, align 8
br label %102
96: ; preds = %87
%97 = load double, ptr %24, align 8
%98 = fptoui double %97 to i64
%99 = load ptr, ptr %21, align 8
%100 = load i64, ptr %23, align 8
%101 = getelementptr inbounds i64, ptr %99, i64 %100
store i64 %98, ptr %101, align 8
br label %102
102: ; preds = %96, %90
br label %103
103: ; preds = %102, %82
br label %104
104: ; preds = %103
%105 = load i64, ptr %23, align 8
%106 = add nsw i64 %105, 1
store i64 %106, ptr %23, align 8
%107 = load i64, ptr %23, align 8
%108 = load i64, ptr %13, align 8
%109 = icmp slt i64 %107, %108
br i1 %109, label %70, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %104
br label %110
110: ; preds = %._crit_edge6, %66
br label %111
111: ; preds = %110, %65
br label %245
112: ; preds = %11
%113 = load double, ptr %14, align 8
%114 = fcmp oeq double %113, 1.000000e+00
br i1 %114, label %115, label %175
115: ; preds = %112
%116 = load double, ptr %15, align 8
%117 = fcmp oeq double %116, 0.000000e+00
br i1 %117, label %118, label %175
118: ; preds = %115
store i64 0, ptr %23, align 8
%119 = load i64, ptr %23, align 8
%120 = load i64, ptr %13, align 8
%121 = icmp slt i64 %119, %120
br i1 %121, label %.lr.ph2, label %174
.lr.ph2: ; preds = %118
br label %122
122: ; preds = %.lr.ph2, %168
%123 = load ptr, ptr %12, align 8
%124 = load i64, ptr %23, align 8
%125 = getelementptr inbounds i16, ptr %123, i64 %124
%126 = load i16, ptr %125, align 2
%127 = sext i16 %126 to i32
%128 = load i16, ptr %17, align 2
%129 = sext i16 %128 to i32
%130 = icmp eq i32 %127, %129
br i1 %130, label %131, label %145
131: ; preds = %122
%132 = load ptr, ptr %20, align 8
store i32 1, ptr %132, align 4
%133 = load i32, ptr %16, align 4
%134 = icmp eq i32 %133, 1
br i1 %134, label %135, label %140
135: ; preds = %131
%136 = load i64, ptr %18, align 8
%137 = load ptr, ptr %21, align 8
%138 = load i64, ptr %23, align 8
%139 = getelementptr inbounds i64, ptr %137, i64 %138
store i64 %136, ptr %139, align 8
br label %144
140: ; preds = %131
%141 = load ptr, ptr %19, align 8
%142 = load i64, ptr %23, align 8
%143 = getelementptr inbounds i8, ptr %141, i64 %142
store i8 1, ptr %143, align 1
br label %144
144: ; preds = %140, %135
br label %167
145: ; preds = %122
%146 = load ptr, ptr %12, align 8
%147 = load i64, ptr %23, align 8
%148 = getelementptr inbounds i16, ptr %146, i64 %147
%149 = load i16, ptr %148, align 2
%150 = sext i16 %149 to i32
%151 = icmp slt i32 %150, 0
br i1 %151, label %152, label %157
152: ; preds = %145
%153 = load ptr, ptr %22, align 8
store i32 -11, ptr %153, align 4
%154 = load ptr, ptr %21, align 8
%155 = load i64, ptr %23, align 8
%156 = getelementptr inbounds i64, ptr %154, i64 %155
store i64 0, ptr %156, align 8
br label %166
157: ; preds = %145
%158 = load ptr, ptr %12, align 8
%159 = load i64, ptr %23, align 8
%160 = getelementptr inbounds i16, ptr %158, i64 %159
%161 = load i16, ptr %160, align 2
%162 = sext i16 %161 to i64
%163 = load ptr, ptr %21, align 8
%164 = load i64, ptr %23, align 8
%165 = getelementptr inbounds i64, ptr %163, i64 %164
store i64 %162, ptr %165, align 8
br label %166
166: ; preds = %157, %152
br label %167
167: ; preds = %166, %144
br label %168
168: ; preds = %167
%169 = load i64, ptr %23, align 8
%170 = add nsw i64 %169, 1
store i64 %170, ptr %23, align 8
%171 = load i64, ptr %23, align 8
%172 = load i64, ptr %13, align 8
%173 = icmp slt i64 %171, %172
br i1 %173, label %122, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %168
br label %174
174: ; preds = %._crit_edge3, %118
br label %244
175: ; preds = %115, %112
store i64 0, ptr %23, align 8
%176 = load i64, ptr %23, align 8
%177 = load i64, ptr %13, align 8
%178 = icmp slt i64 %176, %177
br i1 %178, label %.lr.ph, label %243
.lr.ph: ; preds = %175
br label %179
179: ; preds = %.lr.ph, %237
%180 = load ptr, ptr %12, align 8
%181 = load i64, ptr %23, align 8
%182 = getelementptr inbounds i16, ptr %180, i64 %181
%183 = load i16, ptr %182, align 2
%184 = sext i16 %183 to i32
%185 = load i16, ptr %17, align 2
%186 = sext i16 %185 to i32
%187 = icmp eq i32 %184, %186
br i1 %187, label %188, label %202
188: ; preds = %179
%189 = load ptr, ptr %20, align 8
store i32 1, ptr %189, align 4
%190 = load i32, ptr %16, align 4
%191 = icmp eq i32 %190, 1
br i1 %191, label %192, label %197
192: ; preds = %188
%193 = load i64, ptr %18, align 8
%194 = load ptr, ptr %21, align 8
%195 = load i64, ptr %23, align 8
%196 = getelementptr inbounds i64, ptr %194, i64 %195
store i64 %193, ptr %196, align 8
br label %201
197: ; preds = %188
%198 = load ptr, ptr %19, align 8
%199 = load i64, ptr %23, align 8
%200 = getelementptr inbounds i8, ptr %198, i64 %199
store i8 1, ptr %200, align 1
br label %201
201: ; preds = %197, %192
br label %236
202: ; preds = %179
%203 = load ptr, ptr %12, align 8
%204 = load i64, ptr %23, align 8
%205 = getelementptr inbounds i16, ptr %203, i64 %204
%206 = load i16, ptr %205, align 2
%207 = sext i16 %206 to i32
%208 = sitofp i32 %207 to double
%209 = load double, ptr %14, align 8
%210 = load double, ptr %15, align 8
%211 = call double @llvm.fmuladd.f64(double %208, double %209, double %210)
store double %211, ptr %24, align 8
%212 = load double, ptr %24, align 8
%213 = fcmp olt double %212, -4.900000e-01
br i1 %213, label %214, label %219
214: ; preds = %202
%215 = load ptr, ptr %22, align 8
store i32 -11, ptr %215, align 4
%216 = load ptr, ptr %21, align 8
%217 = load i64, ptr %23, align 8
%218 = getelementptr inbounds i64, ptr %216, i64 %217
store i64 0, ptr %218, align 8
br label %235
219: ; preds = %202
%220 = load double, ptr %24, align 8
%221 = fcmp ogt double %220, 0x43EFFFFFFFFFFFFF
br i1 %221, label %222, label %228
222: ; preds = %219
%223 = load ptr, ptr %22, align 8
store i32 -11, ptr %223, align 4
%224 = load i64, ptr @ULONG_MAX, align 8
%225 = load ptr, ptr %21, align 8
%226 = load i64, ptr %23, align 8
%227 = getelementptr inbounds i64, ptr %225, i64 %226
store i64 %224, ptr %227, align 8
br label %234
228: ; preds = %219
%229 = load double, ptr %24, align 8
%230 = fptoui double %229 to i64
%231 = load ptr, ptr %21, align 8
%232 = load i64, ptr %23, align 8
%233 = getelementptr inbounds i64, ptr %231, i64 %232
store i64 %230, ptr %233, align 8
br label %234
234: ; preds = %228, %222
br label %235
235: ; preds = %234, %214
br label %236
236: ; preds = %235, %201
br label %237
237: ; preds = %236
%238 = load i64, ptr %23, align 8
%239 = add nsw i64 %238, 1
store i64 %239, ptr %23, align 8
%240 = load i64, ptr %23, align 8
%241 = load i64, ptr %13, align 8
%242 = icmp slt i64 %240, %241
br i1 %242, label %179, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %237
br label %243
243: ; preds = %._crit_edge, %175
br label %244
244: ; preds = %243, %174
br label %245
245: ; preds = %244, %111
%246 = load ptr, ptr %22, align 8
%247 = load i32, ptr %246, align 4
ret i32 %247
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpgt5x2tdm.c'
source_filename = "/tmp/tmpgt5x2tdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"1.0.0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @version_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = 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/tmpgt5x2tdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"1.0.0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @version_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = 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/tmpoczc5d82.c'
source_filename = "/tmp/tmpoczc5d82.c"
target datalayout = "e-m:e-p270: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/tmpoczc5d82.c"
target datalayout = "e-m:e-p270: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/tmpxfe5u_g_.c'
source_filename = "/tmp/tmpxfe5u_g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KMPSearch(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 -1, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 4
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 4
%23 = trunc i64 %22 to i32
%24 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %9, align 8
%27 = call i32 @buildIndex(ptr noundef %25, ptr noundef %26)
store i32 0, ptr %5, align 4
br label %28
28: ; preds = %107, %2
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %108
36: ; preds = %28
%37 = load i32, ptr %5, align 4
store i32 %37, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %38
38: ; preds = %62, %36
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %44, %50
br i1 %51, label %52, label %60
52: ; preds = %38
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 0
br label %60
60: ; preds = %52, %38
%61 = phi i1 [ false, %38 ], [ %59, %52 ]
br i1 %61, label %62, label %67
62: ; preds = %60
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %7, align 4
br label %38, !llvm.loop !6
67: ; preds = %60
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %79
75: ; preds = %67
%76 = load i32, ptr %5, align 4
store i32 %76, ptr %10, align 4
%77 = load ptr, ptr %9, align 8
%78 = call i32 @free(ptr noundef %77)
br label %108
79: ; preds = %67
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %7, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %90
87: ; preds = %79
%88 = load ptr, ptr %9, align 8
%89 = call i32 @free(ptr noundef %88)
br label %108
90: ; preds = %79
%91 = load i32, ptr %6, align 4
%92 = icmp sgt i32 %91, 0
br i1 %92, label %93, label %104
93: ; preds = %90
%94 = load i32, ptr %6, align 4
%95 = load ptr, ptr %9, align 8
%96 = load i32, ptr %6, align 4
%97 = sub nsw i32 %96, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %95, i64 %98
%100 = load i32, ptr %99, align 4
%101 = sub nsw i32 %94, %100
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %102, %101
store i32 %103, ptr %5, align 4
br label %107
104: ; preds = %90
%105 = load i32, ptr %5, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %5, align 4
br label %107
107: ; preds = %104, %93
br label %28, !llvm.loop !8
108: ; preds = %87, %75, %28
%109 = load i32, ptr %10, align 4
ret i32 %109
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @buildIndex(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxfe5u_g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KMPSearch(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 -1, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 4
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 4
%23 = trunc i64 %22 to i32
%24 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %9, align 8
%27 = call i32 @buildIndex(ptr noundef %25, ptr noundef %26)
store i32 0, ptr %5, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %35
35: ; preds = %.lr.ph, %106
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %37
37: ; preds = %61, %35
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %43, %49
br i1 %50, label %51, label %59
51: ; preds = %37
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br label %59
59: ; preds = %51, %37
%60 = phi i1 [ false, %37 ], [ %58, %51 ]
br i1 %60, label %61, label %66
61: ; preds = %59
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %7, align 4
br label %37, !llvm.loop !6
66: ; preds = %59
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %66
%75 = load i32, ptr %5, align 4
store i32 %75, ptr %10, align 4
%76 = load ptr, ptr %9, align 8
%77 = call i32 @free(ptr noundef %76)
br label %114
78: ; preds = %66
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %89
86: ; preds = %78
%87 = load ptr, ptr %9, align 8
%88 = call i32 @free(ptr noundef %87)
br label %114
89: ; preds = %78
%90 = load i32, ptr %6, align 4
%91 = icmp sgt i32 %90, 0
br i1 %91, label %92, label %103
92: ; preds = %89
%93 = load i32, ptr %6, align 4
%94 = load ptr, ptr %9, align 8
%95 = load i32, ptr %6, align 4
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %94, i64 %97
%99 = load i32, ptr %98, align 4
%100 = sub nsw i32 %93, %99
%101 = load i32, ptr %5, align 4
%102 = add nsw i32 %101, %100
store i32 %102, ptr %5, align 4
br label %106
103: ; preds = %89
%104 = load i32, ptr %5, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %5, align 4
br label %106
106: ; preds = %103, %92
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %5, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp ne i32 %112, 0
br i1 %113, label %35, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %106
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %114
114: ; preds = %.loopexit, %86, %74
%115 = load i32, ptr %10, align 4
ret i32 %115
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @buildIndex(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi2hmm5q2.c'
source_filename = "/tmp/tmpi2hmm5q2.c"
target datalayout = "e-m:e-p270: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/tmpi2hmm5q2.c"
target datalayout = "e-m:e-p270: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/tmp0wogrvn1.c'
source_filename = "/tmp/tmp0wogrvn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btcmsg_craft_tx(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @btcmsg_craft_msgheader(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret i32 0
}
declare i32 @btcmsg_craft_msgheader(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/tmp0wogrvn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @btcmsg_craft_tx(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @btcmsg_craft_msgheader(ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret i32 0
}
declare i32 @btcmsg_craft_msgheader(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/tmp5zq3nmd9.c'
source_filename = "/tmp/tmp5zq3nmd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"You must supply a program which uses readline to run\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Example: %s /bin/irb\0A\00", align 1
@.str.3 = private unnamed_addr constant [96 x i8] c"LD_PRELOAD=./modified-readline-6.3/shlib/libreadline.so.6.3:/lib/x86_64-linux-gnu/libtinfo.so.5\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"exec() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %24
15: ; preds = %2
%16 = call i32 @putenv(ptr noundef @.str.3)
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = call i32 @execv(ptr noundef %19, ptr noundef %21)
%23 = call i32 @perror(ptr noundef @.str.4)
store i32 2, ptr %3, align 4
br label %24
24: ; preds = %15, %8
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putenv(ptr noundef) #1
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5zq3nmd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"You must supply a program which uses readline to run\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Example: %s /bin/irb\0A\00", align 1
@.str.3 = private unnamed_addr constant [96 x i8] c"LD_PRELOAD=./modified-readline-6.3/shlib/libreadline.so.6.3:/lib/x86_64-linux-gnu/libtinfo.so.5\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"exec() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %24
15: ; preds = %2
%16 = call i32 @putenv(ptr noundef @.str.3)
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = call i32 @execv(ptr noundef %19, ptr noundef %21)
%23 = call i32 @perror(ptr noundef @.str.4)
store i32 2, ptr %3, align 4
br label %24
24: ; preds = %15, %8
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putenv(ptr noundef) #1
declare i32 @execv(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6m8_4ki_.c'
source_filename = "/tmp/tmp6m8_4ki_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_chown(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @chown(ptr noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @chown(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/tmp6m8_4ki_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_chown(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @chown(ptr noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @chown(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/tmp94zbxga1.c'
source_filename = "/tmp/tmp94zbxga1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"__FMAP__\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @FmapFind(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %20, %2
%8 = load i64, ptr %6, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str, i32 noundef 8)
%14 = icmp eq i64 0, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %3, align 8
br label %24
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 4
store ptr %19, ptr %4, align 8
br label %20
20: ; preds = %17
%21 = load i64, ptr %6, align 8
%22 = add i64 %21, 4
store i64 %22, ptr %6, align 8
br label %7, !llvm.loop !6
23: ; preds = %7
store ptr null, ptr %3, align 8
br label %24
24: ; preds = %23, %15
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp94zbxga1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"__FMAP__\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @FmapFind(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %19
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strncmp(ptr noundef %11, ptr noundef @.str, i32 noundef 8)
%13 = icmp eq i64 0, %12
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %3, align 8
br label %26
16: ; preds = %10
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 4
store ptr %18, ptr %4, align 8
br label %19
19: ; preds = %16
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, 4
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr %5, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %26
26: ; preds = %25, %14
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgfjre70b.c'
source_filename = "/tmp/tmpgfjre70b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ti_tanh(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %19
19: ; preds = %34, %4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %37
23: ; preds = %19
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = call double @tanh(double noundef %28) #2
%30 = load ptr, ptr %10, align 8
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
store double %29, ptr %33, align 8
br label %34
34: ; preds = %23
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %11, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
ret i32 0
}
; Function Attrs: nounwind
declare double @tanh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgfjre70b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ti_tanh(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %10, align 8
store i32 0, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %22
22: ; preds = %.lr.ph, %33
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = call double @tanh(double noundef %27) #2
%29 = load ptr, ptr %10, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double %28, ptr %32, align 8
br label %33
33: ; preds = %22
%34 = load i32, ptr %11, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %4
ret i32 0
}
; Function Attrs: nounwind
declare double @tanh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0bf0ri67.c'
source_filename = "/tmp/tmp0bf0ri67.c"
target datalayout = "e-m:e-p270: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/tmp0bf0ri67.c"
target datalayout = "e-m:e-p270: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/tmp9730wqzj.c'
source_filename = "/tmp/tmp9730wqzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"my cut:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cut_rod(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %53
13: ; preds = %2
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %48, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %51
18: ; preds = %14
%19 = load i32, ptr %7, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %6, align 4
%28 = sub nsw i32 %26, %27
%29 = call i32 @cut_rod(ptr noundef %25, i32 noundef %28)
%30 = add nsw i32 %24, %29
%31 = icmp sgt i32 %19, %30
br i1 %31, label %32, label %34
32: ; preds = %18
%33 = load i32, ptr %7, align 4
br label %46
34: ; preds = %18
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %41, %42
%44 = call i32 @cut_rod(ptr noundef %40, i32 noundef %43)
%45 = add nsw i32 %39, %44
br label %46
46: ; preds = %34, %32
%47 = phi i32 [ %33, %32 ], [ %45, %34 ]
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %46
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
br label %14, !llvm.loop !6
51: ; preds = %14
%52 = load i32, ptr %7, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %51, %12
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9730wqzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"my cut:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cut_rod(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %55
13: ; preds = %2
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph, label %53
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %47
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %25, %26
%28 = call i32 @cut_rod(ptr noundef %24, i32 noundef %27)
%29 = add nsw i32 %23, %28
%30 = icmp sgt i32 %18, %29
br i1 %30, label %31, label %33
31: ; preds = %17
%32 = load i32, ptr %7, align 4
br label %45
33: ; preds = %17
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %6, align 4
%42 = sub nsw i32 %40, %41
%43 = call i32 @cut_rod(ptr noundef %39, i32 noundef %42)
%44 = add nsw i32 %38, %43
br label %45
45: ; preds = %33, %31
%46 = phi i32 [ %32, %31 ], [ %44, %33 ]
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %45
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %13
%54 = load i32, ptr %7, align 4
store i32 %54, ptr %3, align 4
br label %55
55: ; preds = %53, %12
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoxyxk64g.c'
source_filename = "/tmp/tmpoxyxk64g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"value of False is: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"value of True is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxyxk64g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"value of False is: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"value of True is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb38qqhp8.c'
source_filename = "/tmp/tmpb38qqhp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"; ToACME: Adding pseudo opcode to use PetSCII encoding by default:\0A!convtab pet\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ACME_switch_to_pet() #0 {
%1 = call i32 @IO_put_string(ptr noundef @.str)
ret void
}
declare i32 @IO_put_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb38qqhp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"; ToACME: Adding pseudo opcode to use PetSCII encoding by default:\0A!convtab pet\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ACME_switch_to_pet() #0 {
%1 = call i32 @IO_put_string(ptr noundef @.str)
ret void
}
declare i32 @IO_put_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpszs3mqmg.c'
source_filename = "/tmp/tmpszs3mqmg.c"
target datalayout = "e-m:e-p270: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/tmpszs3mqmg.c"
target datalayout = "e-m:e-p270: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/tmpgj2xd1hd.c'
source_filename = "/tmp/tmpgj2xd1hd.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"__NR_sigprocmask not supported on this platform\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stderr, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
ret i32 0
}
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/tmpgj2xd1hd.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"__NR_sigprocmask not supported on this platform\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stderr, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
ret i32 0
}
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/tmp3ptj8tep.c'
source_filename = "/tmp/tmp3ptj8tep.c"
target datalayout = "e-m:e-p270: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/tmp3ptj8tep.c"
target datalayout = "e-m:e-p270: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/tmpvv7wjn47.c'
source_filename = "/tmp/tmpvv7wjn47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_up_timeout(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %3, align 4
br label %16
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
store i64 0, ptr %11, align 8
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 8
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %9, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvv7wjn47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_up_timeout(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %3, align 4
br label %16
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
store i64 0, ptr %11, align 8
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 8
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %9, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpawncud5p.c'
source_filename = "/tmp/tmpawncud5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 567
%5 = sdiv i32 %4, 9
%6 = add nsw i32 %5, 7492
%7 = mul nsw i32 %6, 235
%8 = sdiv i32 %7, 47
%9 = sub nsw i32 %8, 498
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = srem i32 %10, 100
%12 = sdiv i32 %11, 10
%13 = call i32 @abs(i32 noundef %12) #2
ret i32 %13
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpawncud5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 567
%5 = sdiv i32 %4, 9
%6 = add nsw i32 %5, 7492
%7 = mul nsw i32 %6, 235
%8 = sdiv i32 %7, 47
%9 = sub nsw i32 %8, 498
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = srem i32 %10, 100
%12 = sdiv i32 %11, 10
%13 = call i32 @abs(i32 noundef %12) #2
ret i32 %13
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvudtq467.c'
source_filename = "/tmp/tmpvudtq467.c"
target datalayout = "e-m:e-p270: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/tmpvudtq467.c"
target datalayout = "e-m:e-p270: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/tmp514tsriv.c'
source_filename = "/tmp/tmp514tsriv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__darwin_termattrs() #0 {
%1 = call i32 (...) @termattrs()
ret i32 %1
}
declare i32 @termattrs(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp514tsriv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__darwin_termattrs() #0 {
%1 = call i32 (...) @termattrs()
ret i32 %1
}
declare i32 @termattrs(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjs0p_sc2.c'
source_filename = "/tmp/tmpjs0p_sc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @group_action_by_gamma(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%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 i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i64, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = 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 ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %11, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
store i32 %32, ptr %12, align 4
store i32 1, ptr %13, align 4
%33 = load i32, ptr %11, align 4
%34 = sitofp i32 %33 to double
%35 = fdiv double 1.000000e+00, %34
store double %35, ptr %14, align 8
store double 1.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
%36 = load i32, ptr %11, align 4
%37 = zext i32 %36 to i64
%38 = call ptr @llvm.stacksave()
store ptr %38, ptr %20, align 8
%39 = alloca double, i64 %37, align 16
store i64 %37, ptr %21, align 8
%40 = load i32, ptr %11, align 4
%41 = zext i32 %40 to i64
%42 = alloca double, i64 %41, align 16
store i64 %41, ptr %22, align 8
%43 = load i32, ptr %11, align 4
%44 = zext i32 %43 to i64
%45 = alloca double, i64 %44, align 16
store i64 %44, ptr %23, align 8
%46 = load i32, ptr %11, align 4
%47 = zext i32 %46 to i64
%48 = alloca double, i64 %47, align 16
store i64 %47, ptr %24, align 8
store ptr %42, ptr %26, align 8
%49 = load double, ptr %16, align 8
%50 = load double, ptr %15, align 8
%51 = load i32, ptr %11, align 4
%52 = load ptr, ptr %26, align 8
%53 = call i32 @linspace(double noundef %49, double noundef %50, i32 noundef %51, ptr noundef %52)
store ptr %39, ptr %25, align 8
%54 = load ptr, ptr %7, align 8
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %25, align 8
%57 = call i32 @gradient(ptr noundef %54, ptr noundef %13, ptr noundef %55, ptr noundef %14, ptr noundef %56)
store i32 0, ptr %18, align 4
br label %58
58: ; preds = %118, %5
%59 = load i32, ptr %18, align 4
%60 = load i32, ptr %12, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %121
62: ; preds = %58
store ptr %45, ptr %27, align 8
store ptr %48, ptr %28, align 8
store i32 0, ptr %17, align 4
br label %63
63: ; preds = %80, %62
%64 = load i32, ptr %17, align 4
%65 = load i32, ptr %11, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %83
67: ; preds = %63
%68 = load ptr, ptr %8, align 8
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %17, align 4
%71 = mul nsw i32 %69, %70
%72 = load i32, ptr %18, align 4
%73 = add nsw i32 %71, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %68, i64 %74
%76 = load double, ptr %75, align 8
%77 = load i32, ptr %17, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %45, i64 %78
store double %76, ptr %79, align 8
br label %80
80: ; preds = %67
%81 = load i32, ptr %17, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %17, align 4
br label %63, !llvm.loop !6
83: ; preds = %63
%84 = load i32, ptr %11, align 4
%85 = load ptr, ptr %26, align 8
%86 = load ptr, ptr %27, align 8
%87 = load i32, ptr %11, align 4
%88 = load ptr, ptr %9, align 8
%89 = load ptr, ptr %28, align 8
%90 = call i32 @spline(i32 noundef %84, ptr noundef %85, ptr noundef %86, i32 noundef %87, ptr noundef %88, ptr noundef %89)
store i32 0, ptr %17, align 4
br label %91
91: ; preds = %114, %83
%92 = load i32, ptr %17, align 4
%93 = load i32, ptr %11, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %117
95: ; preds = %91
%96 = load i32, ptr %17, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %48, i64 %97
%99 = load double, ptr %98, align 8
%100 = load i32, ptr %17, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %39, i64 %101
%103 = load double, ptr %102, align 8
%104 = call double @sqrt(double noundef %103) #4
%105 = fmul double %99, %104
%106 = load ptr, ptr %10, align 8
%107 = load i32, ptr %12, align 4
%108 = load i32, ptr %17, align 4
%109 = mul nsw i32 %107, %108
%110 = load i32, ptr %18, align 4
%111 = add nsw i32 %109, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %106, i64 %112
store double %105, ptr %113, align 8
br label %114
114: ; preds = %95
%115 = load i32, ptr %17, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %17, align 4
br label %91, !llvm.loop !8
117: ; preds = %91
br label %118
118: ; preds = %117
%119 = load i32, ptr %18, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %18, align 4
br label %58, !llvm.loop !9
121: ; preds = %58
%122 = load ptr, ptr %7, align 8
%123 = load ptr, ptr %10, align 8
%124 = load ptr, ptr %10, align 8
%125 = call double @innerprod_q2(ptr noundef %122, ptr noundef %123, ptr noundef %124)
store double %125, ptr %19, align 8
store i32 0, ptr %18, align 4
br label %126
126: ; preds = %145, %121
%127 = load i32, ptr %18, align 4
%128 = load i32, ptr %11, align 4
%129 = load i32, ptr %12, align 4
%130 = mul nsw i32 %128, %129
%131 = icmp slt i32 %127, %130
br i1 %131, label %132, label %148
132: ; preds = %126
%133 = load ptr, ptr %10, align 8
%134 = load i32, ptr %18, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %133, i64 %135
%137 = load double, ptr %136, align 8
%138 = load double, ptr %19, align 8
%139 = call double @sqrt(double noundef %138) #4
%140 = fdiv double %137, %139
%141 = load ptr, ptr %10, align 8
%142 = load i32, ptr %18, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double, ptr %141, i64 %143
store double %140, ptr %144, align 8
br label %145
145: ; preds = %132
%146 = load i32, ptr %18, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %18, align 4
br label %126, !llvm.loop !10
148: ; preds = %126
%149 = load ptr, ptr %20, align 8
call void @llvm.stackrestore(ptr %149)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @linspace(double noundef, double noundef, i32 noundef, ptr noundef) #2
declare i32 @gradient(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @spline(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare double @innerprod_q2(ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjs0p_sc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @group_action_by_gamma(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%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 i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i64, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = 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 ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %11, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
store i32 %32, ptr %12, align 4
store i32 1, ptr %13, align 4
%33 = load i32, ptr %11, align 4
%34 = sitofp i32 %33 to double
%35 = fdiv double 1.000000e+00, %34
store double %35, ptr %14, align 8
store double 1.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
%36 = load i32, ptr %11, align 4
%37 = zext i32 %36 to i64
%38 = call ptr @llvm.stacksave()
store ptr %38, ptr %20, align 8
%39 = alloca double, i64 %37, align 16
store i64 %37, ptr %21, align 8
%40 = load i32, ptr %11, align 4
%41 = zext i32 %40 to i64
%42 = alloca double, i64 %41, align 16
store i64 %41, ptr %22, align 8
%43 = load i32, ptr %11, align 4
%44 = zext i32 %43 to i64
%45 = alloca double, i64 %44, align 16
store i64 %44, ptr %23, align 8
%46 = load i32, ptr %11, align 4
%47 = zext i32 %46 to i64
%48 = alloca double, i64 %47, align 16
store i64 %47, ptr %24, align 8
store ptr %42, ptr %26, align 8
%49 = load double, ptr %16, align 8
%50 = load double, ptr %15, align 8
%51 = load i32, ptr %11, align 4
%52 = load ptr, ptr %26, align 8
%53 = call i32 @linspace(double noundef %49, double noundef %50, i32 noundef %51, ptr noundef %52)
store ptr %39, ptr %25, align 8
%54 = load ptr, ptr %7, align 8
%55 = load ptr, ptr %9, align 8
%56 = load ptr, ptr %25, align 8
%57 = call i32 @gradient(ptr noundef %54, ptr noundef %13, ptr noundef %55, ptr noundef %14, ptr noundef %56)
store i32 0, ptr %18, align 4
%58 = load i32, ptr %18, align 4
%59 = load i32, ptr %12, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph5, label %127
.lr.ph5: ; preds = %5
br label %61
61: ; preds = %.lr.ph5, %121
store ptr %45, ptr %27, align 8
store ptr %48, ptr %28, align 8
store i32 0, ptr %17, align 4
%62 = load i32, ptr %17, align 4
%63 = load i32, ptr %11, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %84
.lr.ph: ; preds = %61
br label %65
65: ; preds = %.lr.ph, %78
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %17, align 4
%69 = mul nsw i32 %67, %68
%70 = load i32, ptr %18, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %66, i64 %72
%74 = load double, ptr %73, align 8
%75 = load i32, ptr %17, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %45, i64 %76
store double %74, ptr %77, align 8
br label %78
78: ; preds = %65
%79 = load i32, ptr %17, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %17, align 4
%81 = load i32, ptr %17, align 4
%82 = load i32, ptr %11, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %84
84: ; preds = %._crit_edge, %61
%85 = load i32, ptr %11, align 4
%86 = load ptr, ptr %26, align 8
%87 = load ptr, ptr %27, align 8
%88 = load i32, ptr %11, align 4
%89 = load ptr, ptr %9, align 8
%90 = load ptr, ptr %28, align 8
%91 = call i32 @spline(i32 noundef %85, ptr noundef %86, ptr noundef %87, i32 noundef %88, ptr noundef %89, ptr noundef %90)
store i32 0, ptr %17, align 4
%92 = load i32, ptr %17, align 4
%93 = load i32, ptr %11, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %.lr.ph2, label %120
.lr.ph2: ; preds = %84
br label %95
95: ; preds = %.lr.ph2, %114
%96 = load i32, ptr %17, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %48, i64 %97
%99 = load double, ptr %98, align 8
%100 = load i32, ptr %17, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %39, i64 %101
%103 = load double, ptr %102, align 8
%104 = call double @sqrt(double noundef %103) #4
%105 = fmul double %99, %104
%106 = load ptr, ptr %10, align 8
%107 = load i32, ptr %12, align 4
%108 = load i32, ptr %17, align 4
%109 = mul nsw i32 %107, %108
%110 = load i32, ptr %18, align 4
%111 = add nsw i32 %109, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %106, i64 %112
store double %105, ptr %113, align 8
br label %114
114: ; preds = %95
%115 = load i32, ptr %17, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %17, align 4
%117 = load i32, ptr %17, align 4
%118 = load i32, ptr %11, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %95, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %114
br label %120
120: ; preds = %._crit_edge3, %84
br label %121
121: ; preds = %120
%122 = load i32, ptr %18, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %18, align 4
%124 = load i32, ptr %18, align 4
%125 = load i32, ptr %12, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %61, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %121
br label %127
127: ; preds = %._crit_edge6, %5
%128 = load ptr, ptr %7, align 8
%129 = load ptr, ptr %10, align 8
%130 = load ptr, ptr %10, align 8
%131 = call double @innerprod_q2(ptr noundef %128, ptr noundef %129, ptr noundef %130)
store double %131, ptr %19, align 8
store i32 0, ptr %18, align 4
%132 = load i32, ptr %18, align 4
%133 = load i32, ptr %11, align 4
%134 = load i32, ptr %12, align 4
%135 = mul nsw i32 %133, %134
%136 = icmp slt i32 %132, %135
br i1 %136, label %.lr.ph8, label %158
.lr.ph8: ; preds = %127
br label %137
137: ; preds = %.lr.ph8, %150
%138 = load ptr, ptr %10, align 8
%139 = load i32, ptr %18, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %138, i64 %140
%142 = load double, ptr %141, align 8
%143 = load double, ptr %19, align 8
%144 = call double @sqrt(double noundef %143) #4
%145 = fdiv double %142, %144
%146 = load ptr, ptr %10, align 8
%147 = load i32, ptr %18, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %146, i64 %148
store double %145, ptr %149, align 8
br label %150
150: ; preds = %137
%151 = load i32, ptr %18, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %18, align 4
%153 = load i32, ptr %18, align 4
%154 = load i32, ptr %11, align 4
%155 = load i32, ptr %12, align 4
%156 = mul nsw i32 %154, %155
%157 = icmp slt i32 %153, %156
br i1 %157, label %137, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %150
br label %158
158: ; preds = %._crit_edge9, %127
%159 = load ptr, ptr %20, align 8
call void @llvm.stackrestore(ptr %159)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @linspace(double noundef, double noundef, i32 noundef, ptr noundef) #2
declare i32 @gradient(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @spline(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare double @innerprod_q2(ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpi301ldwq.c'
source_filename = "/tmp/tmpi301ldwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #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/tmpi301ldwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #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/tmp2u1_u2mo.c'
source_filename = "/tmp/tmp2u1_u2mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgrent() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2u1_u2mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgrent() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjvmf0flb.c'
source_filename = "/tmp/tmpjvmf0flb.c"
target datalayout = "e-m:e-p270: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/tmpjvmf0flb.c"
target datalayout = "e-m:e-p270: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/tmpimmu6w0x.c'
source_filename = "/tmp/tmpimmu6w0x.c"
target datalayout = "e-m:e-p270: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/tmpimmu6w0x.c"
target datalayout = "e-m:e-p270: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/tmp7i1_rc4j.c'
source_filename = "/tmp/tmp7i1_rc4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @printStaticLib()
ret i32 0
}
declare i32 @printStaticLib(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7i1_rc4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @printStaticLib()
ret i32 0
}
declare i32 @printStaticLib(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeo8j0jnk.c'
source_filename = "/tmp/tmpeo8j0jnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"should return either true or false\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %2, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %23, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %26
10: ; preds = %7
%11 = call float (...) @rand_float()
%12 = call float @llvm.fmuladd.f32(float %11, float 1.000000e+02, float -5.000000e+01)
store float %12, ptr %3, align 4
%13 = load float, ptr %3, align 4
%14 = call i32 @stdlib_base_is_negative_zerof(float noundef %13)
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 1
br i1 %16, label %17, label %22
17: ; preds = %10
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(ptr noundef @.str)
br label %26
22: ; preds = %17, %10
br label %23
23: ; preds = %22
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %7, !llvm.loop !6
26: ; preds = %20, %7
%27 = call double (...) @tic()
%28 = load double, ptr %2, align 8
%29 = fsub double %27, %28
store double %29, ptr %1, align 8
%30 = load i32, ptr %4, align 4
%31 = icmp ne i32 %30, 1
br i1 %31, label %32, label %37
32: ; preds = %26
%33 = load i32, ptr %4, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(ptr noundef @.str)
br label %37
37: ; preds = %35, %32, %26
%38 = load double, ptr %1, align 8
ret double %38
}
declare double @tic(...) #1
declare float @rand_float(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @stdlib_base_is_negative_zerof(float 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeo8j0jnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"should return either true or false\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %2, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %22
%10 = call float (...) @rand_float()
%11 = call float @llvm.fmuladd.f32(float %10, float 1.000000e+02, float -5.000000e+01)
store float %11, ptr %3, align 4
%12 = load float, ptr %3, align 4
%13 = call i32 @stdlib_base_is_negative_zerof(float noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 1
br i1 %15, label %16, label %21
16: ; preds = %9
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @printf(ptr noundef @.str)
br label %27
21: ; preds = %16, %9
br label %22
22: ; preds = %21
%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 = icmp slt i32 %25, 1000000
br i1 %26, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %27
27: ; preds = %.loopexit, %19
%28 = call double (...) @tic()
%29 = load double, ptr %2, align 8
%30 = fsub double %28, %29
store double %30, ptr %1, align 8
%31 = load i32, ptr %4, align 4
%32 = icmp ne i32 %31, 1
br i1 %32, label %33, label %38
33: ; preds = %27
%34 = load i32, ptr %4, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(ptr noundef @.str)
br label %38
38: ; preds = %36, %33, %27
%39 = load double, ptr %1, align 8
ret double %39
}
declare double @tic(...) #1
declare float @rand_float(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @stdlib_base_is_negative_zerof(float 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv4txhuam.c'
source_filename = "/tmp/tmpv4txhuam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tl880_disable_apu(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 @tl880_write_register(ptr noundef %3, i32 noundef 12288, i32 noundef 0)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @tl880_write_register(ptr noundef %5, i32 noundef 12292, i32 noundef 0)
ret void
}
declare i32 @tl880_write_register(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/tmpv4txhuam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tl880_disable_apu(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 @tl880_write_register(ptr noundef %3, i32 noundef 12288, i32 noundef 0)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @tl880_write_register(ptr noundef %5, i32 noundef 12292, i32 noundef 0)
ret void
}
declare i32 @tl880_write_register(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/tmpgmbopbsj.c'
source_filename = "/tmp/tmpgmbopbsj.c"
target datalayout = "e-m:e-p270: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/tmpgmbopbsj.c"
target datalayout = "e-m:e-p270: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/tmpgh2m4_qw.c'
source_filename = "/tmp/tmpgh2m4_qw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = 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
%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 %5, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
br label %7
7: ; preds = %11, %0
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %2, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = srem i32 %13, %14
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, i32 1, i32 0
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %5, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = load i32, ptr %5, align 4
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgh2m4_qw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = 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
%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 %5, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %2, align 4
%9 = icmp ne i32 %7, 0
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %2, align 4
%22 = icmp ne i32 %20, 0
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %23
23: ; preds = %._crit_edge, %0
%24 = load i32, ptr %5, align 4
%25 = call i32 @printf(ptr noundef @.str.2, i32 noundef %24)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0b61ybya.c'
source_filename = "/tmp/tmp0b61ybya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"PathExists: unknown path %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PathExists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @stat(ptr noundef %6, ptr noundef %4)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %12)
store i32 -1, ptr %2, align 4
br label %21
14: ; preds = %1
%15 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = call i64 @S_ISDIR(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 0, ptr %2, align 4
br label %21
20: ; preds = %14
store i32 -1, ptr %2, align 4
br label %21
21: ; preds = %20, %19, %10
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(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/tmp0b61ybya.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"PathExists: unknown path %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PathExists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @stat(ptr noundef %6, ptr noundef %4)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %12)
store i32 -1, ptr %2, align 4
br label %21
14: ; preds = %1
%15 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = call i64 @S_ISDIR(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 0, ptr %2, align 4
br label %21
20: ; preds = %14
store i32 -1, ptr %2, align 4
br label %21
21: ; preds = %20, %19, %10
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(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/tmpo457qkow.c'
source_filename = "/tmp/tmpo457qkow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"before reading: connection is %d \0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"header\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"ERROR: Filename creation on server side\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"Failed\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"before opening \0A\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [27 x i8] c"File created successfully\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Success\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_file(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 100)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %13
store i8 0, ptr %14, align 1
%15 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%16 = call i64 @strncmp(ptr noundef %15, ptr noundef @.str.1, i32 noundef 6)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%20 = load i32, ptr %3, align 4
%21 = call i32 @write(i32 noundef %20, ptr noundef @.str.3, i32 noundef 6)
store i32 0, ptr %2, align 4
br label %43
22: ; preds = %1
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%24 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%25 = getelementptr inbounds i8, ptr %24, i64 7
%26 = load i32, ptr @O_CREAT, align 4
%27 = call i32 (ptr, i32, ...) @open(ptr noundef %25, i32 noundef %26, i32 noundef 416)
store i32 %27, ptr %4, align 4
%28 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%29 = getelementptr inbounds i8, ptr %28, i64 7
%30 = load i32, ptr @O_WRONLY, align 4
%31 = call i32 (ptr, i32, ...) @open(ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %22
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%36 = load i32, ptr %3, align 4
%37 = call i32 @write(i32 noundef %36, ptr noundef @.str.3, i32 noundef 6)
store i32 0, ptr %2, align 4
br label %43
38: ; preds = %22
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%40 = load i32, ptr %3, align 4
%41 = call i32 @write(i32 noundef %40, ptr noundef @.str.6, i32 noundef 7)
%42 = load i32, ptr %4, align 4
store i32 %42, ptr %2, align 4
br label %43
43: ; preds = %38, %34, %18
%44 = load i32, ptr %2, align 4
ret i32 %44
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @open(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/tmpo457qkow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"before reading: connection is %d \0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"header\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"ERROR: Filename creation on server side\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"Failed\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"before opening \0A\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [27 x i8] c"File created successfully\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Success\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_file(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 100)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %13
store i8 0, ptr %14, align 1
%15 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%16 = call i64 @strncmp(ptr noundef %15, ptr noundef @.str.1, i32 noundef 6)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%20 = load i32, ptr %3, align 4
%21 = call i32 @write(i32 noundef %20, ptr noundef @.str.3, i32 noundef 6)
store i32 0, ptr %2, align 4
br label %43
22: ; preds = %1
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%24 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%25 = getelementptr inbounds i8, ptr %24, i64 7
%26 = load i32, ptr @O_CREAT, align 4
%27 = call i32 (ptr, i32, ...) @open(ptr noundef %25, i32 noundef %26, i32 noundef 416)
store i32 %27, ptr %4, align 4
%28 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%29 = getelementptr inbounds i8, ptr %28, i64 7
%30 = load i32, ptr @O_WRONLY, align 4
%31 = call i32 (ptr, i32, ...) @open(ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %22
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%36 = load i32, ptr %3, align 4
%37 = call i32 @write(i32 noundef %36, ptr noundef @.str.3, i32 noundef 6)
store i32 0, ptr %2, align 4
br label %43
38: ; preds = %22
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%40 = load i32, ptr %3, align 4
%41 = call i32 @write(i32 noundef %40, ptr noundef @.str.6, i32 noundef 7)
%42 = load i32, ptr %4, align 4
store i32 %42, ptr %2, align 4
br label %43
43: ; preds = %38, %34, %18
%44 = load i32, ptr %2, align 4
ret i32 %44
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @open(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/tmpi_6k7jsw.c'
source_filename = "/tmp/tmpi_6k7jsw.c"
target datalayout = "e-m:e-p270: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/tmpi_6k7jsw.c"
target datalayout = "e-m:e-p270: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/tmppidz3vlk.c'
source_filename = "/tmp/tmppidz3vlk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Longest line is %d characters (including newline character):\0A%s\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"There were no lines, yoh.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %19, %0
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @readline(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr %4, align 4
store i32 %15, ptr %5, align 4
%16 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @copy(ptr noundef %16, ptr noundef %17)
br label %19
19: ; preds = %14, %10
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load i32, ptr %5, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i32, ptr %5, align 4
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24, ptr noundef %25)
br label %29
27: ; preds = %20
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %29
29: ; preds = %27, %23
ret i32 0
}
declare i32 @readline(ptr noundef) #1
declare i32 @copy(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/tmppidz3vlk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Longest line is %d characters (including newline character):\0A%s\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"There were no lines, yoh.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @readline(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %18
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %5, align 4
%15 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%16 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%17 = call i32 @copy(ptr noundef %15, ptr noundef %16)
br label %18
18: ; preds = %13, %9
%19 = call i32 @readline(ptr noundef %6)
store i32 %19, ptr %4, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %5, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = load i32, ptr %5, align 4
%26 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25, ptr noundef %26)
br label %30
28: ; preds = %21
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %24
ret i32 0
}
declare i32 @readline(ptr noundef) #1
declare i32 @copy(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/tmp2gfn473r.c'
source_filename = "/tmp/tmp2gfn473r.c"
target datalayout = "e-m:e-p270: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/tmp2gfn473r.c"
target datalayout = "e-m:e-p270: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/tmp2beydrus.c'
source_filename = "/tmp/tmp2beydrus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strdup(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %13, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @die(ptr noundef @.str)
br label %13
13: ; preds = %11, %8, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @strdup(ptr noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2beydrus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strdup(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %13, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @die(ptr noundef @.str)
br label %13
13: ; preds = %11, %8, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @strdup(ptr noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmf88gpse.c'
source_filename = "/tmp/tmpmf88gpse.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
store i32 1, ptr %3, align 4
br label %71
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 1, ptr %3, align 4
br label %71
29: ; preds = %21
%30 = load i32, ptr %6, align 4
%31 = sub nsw i32 %30, 1
%32 = call i32 @power(i32 noundef 10, i32 noundef %31)
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = call i32 @power(i32 noundef 10, i32 noundef %33)
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %8, align 4
store i32 0, ptr %9, align 4
%36 = load i32, ptr %7, align 4
store i32 %36, ptr %10, align 4
br label %37
37: ; preds = %65, %29
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %68
41: ; preds = %37
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %11, align 4
br label %43
43: ; preds = %61, %41
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %64
47: ; preds = %43
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %12, align 4
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %9, align 4
%53 = icmp sgt i32 %51, %52
br i1 %53, label %54, label %60
54: ; preds = %47
%55 = load i32, ptr %12, align 4
%56 = call i64 @is_palindrome(i32 noundef %55, i32 noundef 10)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %54
%59 = load i32, ptr %12, align 4
store i32 %59, ptr %9, align 4
br label %60
60: ; preds = %58, %54, %47
br label %61
61: ; preds = %60
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
br label %43, !llvm.loop !6
64: ; preds = %43
br label %65
65: ; preds = %64
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %10, align 4
br label %37, !llvm.loop !8
68: ; preds = %37
%69 = load i32, ptr %9, align 4
%70 = call i32 @printf(ptr noundef @.str.1, i32 noundef %69)
store i32 0, ptr %3, align 4
br label %71
71: ; preds = %68, %28, %15
%72 = load i32, ptr %3, align 4
ret i32 %72
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @power(i32 noundef, i32 noundef) #1
declare i64 @is_palindrome(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmf88gpse.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
store i32 1, ptr %3, align 4
br label %75
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 1, ptr %3, align 4
br label %75
29: ; preds = %21
%30 = load i32, ptr %6, align 4
%31 = sub nsw i32 %30, 1
%32 = call i32 @power(i32 noundef 10, i32 noundef %31)
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = call i32 @power(i32 noundef 10, i32 noundef %33)
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %8, align 4
store i32 0, ptr %9, align 4
%36 = load i32, ptr %7, align 4
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %.lr.ph2, label %72
.lr.ph2: ; preds = %29
br label %40
40: ; preds = %.lr.ph2, %66
%41 = load i32, ptr %10, align 4
store i32 %41, ptr %11, align 4
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %.lr.ph, label %65
.lr.ph: ; preds = %40
br label %45
45: ; preds = %.lr.ph, %59
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %11, align 4
%48 = mul nsw i32 %46, %47
store i32 %48, ptr %12, align 4
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %9, align 4
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %58
52: ; preds = %45
%53 = load i32, ptr %12, align 4
%54 = call i64 @is_palindrome(i32 noundef %53, i32 noundef 10)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load i32, ptr %12, align 4
store i32 %57, ptr %9, align 4
br label %58
58: ; preds = %56, %52, %45
br label %59
59: ; preds = %58
%60 = load i32, ptr %11, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %11, align 4
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %40
br label %66
66: ; preds = %65
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %10, align 4
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %8, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %29
%73 = load i32, ptr %9, align 4
%74 = call i32 @printf(ptr noundef @.str.1, i32 noundef %73)
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %72, %28, %15
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @power(i32 noundef, i32 noundef) #1
declare i64 @is_palindrome(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbo8iw8gz.c'
source_filename = "/tmp/tmpbo8iw8gz.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"The command line is missing a positive \00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"integer at its end.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\22%s\22 (from item %d on the command line) \00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"is not a positive integer.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pl_P_Int(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i8 0, ptr %12, align 1
%13 = load i32, ptr %10, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %5
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %58
21: ; preds = %5
%22 = load ptr, ptr %9, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load ptr, ptr %7, align 8
%31 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30, ptr noundef %12)
%32 = icmp ne i32 %31, 1
br i1 %32, label %41, label %33
33: ; preds = %21
%34 = load i8, ptr %12, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %38, align 4
%40 = icmp sle i32 %39, 0
br i1 %40, label %41, label %55
41: ; preds = %37, %33, %21
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %11, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i32, ptr %10, align 4
%52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.3, ptr noundef %50, i32 noundef %51)
%53 = load i32, ptr @stderr, align 4
%54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.4)
store i32 0, ptr %6, align 4
br label %58
55: ; preds = %37
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %58
58: ; preds = %55, %41, %16
%59 = load i32, ptr %6, align 4
ret i32 %59
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @sscanf(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/tmpbo8iw8gz.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"The command line is missing a positive \00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"integer at its end.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\22%s\22 (from item %d on the command line) \00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"is not a positive integer.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pl_P_Int(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i8 0, ptr %12, align 1
%13 = load i32, ptr %10, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %5
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %58
21: ; preds = %5
%22 = load ptr, ptr %9, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load ptr, ptr %7, align 8
%31 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30, ptr noundef %12)
%32 = icmp ne i32 %31, 1
br i1 %32, label %41, label %33
33: ; preds = %21
%34 = load i8, ptr %12, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %38, align 4
%40 = icmp sle i32 %39, 0
br i1 %40, label %41, label %55
41: ; preds = %37, %33, %21
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %11, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i32, ptr %10, align 4
%52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.3, ptr noundef %50, i32 noundef %51)
%53 = load i32, ptr @stderr, align 4
%54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.4)
store i32 0, ptr %6, align 4
br label %58
55: ; preds = %37
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %58
58: ; preds = %55, %41, %16
%59 = load i32, ptr %6, align 4
ret i32 %59
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @sscanf(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/tmp4ebt1vza.c'
source_filename = "/tmp/tmp4ebt1vza.c"
target datalayout = "e-m:e-p270: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.salt = private unnamed_addr constant [14 x i8] c"$1$saltstring\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"Hello world!\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1\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 [14 x i8], align 1
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.salt, i64 14, i1 false)
store i32 0, ptr %8, align 4
%9 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%10 = call ptr @crypt(ptr noundef @.str, ptr noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %7, align 8
%15 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %14)
%16 = load i32, ptr %8, align 4
%17 = or i32 %16, %15
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %13, %2
%19 = load i32, ptr %8, align 4
ret i32 %19
}
; 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 ptr @crypt(ptr noundef, ptr noundef) #2
declare i32 @strcmp(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/tmp4ebt1vza.c"
target datalayout = "e-m:e-p270: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.salt = private unnamed_addr constant [14 x i8] c"$1$saltstring\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"Hello world!\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1\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 [14 x i8], align 1
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.salt, i64 14, i1 false)
store i32 0, ptr %8, align 4
%9 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%10 = call ptr @crypt(ptr noundef @.str, ptr noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %7, align 8
%15 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %14)
%16 = load i32, ptr %8, align 4
%17 = or i32 %16, %15
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %13, %2
%19 = load i32, ptr %8, align 4
ret i32 %19
}
; 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 ptr @crypt(ptr noundef, ptr noundef) #2
declare i32 @strcmp(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.