llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmph_ti1tlp.c'
source_filename = "/tmp/tmph_ti1tlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Usage: %s [-r|-w] <entry_name> [value]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_ti1tlp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Usage: %s [-r|-w] <entry_name> [value]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu6spvgj7.c'
source_filename = "/tmp/tmpu6spvgj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (...) @rand()
store i32 %9, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp sle i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 (...) @rand()
store i32 %13, ptr %7, align 4
store i32 42, ptr %6, align 4
br label %17
14: ; preds = %2
%15 = call i32 (...) @rand()
%16 = call i32 (...) @rand()
store i32 %16, ptr %7, align 4
store i32 7, ptr %6, align 4
br label %17
17: ; preds = %14, %12
%18 = load i32, ptr %6, align 4
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu6spvgj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (...) @rand()
store i32 %9, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp sle i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 (...) @rand()
store i32 %13, ptr %7, align 4
store i32 42, ptr %6, align 4
br label %17
14: ; preds = %2
%15 = call i32 (...) @rand()
%16 = call i32 (...) @rand()
store i32 %16, ptr %7, align 4
store i32 7, ptr %6, align 4
br label %17
17: ; preds = %14, %12
%18 = load i32, ptr %6, align 4
ret i32 %18
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe49s1rpy.c'
source_filename = "/tmp/tmpe49s1rpy.c"
target datalayout = "e-m:e-p270: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/tmpe49s1rpy.c"
target datalayout = "e-m:e-p270: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/tmpjhhbe_sq.c'
source_filename = "/tmp/tmpjhhbe_sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.can_frame = type { i32, i32, ptr }
@main.buf = internal global [400 x i8] zeroinitializer, align 16
@main.device = internal global [400 x i8] zeroinitializer, align 16
@main.ascframe = internal global [400 x i8] zeroinitializer, align 16
@main.id = internal global [10 x i8] zeroinitializer, align 1
@main.tv = internal global %struct.timeval zeroinitializer, align 4
@main.start_tv = internal global %struct.timeval zeroinitializer, align 4
@stdin = dso_local global ptr null, align 8
@stdout = dso_local global ptr null, align 8
@main.maxdev = internal global i32 0, align 4
@main.devno = internal global i32 0, align 4
@main.i = internal global i32 0, align 4
@main.crlf = internal global i32 0, align 4
@main.d4 = internal global i32 0, align 4
@main.opt = internal global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"I:O:4n?\00", align 1
@optarg = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"infile\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"outfile\00", align 1
@stderr = dso_local global ptr null, align 8
@.str.5 = private unnamed_addr constant [19 x i8] c"Unknown option %c\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [28 x i8] c"no CAN interfaces defined!\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"line too long for input buffer\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"(%ld.%ld) %s %s\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"incorrect line format in logfile\0A\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"date %s\00", align 1
@.str.11 = private unnamed_addr constant [32 x i8] c"base hex timestamps absolute%s\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"no internal events logged%s\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"%4ld.%04ld \00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"%4ld.%06ld \00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"%-2d \00", align 1
@CAN_ERR_FLAG = dso_local global i32 0, align 4
@.str.18 = private unnamed_addr constant [11 x i8] c"ErrorFrame\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"%X%c\00", align 1
@CAN_EFF_MASK = dso_local global i32 0, align 4
@CAN_EFF_FLAG = dso_local global i32 0, align 4
@.str.20 = private unnamed_addr constant [12 x i8] c"%-15s Rx \00", align 1
@CAN_RTR_FLAG = dso_local global i32 0, align 4
@.str.21 = private unnamed_addr constant [5 x i8] c"d %d\00", align 1
@.str.22 = private unnamed_addr constant [6 x i8] c" %02X\00", align 1
@.str.23 = private unnamed_addr constant [2 x i8] c"\0D\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 %struct.can_frame, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr @stdin, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr @stdout, align 8
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %51, %2
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str)
store i32 %14, ptr @main.opt, align 4
%15 = icmp ne i32 %14, -1
br i1 %15, label %16, label %52
16: ; preds = %11
%17 = load i32, ptr @main.opt, align 4
switch i32 %17, label %42 [
i32 73, label %18
i32 79, label %26
i32 110, label %34
i32 52, label %35
i32 63, label %36
]
18: ; preds = %16
%19 = load i32, ptr @optarg, align 4
%20 = call ptr @fopen(i32 noundef %19, ptr noundef @.str.1)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %241
25: ; preds = %18
br label %51
26: ; preds = %16
%27 = load i32, ptr @optarg, align 4
%28 = call ptr @fopen(i32 noundef %27, ptr noundef @.str.3)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %3, align 4
br label %241
33: ; preds = %26
br label %51
34: ; preds = %16
store i32 1, ptr @main.crlf, align 4
br label %51
35: ; preds = %16
store i32 1, ptr @main.d4, align 4
br label %51
36: ; preds = %16
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = call i32 @basename(ptr noundef %39)
%41 = call i32 @print_usage(i32 noundef %40)
store i32 0, ptr %3, align 4
br label %241
42: ; preds = %16
%43 = load ptr, ptr @stderr, align 8
%44 = load i32, ptr @main.opt, align 4
%45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.5, i32 noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 0
%48 = load ptr, ptr %47, align 8
%49 = call i32 @basename(ptr noundef %48)
%50 = call i32 @print_usage(i32 noundef %49)
store i32 1, ptr %3, align 4
br label %241
51: ; preds = %35, %34, %33, %25
br label %11, !llvm.loop !6
52: ; preds = %11
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr @optind, align 4
%55 = sub nsw i32 %53, %54
store i32 %55, ptr @main.maxdev, align 4
%56 = load i32, ptr @main.maxdev, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %66, label %58
58: ; preds = %52
%59 = load ptr, ptr @stderr, align 8
%60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.6)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = call i32 @basename(ptr noundef %63)
%65 = call i32 @print_usage(i32 noundef %64)
store i32 1, ptr %3, align 4
br label %241
66: ; preds = %52
br label %67
67: ; preds = %237, %81, %66
%68 = load ptr, ptr %7, align 8
%69 = call i64 @fgets(ptr noundef @main.buf, i32 noundef 399, ptr noundef %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %238
71: ; preds = %67
%72 = call i32 @strlen(ptr noundef @main.buf)
%73 = icmp sge i32 %72, 398
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load ptr, ptr @stderr, align 8
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.7)
store i32 1, ptr %3, align 4
br label %241
77: ; preds = %71
%78 = load i8, ptr @main.buf, align 16
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 40
br i1 %80, label %81, label %82
81: ; preds = %77
br label %67, !llvm.loop !8
82: ; preds = %77
%83 = call i32 @sscanf(ptr noundef @main.buf, ptr noundef @.str.8, ptr noundef @main.tv, ptr noundef getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), ptr noundef @main.device, ptr noundef @main.ascframe)
%84 = icmp ne i32 %83, 4
br i1 %84, label %85, label %88
85: ; preds = %82
%86 = load ptr, ptr @stderr, align 8
%87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.9)
store i32 1, ptr %3, align 4
br label %241
88: ; preds = %82
%89 = load i32, ptr @main.start_tv, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %107, label %91
91: ; preds = %88
call void @llvm.memcpy.p0.p0.i64(ptr align 4 @main.start_tv, ptr align 4 @main.tv, i64 8, i1 false)
%92 = load ptr, ptr %8, align 8
%93 = call ptr @ctime(ptr noundef @main.start_tv)
%94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.10, ptr noundef %93)
%95 = load ptr, ptr %8, align 8
%96 = load i32, ptr @main.crlf, align 4
%97 = icmp ne i32 %96, 0
%98 = zext i1 %97 to i64
%99 = select i1 %97, ptr @.str.12, ptr @.str.13
%100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.11, ptr noundef %99)
%101 = load ptr, ptr %8, align 8
%102 = load i32, ptr @main.crlf, align 4
%103 = icmp ne i32 %102, 0
%104 = zext i1 %103 to i64
%105 = select i1 %103, ptr @.str.12, ptr @.str.13
%106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.14, ptr noundef %105)
br label %107
107: ; preds = %91, %88
store i32 0, ptr @main.i, align 4
store i32 0, ptr @main.devno, align 4
br label %108
108: ; preds = %126, %107
%109 = load i32, ptr @main.i, align 4
%110 = load i32, ptr @main.maxdev, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %129
112: ; preds = %108
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr @optind, align 4
%115 = load i32, ptr @main.i, align 4
%116 = add nsw i32 %114, %115
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds ptr, ptr %113, i64 %117
%119 = load ptr, ptr %118, align 8
%120 = call i32 @strcmp(ptr noundef @main.device, ptr noundef %119)
%121 = icmp ne i32 %120, 0
br i1 %121, label %125, label %122
122: ; preds = %112
%123 = load i32, ptr @main.i, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr @main.devno, align 4
br label %129
125: ; preds = %112
br label %126
126: ; preds = %125
%127 = load i32, ptr @main.i, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr @main.i, align 4
br label %108, !llvm.loop !9
129: ; preds = %122, %108
%130 = load i32, ptr @main.devno, align 4
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %237
132: ; preds = %129
%133 = call i64 @parse_canframe(ptr noundef @main.ascframe, ptr noundef %6)
%134 = icmp ne i64 %133, 0
br i1 %134, label %135, label %136
135: ; preds = %132
store i32 1, ptr %3, align 4
br label %241
136: ; preds = %132
%137 = load i32, ptr @main.tv, align 4
%138 = load i32, ptr @main.start_tv, align 4
%139 = sub nsw i32 %137, %138
store i32 %139, ptr @main.tv, align 4
%140 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%141 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.start_tv, i32 0, i32 1), align 4
%142 = sub nsw i32 %140, %141
store i32 %142, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%143 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%144 = icmp slt i32 %143, 0
br i1 %144, label %145, label %150
145: ; preds = %136
%146 = load i32, ptr @main.tv, align 4
%147 = add nsw i32 %146, -1
store i32 %147, ptr @main.tv, align 4
%148 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%149 = add nsw i32 %148, 1000000
store i32 %149, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
br label %150
150: ; preds = %145, %136
%151 = load i32, ptr @main.tv, align 4
%152 = icmp slt i32 %151, 0
br i1 %152, label %153, label %154
153: ; preds = %150
store i32 0, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
store i32 0, ptr @main.tv, align 4
br label %154
154: ; preds = %153, %150
%155 = load i32, ptr @main.d4, align 4
%156 = icmp ne i32 %155, 0
br i1 %156, label %157, label %163
157: ; preds = %154
%158 = load ptr, ptr %8, align 8
%159 = load i32, ptr @main.tv, align 4
%160 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%161 = sdiv i32 %160, 100
%162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef @.str.15, i32 noundef %159, i32 noundef %161)
br label %168
163: ; preds = %154
%164 = load ptr, ptr %8, align 8
%165 = load i32, ptr @main.tv, align 4
%166 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.16, i32 noundef %165, i32 noundef %166)
br label %168
168: ; preds = %163, %157
%169 = load ptr, ptr %8, align 8
%170 = load i32, ptr @main.devno, align 4
%171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.17, i32 noundef %170)
%172 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%173 = load i32, ptr %172, align 8
%174 = load i32, ptr @CAN_ERR_FLAG, align 4
%175 = and i32 %173, %174
%176 = icmp ne i32 %175, 0
br i1 %176, label %177, label %180
177: ; preds = %168
%178 = load ptr, ptr %8, align 8
%179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.18)
br label %228
180: ; preds = %168
%181 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%182 = load i32, ptr %181, align 8
%183 = load i32, ptr @CAN_EFF_MASK, align 4
%184 = and i32 %182, %183
%185 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%186 = load i32, ptr %185, align 8
%187 = load i32, ptr @CAN_EFF_FLAG, align 4
%188 = and i32 %186, %187
%189 = icmp ne i32 %188, 0
%190 = zext i1 %189 to i64
%191 = select i1 %189, i32 120, i32 32
%192 = trunc i32 %191 to i8
%193 = call i32 @sprintf(ptr noundef @main.id, ptr noundef @.str.19, i32 noundef %184, i8 noundef signext %192)
%194 = load ptr, ptr %8, align 8
%195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.20, ptr noundef @main.id)
%196 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%197 = load i32, ptr %196, align 8
%198 = load i32, ptr @CAN_RTR_FLAG, align 4
%199 = and i32 %197, %198
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %204
201: ; preds = %180
%202 = load ptr, ptr %8, align 8
%203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef @.str.1)
br label %227
204: ; preds = %180
%205 = load ptr, ptr %8, align 8
%206 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 1
%207 = load i32, ptr %206, align 4
%208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef @.str.21, i32 noundef %207)
store i32 0, ptr @main.i, align 4
br label %209
209: ; preds = %223, %204
%210 = load i32, ptr @main.i, align 4
%211 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 1
%212 = load i32, ptr %211, align 4
%213 = icmp slt i32 %210, %212
br i1 %213, label %214, label %226
214: ; preds = %209
%215 = load ptr, ptr %8, align 8
%216 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 2
%217 = load ptr, ptr %216, align 8
%218 = load i32, ptr @main.i, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i32, ptr %217, i64 %219
%221 = load i32, ptr %220, align 4
%222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef @.str.22, i32 noundef %221)
br label %223
223: ; preds = %214
%224 = load i32, ptr @main.i, align 4
%225 = add nsw i32 %224, 1
store i32 %225, ptr @main.i, align 4
br label %209, !llvm.loop !10
226: ; preds = %209
br label %227
227: ; preds = %226, %201
br label %228
228: ; preds = %227, %177
%229 = load i32, ptr @main.crlf, align 4
%230 = icmp ne i32 %229, 0
br i1 %230, label %231, label %234
231: ; preds = %228
%232 = load ptr, ptr %8, align 8
%233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %232, ptr noundef @.str.23)
br label %234
234: ; preds = %231, %228
%235 = load ptr, ptr %8, align 8
%236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.13)
br label %237
237: ; preds = %234, %129
br label %67, !llvm.loop !8
238: ; preds = %67
%239 = load ptr, ptr %8, align 8
%240 = call i32 @fflush(ptr noundef %239)
store i32 0, ptr %3, align 4
br label %241
241: ; preds = %238, %135, %85, %74, %58, %42, %36, %31, %23
%242 = load i32, ptr %3, align 4
ret i32 %242
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @print_usage(i32 noundef) #1
declare i32 @basename(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare ptr @ctime(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @parse_canframe(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjhhbe_sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.can_frame = type { i32, i32, ptr }
@main.buf = internal global [400 x i8] zeroinitializer, align 16
@main.device = internal global [400 x i8] zeroinitializer, align 16
@main.ascframe = internal global [400 x i8] zeroinitializer, align 16
@main.id = internal global [10 x i8] zeroinitializer, align 1
@main.tv = internal global %struct.timeval zeroinitializer, align 4
@main.start_tv = internal global %struct.timeval zeroinitializer, align 4
@stdin = dso_local global ptr null, align 8
@stdout = dso_local global ptr null, align 8
@main.maxdev = internal global i32 0, align 4
@main.devno = internal global i32 0, align 4
@main.i = internal global i32 0, align 4
@main.crlf = internal global i32 0, align 4
@main.d4 = internal global i32 0, align 4
@main.opt = internal global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"I:O:4n?\00", align 1
@optarg = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"infile\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"outfile\00", align 1
@stderr = dso_local global ptr null, align 8
@.str.5 = private unnamed_addr constant [19 x i8] c"Unknown option %c\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [28 x i8] c"no CAN interfaces defined!\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"line too long for input buffer\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"(%ld.%ld) %s %s\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"incorrect line format in logfile\0A\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"date %s\00", align 1
@.str.11 = private unnamed_addr constant [32 x i8] c"base hex timestamps absolute%s\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"no internal events logged%s\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"%4ld.%04ld \00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"%4ld.%06ld \00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"%-2d \00", align 1
@CAN_ERR_FLAG = dso_local global i32 0, align 4
@.str.18 = private unnamed_addr constant [11 x i8] c"ErrorFrame\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"%X%c\00", align 1
@CAN_EFF_MASK = dso_local global i32 0, align 4
@CAN_EFF_FLAG = dso_local global i32 0, align 4
@.str.20 = private unnamed_addr constant [12 x i8] c"%-15s Rx \00", align 1
@CAN_RTR_FLAG = dso_local global i32 0, align 4
@.str.21 = private unnamed_addr constant [5 x i8] c"d %d\00", align 1
@.str.22 = private unnamed_addr constant [6 x i8] c" %02X\00", align 1
@.str.23 = private unnamed_addr constant [2 x i8] c"\0D\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 %struct.can_frame, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr @stdin, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr @stdout, align 8
store ptr %10, ptr %8, align 8
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr @main.opt, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %.lr.ph, label %55
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %50
%16 = load i32, ptr @main.opt, align 4
switch i32 %16, label %41 [
i32 73, label %17
i32 79, label %25
i32 110, label %33
i32 52, label %34
i32 63, label %35
]
17: ; preds = %15
%18 = load i32, ptr @optarg, align 4
%19 = call ptr @fopen(i32 noundef %18, ptr noundef @.str.1)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %250
24: ; preds = %17
br label %50
25: ; preds = %15
%26 = load i32, ptr @optarg, align 4
%27 = call ptr @fopen(i32 noundef %26, ptr noundef @.str.3)
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %32, label %30
30: ; preds = %25
%31 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %3, align 4
br label %250
32: ; preds = %25
br label %50
33: ; preds = %15
store i32 1, ptr @main.crlf, align 4
br label %50
34: ; preds = %15
store i32 1, ptr @main.d4, align 4
br label %50
35: ; preds = %15
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 0
%38 = load ptr, ptr %37, align 8
%39 = call i32 @basename(ptr noundef %38)
%40 = call i32 @print_usage(i32 noundef %39)
store i32 0, ptr %3, align 4
br label %250
41: ; preds = %15
%42 = load ptr, ptr @stderr, align 8
%43 = load i32, ptr @main.opt, align 4
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5, i32 noundef %43)
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 @basename(ptr noundef %47)
%49 = call i32 @print_usage(i32 noundef %48)
store i32 1, ptr %3, align 4
br label %250
50: ; preds = %34, %33, %32, %24
%51 = load i32, ptr %4, align 4
%52 = load ptr, ptr %5, align 8
%53 = call i32 @getopt(i32 noundef %51, ptr noundef %52, ptr noundef @.str)
store i32 %53, ptr @main.opt, align 4
%54 = icmp ne i32 %53, -1
br i1 %54, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %55
55: ; preds = %._crit_edge, %2
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr @optind, align 4
%58 = sub nsw i32 %56, %57
store i32 %58, ptr @main.maxdev, align 4
%59 = load i32, ptr @main.maxdev, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %69, label %61
61: ; preds = %55
%62 = load ptr, ptr @stderr, align 8
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.6)
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 0
%66 = load ptr, ptr %65, align 8
%67 = call i32 @basename(ptr noundef %66)
%68 = call i32 @print_usage(i32 noundef %67)
store i32 1, ptr %3, align 4
br label %250
69: ; preds = %55
%70 = load ptr, ptr %7, align 8
%71 = call i64 @fgets(ptr noundef @main.buf, i32 noundef 399, ptr noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %.lr.ph7, label %247
.lr.ph7: ; preds = %69
br label %73
73: ; preds = %.lr.ph7, %.backedge
%74 = call i32 @strlen(ptr noundef @main.buf)
%75 = icmp sge i32 %74, 398
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = load ptr, ptr @stderr, align 8
%78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.7)
store i32 1, ptr %3, align 4
br label %250
79: ; preds = %73
%80 = load i8, ptr @main.buf, align 16
%81 = sext i8 %80 to i32
%82 = icmp ne i32 %81, 40
br i1 %82, label %83, label %87
83: ; preds = %79
br label %.backedge
.backedge: ; preds = %83, %246
%84 = load ptr, ptr %7, align 8
%85 = call i64 @fgets(ptr noundef @main.buf, i32 noundef 399, ptr noundef %84)
%86 = icmp ne i64 %85, 0
br i1 %86, label %73, label %._crit_edge8, !llvm.loop !8
87: ; preds = %79
%88 = call i32 @sscanf(ptr noundef @main.buf, ptr noundef @.str.8, ptr noundef @main.tv, ptr noundef getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), ptr noundef @main.device, ptr noundef @main.ascframe)
%89 = icmp ne i32 %88, 4
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load ptr, ptr @stderr, align 8
%92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.9)
store i32 1, ptr %3, align 4
br label %250
93: ; preds = %87
%94 = load i32, ptr @main.start_tv, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %112, label %96
96: ; preds = %93
call void @llvm.memcpy.p0.p0.i64(ptr align 4 @main.start_tv, ptr align 4 @main.tv, i64 8, i1 false)
%97 = load ptr, ptr %8, align 8
%98 = call ptr @ctime(ptr noundef @main.start_tv)
%99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.10, ptr noundef %98)
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr @main.crlf, align 4
%102 = icmp ne i32 %101, 0
%103 = zext i1 %102 to i64
%104 = select i1 %102, ptr @.str.12, ptr @.str.13
%105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.11, ptr noundef %104)
%106 = load ptr, ptr %8, align 8
%107 = load i32, ptr @main.crlf, align 4
%108 = icmp ne i32 %107, 0
%109 = zext i1 %108 to i64
%110 = select i1 %108, ptr @.str.12, ptr @.str.13
%111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.14, ptr noundef %110)
br label %112
112: ; preds = %96, %93
store i32 0, ptr @main.i, align 4
store i32 0, ptr @main.devno, align 4
%113 = load i32, ptr @main.i, align 4
%114 = load i32, ptr @main.maxdev, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %112
br label %116
116: ; preds = %.lr.ph2, %130
%117 = load ptr, ptr %5, align 8
%118 = load i32, ptr @optind, align 4
%119 = load i32, ptr @main.i, align 4
%120 = add nsw i32 %118, %119
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %117, i64 %121
%123 = load ptr, ptr %122, align 8
%124 = call i32 @strcmp(ptr noundef @main.device, ptr noundef %123)
%125 = icmp ne i32 %124, 0
br i1 %125, label %129, label %126
126: ; preds = %116
%127 = load i32, ptr @main.i, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr @main.devno, align 4
br label %136
129: ; preds = %116
br label %130
130: ; preds = %129
%131 = load i32, ptr @main.i, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr @main.i, align 4
%133 = load i32, ptr @main.i, align 4
%134 = load i32, ptr @main.maxdev, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %116, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %130
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %112
br label %136
136: ; preds = %.loopexit, %126
%137 = load i32, ptr @main.devno, align 4
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %246
139: ; preds = %136
%140 = call i64 @parse_canframe(ptr noundef @main.ascframe, ptr noundef %6)
%141 = icmp ne i64 %140, 0
br i1 %141, label %142, label %143
142: ; preds = %139
store i32 1, ptr %3, align 4
br label %250
143: ; preds = %139
%144 = load i32, ptr @main.tv, align 4
%145 = load i32, ptr @main.start_tv, align 4
%146 = sub nsw i32 %144, %145
store i32 %146, ptr @main.tv, align 4
%147 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%148 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.start_tv, i32 0, i32 1), align 4
%149 = sub nsw i32 %147, %148
store i32 %149, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%150 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%151 = icmp slt i32 %150, 0
br i1 %151, label %152, label %157
152: ; preds = %143
%153 = load i32, ptr @main.tv, align 4
%154 = add nsw i32 %153, -1
store i32 %154, ptr @main.tv, align 4
%155 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%156 = add nsw i32 %155, 1000000
store i32 %156, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
br label %157
157: ; preds = %152, %143
%158 = load i32, ptr @main.tv, align 4
%159 = icmp slt i32 %158, 0
br i1 %159, label %160, label %161
160: ; preds = %157
store i32 0, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
store i32 0, ptr @main.tv, align 4
br label %161
161: ; preds = %160, %157
%162 = load i32, ptr @main.d4, align 4
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %170
164: ; preds = %161
%165 = load ptr, ptr %8, align 8
%166 = load i32, ptr @main.tv, align 4
%167 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%168 = sdiv i32 %167, 100
%169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.15, i32 noundef %166, i32 noundef %168)
br label %175
170: ; preds = %161
%171 = load ptr, ptr %8, align 8
%172 = load i32, ptr @main.tv, align 4
%173 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @main.tv, i32 0, i32 1), align 4
%174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef @.str.16, i32 noundef %172, i32 noundef %173)
br label %175
175: ; preds = %170, %164
%176 = load ptr, ptr %8, align 8
%177 = load i32, ptr @main.devno, align 4
%178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.17, i32 noundef %177)
%179 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%180 = load i32, ptr %179, align 8
%181 = load i32, ptr @CAN_ERR_FLAG, align 4
%182 = and i32 %180, %181
%183 = icmp ne i32 %182, 0
br i1 %183, label %184, label %187
184: ; preds = %175
%185 = load ptr, ptr %8, align 8
%186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef @.str.18)
br label %237
187: ; preds = %175
%188 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%189 = load i32, ptr %188, align 8
%190 = load i32, ptr @CAN_EFF_MASK, align 4
%191 = and i32 %189, %190
%192 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%193 = load i32, ptr %192, align 8
%194 = load i32, ptr @CAN_EFF_FLAG, align 4
%195 = and i32 %193, %194
%196 = icmp ne i32 %195, 0
%197 = zext i1 %196 to i64
%198 = select i1 %196, i32 120, i32 32
%199 = trunc i32 %198 to i8
%200 = call i32 @sprintf(ptr noundef @main.id, ptr noundef @.str.19, i32 noundef %191, i8 noundef signext %199)
%201 = load ptr, ptr %8, align 8
%202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.20, ptr noundef @main.id)
%203 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 0
%204 = load i32, ptr %203, align 8
%205 = load i32, ptr @CAN_RTR_FLAG, align 4
%206 = and i32 %204, %205
%207 = icmp ne i32 %206, 0
br i1 %207, label %208, label %211
208: ; preds = %187
%209 = load ptr, ptr %8, align 8
%210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.1)
br label %236
211: ; preds = %187
%212 = load ptr, ptr %8, align 8
%213 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 1
%214 = load i32, ptr %213, align 4
%215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef @.str.21, i32 noundef %214)
store i32 0, ptr @main.i, align 4
%216 = load i32, ptr @main.i, align 4
%217 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 1
%218 = load i32, ptr %217, align 4
%219 = icmp slt i32 %216, %218
br i1 %219, label %.lr.ph4, label %235
.lr.ph4: ; preds = %211
br label %220
220: ; preds = %.lr.ph4, %229
%221 = load ptr, ptr %8, align 8
%222 = getelementptr inbounds %struct.can_frame, ptr %6, i32 0, i32 2
%223 = load ptr, ptr %222, align 8
%224 = load i32, ptr @main.i, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds i32, ptr %223, i64 %225
%227 = load i32, ptr %226, align 4
%228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.22, i32 noundef %227)
br label %229
229: ; preds = %220
%230 = load i32, ptr @main.i, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr @main.i, align 4
%232 = load i32, ptr @main.i, align 4
%233 = load i32, ptr %217, align 4
%234 = icmp slt i32 %232, %233
br i1 %234, label %220, label %._crit_edge5, !llvm.loop !10
._crit_edge5: ; preds = %229
br label %235
235: ; preds = %._crit_edge5, %211
br label %236
236: ; preds = %235, %208
br label %237
237: ; preds = %236, %184
%238 = load i32, ptr @main.crlf, align 4
%239 = icmp ne i32 %238, 0
br i1 %239, label %240, label %243
240: ; preds = %237
%241 = load ptr, ptr %8, align 8
%242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.23)
br label %243
243: ; preds = %240, %237
%244 = load ptr, ptr %8, align 8
%245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.13)
br label %246
246: ; preds = %243, %136
br label %.backedge
._crit_edge8: ; preds = %.backedge
br label %247
247: ; preds = %._crit_edge8, %69
%248 = load ptr, ptr %8, align 8
%249 = call i32 @fflush(ptr noundef %248)
store i32 0, ptr %3, align 4
br label %250
250: ; preds = %247, %142, %90, %76, %61, %41, %35, %30, %22
%251 = load i32, ptr %3, align 4
ret i32 %251
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @print_usage(i32 noundef) #1
declare i32 @basename(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare ptr @ctime(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @parse_canframe(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8odud4bk.c'
source_filename = "/tmp/tmp8odud4bk.c"
target datalayout = "e-m:e-p270: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/tmp8odud4bk.c"
target datalayout = "e-m:e-p270: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/tmpoqk58cg7.c'
source_filename = "/tmp/tmpoqk58cg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sviet(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 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqk58cg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sviet(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 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplx7erkxw.c'
source_filename = "/tmp/tmplx7erkxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @_WLocale_strxfrm(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %23
13: ; preds = %5
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i64, ptr %8, align 8
%17 = sub i64 %16, 1
%18 = call i32 @wcsncpy(ptr noundef %14, ptr noundef %15, i64 noundef %17)
%19 = load ptr, ptr %7, align 8
%20 = load i64, ptr %8, align 8
%21 = sub i64 %20, 1
%22 = getelementptr inbounds i64, ptr %19, i64 %21
store i64 0, ptr %22, align 8
br label %23
23: ; preds = %13, %5
%24 = load i64, ptr %10, align 8
ret i64 %24
}
declare i32 @wcsncpy(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/tmplx7erkxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @_WLocale_strxfrm(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %23
13: ; preds = %5
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i64, ptr %8, align 8
%17 = sub i64 %16, 1
%18 = call i32 @wcsncpy(ptr noundef %14, ptr noundef %15, i64 noundef %17)
%19 = load ptr, ptr %7, align 8
%20 = load i64, ptr %8, align 8
%21 = sub i64 %20, 1
%22 = getelementptr inbounds i64, ptr %19, i64 %21
store i64 0, ptr %22, align 8
br label %23
23: ; preds = %13, %5
%24 = load i64, ptr %10, align 8
ret i64 %24
}
declare i32 @wcsncpy(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/tmp9lflpf8b.c'
source_filename = "/tmp/tmp9lflpf8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [1000 x i8], align 16
%4 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %9, %0
%6 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @getlineuser(ptr noundef %6, i32 noundef 1000)
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %5
%10 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%11 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @entab(ptr noundef %10, ptr noundef %11)
br label %5, !llvm.loop !6
13: ; preds = %5
ret i32 0
}
declare i32 @getlineuser(ptr noundef, i32 noundef) #1
declare i32 @entab(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/tmp9lflpf8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [1000 x i8], align 16
%4 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @getlineuser(ptr noundef %5, i32 noundef 1000)
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%10 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @entab(ptr noundef %9, ptr noundef %10)
%12 = call i32 @getlineuser(ptr noundef %5, i32 noundef 1000)
store i32 %12, ptr %2, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %14
14: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getlineuser(ptr noundef, i32 noundef) #1
declare i32 @entab(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/tmprvcgn84k.c'
source_filename = "/tmp/tmprvcgn84k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Usage: %s file.dat output-directory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rtfm(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 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 1
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvcgn84k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Usage: %s file.dat output-directory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rtfm(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 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 1
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1w6nxvon.c'
source_filename = "/tmp/tmp1w6nxvon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"(%d, %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 3, ptr %5, align 4
store i32 2, ptr %4, align 4
store i32 2, ptr %2, align 4
br label %7
7: ; preds = %46, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %49
10: ; preds = %7
store i32 2, ptr %4, align 4
br label %11
11: ; preds = %16, %10
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = srem i32 %12, %13
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %11, !llvm.loop !6
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %45
23: ; preds = %19
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 2
store i32 %25, ptr %6, align 4
store i32 2, ptr %2, align 4
br label %26
26: ; preds = %31, %23
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %2, align 4
%29 = srem i32 %27, %28
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %2, align 4
br label %26, !llvm.loop !8
34: ; preds = %26
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp eq i32 %35, %36
br i1 %37, label %38, label %44
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %41, i32 noundef %42)
br label %44
44: ; preds = %38, %34
br label %45
45: ; preds = %44, %19
br label %46
46: ; preds = %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 2
store i32 %48, ptr %5, align 4
br label %7, !llvm.loop !9
49: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1w6nxvon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"(%d, %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 3, ptr %5, align 4
store i32 2, ptr %4, align 4
store i32 2, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph5, label %56
.lr.ph5: ; preds = %0
br label %9
9: ; preds = %.lr.ph5, %51
store i32 2, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = srem i32 %10, %11
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %21
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = srem i32 %17, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %21
21: ; preds = %._crit_edge, %9
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %50
25: ; preds = %21
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 2
store i32 %27, ptr %6, align 4
store i32 2, ptr %2, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %2, align 4
%30 = srem i32 %28, %29
%31 = icmp ne i32 %30, 0
br i1 %31, label %.lr.ph2, label %39
.lr.ph2: ; preds = %25
br label %32
32: ; preds = %.lr.ph2, %32
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %2, align 4
%37 = srem i32 %35, %36
%38 = icmp ne i32 %37, 0
br i1 %38, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %39
39: ; preds = %._crit_edge3, %25
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %6, align 4
%48 = call i32 @printf(ptr noundef @.str, i32 noundef %46, i32 noundef %47)
br label %49
49: ; preds = %43, %39
br label %50
50: ; preds = %49, %21
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 2
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp slt i32 %54, 10
br i1 %55, label %9, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %51
br label %56
56: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpyw38zoa6.c'
source_filename = "/tmp/tmpyw38zoa6.c"
target datalayout = "e-m:e-p270: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/tmpyw38zoa6.c"
target datalayout = "e-m:e-p270: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/tmplitpk3y9.c'
source_filename = "/tmp/tmplitpk3y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/tty\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"Passphrase: \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"You entered: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @perror(ptr noundef %14)
store i32 1, ptr %3, align 4
br label %45
16: ; preds = %2
%17 = load i32, ptr %7, align 4
%18 = call i32 @passphrase_disable_echo1(i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%20 = load i32, ptr @stdout, align 4
%21 = call i32 @fflush(i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = call ptr @passphrase_read2(i32 noundef %22, i32 noundef 3)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %34
26: ; preds = %16
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = call i32 @perror(ptr noundef %28)
%30 = load i32, ptr %7, align 4
%31 = call i32 @passphrase_reenable_echo1(i32 noundef %30)
%32 = load i32, ptr %7, align 4
%33 = call i32 @close(i32 noundef %32)
store i32 1, ptr %3, align 4
br label %45
34: ; preds = %16
%35 = load ptr, ptr %6, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @passphrase_wipe1(ptr noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load i32, ptr %7, align 4
%42 = call i32 @passphrase_reenable_echo1(i32 noundef %41)
%43 = load i32, ptr %7, align 4
%44 = call i32 @close(i32 noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %34, %26, %12
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @passphrase_disable_echo1(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare ptr @passphrase_read2(i32 noundef, i32 noundef) #1
declare i32 @passphrase_reenable_echo1(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @passphrase_wipe1(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplitpk3y9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/tty\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"Passphrase: \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"You entered: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @perror(ptr noundef %14)
store i32 1, ptr %3, align 4
br label %45
16: ; preds = %2
%17 = load i32, ptr %7, align 4
%18 = call i32 @passphrase_disable_echo1(i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%20 = load i32, ptr @stdout, align 4
%21 = call i32 @fflush(i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = call ptr @passphrase_read2(i32 noundef %22, i32 noundef 3)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %34
26: ; preds = %16
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = call i32 @perror(ptr noundef %28)
%30 = load i32, ptr %7, align 4
%31 = call i32 @passphrase_reenable_echo1(i32 noundef %30)
%32 = load i32, ptr %7, align 4
%33 = call i32 @close(i32 noundef %32)
store i32 1, ptr %3, align 4
br label %45
34: ; preds = %16
%35 = load ptr, ptr %6, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @passphrase_wipe1(ptr noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load i32, ptr %7, align 4
%42 = call i32 @passphrase_reenable_echo1(i32 noundef %41)
%43 = load i32, ptr %7, align 4
%44 = call i32 @close(i32 noundef %43)
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %34, %26, %12
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @passphrase_disable_echo1(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare ptr @passphrase_read2(i32 noundef, i32 noundef) #1
declare i32 @passphrase_reenable_echo1(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @passphrase_wipe1(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj68z5ozc.c'
source_filename = "/tmp/tmpj68z5ozc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"p_%d,%d(x)= \00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"%d\1B[31mx\1B[33m^\1B[35m%d\1B[0m + \00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"%d\1B[31mx\1B[33m^\1B[35m%d\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @polinomio(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %7, align 4
br label %12
12: ; preds = %41, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %44
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %26, %27
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %28)
br label %40
30: ; preds = %16
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %36, %37
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35, i32 noundef %38)
br label %40
40: ; preds = %30, %20
br label %41
41: ; preds = %40
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
br label %12, !llvm.loop !6
44: ; preds = %12
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj68z5ozc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"p_%d,%d(x)= \00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"%d\1B[31mx\1B[33m^\1B[35m%d\1B[0m + \00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"%d\1B[31mx\1B[33m^\1B[35m%d\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @polinomio(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph, label %46
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %40
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %5, align 4
%27 = sub nsw i32 %25, %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24, i32 noundef %27)
br label %39
29: ; preds = %15
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %5, align 4
%37 = sub nsw i32 %35, %36
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34, i32 noundef %37)
br label %39
39: ; preds = %29, %19
br label %40
40: ; preds = %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %3
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxs3rgpt8.c'
source_filename = "/tmp/tmpxs3rgpt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blcfill_u32_wrap(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 @__blcfill_u32(i32 noundef %3)
ret i32 %4
}
declare i32 @__blcfill_u32(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,+tbm,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxs3rgpt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blcfill_u32_wrap(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 @__blcfill_u32(i32 noundef %3)
ret i32 %4
}
declare i32 @__blcfill_u32(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,+tbm,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5xewh5ob.c'
source_filename = "/tmp/tmp5xewh5ob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"What would you like to do?\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c" ( 0) Exit\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c" ( 1) Reverse String\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" ( 2) Reverse Number\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c" ( 3) Evaluate Expression\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c" ( 4) Even/Odd\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c" ( 5) Maximum of 3 numbers\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c" ( 6) Decimal to Binary\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c" ( 7) Binary to Decimal\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c" ( 8) Octal to Binary\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c" ( 9) Decimal to Octal\00", align 1
@.str.11 = private unnamed_addr constant [39 x i8] c" (10) Print even numbers from 1 to 100\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c" (11) Multiplication Table\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c" (12) Reciprocal\00", align 1
@.str.14 = private unnamed_addr constant [23 x i8] c" (13) Electricity Bill\00", align 1
@.str.15 = private unnamed_addr constant [21 x i8] c" (14) Perfect Square\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c" (15) Prime Factors\00", align 1
@.str.17 = private unnamed_addr constant [23 x i8] c" (16) Fibonacci Series\00", align 1
@.str.18 = private unnamed_addr constant [16 x i8] c" (17) Leap Year\00", align 1
@.str.19 = private unnamed_addr constant [23 x i8] c" (18) Floyd's Triangle\00", align 1
@.str.20 = private unnamed_addr constant [7 x i8] c" %u%*c\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"Bye!\00", align 1
@.str.22 = private unnamed_addr constant [8 x i8] c"String?\00", align 1
@.str.23 = private unnamed_addr constant [21 x i8] c"Reversed String: %s\0A\00", align 1
@.str.24 = private unnamed_addr constant [8 x i8] c"Number?\00", align 1
@.str.25 = private unnamed_addr constant [21 x i8] c"Reversed Number: %u\0A\00", align 1
@.str.26 = private unnamed_addr constant [12 x i8] c"Expression?\00", align 1
@.str.27 = private unnamed_addr constant [7 x i8] c"= %lf\0A\00", align 1
@.str.28 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.29 = private unnamed_addr constant [5 x i8] c"Even\00", align 1
@.str.30 = private unnamed_addr constant [4 x i8] c"Odd\00", align 1
@.str.31 = private unnamed_addr constant [11 x i8] c"3 numbers?\00", align 1
@.str.32 = private unnamed_addr constant [13 x i8] c" %u %u %u%*c\00", align 1
@.str.33 = private unnamed_addr constant [10 x i8] c"max = %u\0A\00", align 1
@.str.34 = private unnamed_addr constant [9 x i8] c"Decimal?\00", align 1
@.str.35 = private unnamed_addr constant [8 x i8] c"Binary?\00", align 1
@.str.36 = private unnamed_addr constant [16 x i8] c"%u in decimal.\0A\00", align 1
@.str.37 = private unnamed_addr constant [7 x i8] c"Octal?\00", align 1
@.str.38 = private unnamed_addr constant [4 x i8] c"%4u\00", align 1
@.str.39 = private unnamed_addr constant [18 x i8] c"Reciprocal = %lf\0A\00", align 1
@.str.40 = private unnamed_addr constant [16 x i8] c"Units Consumed?\00", align 1
@.str.41 = private unnamed_addr constant [33 x i8] c"The number is %sperfect square.\0A\00", align 1
@.str.42 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.43 = private unnamed_addr constant [5 x i8] c"not \00", align 1
@.str.44 = private unnamed_addr constant [20 x i8] c"Number of Elements?\00", align 1
@.str.45 = private unnamed_addr constant [6 x i8] c"Year?\00", align 1
@.str.46 = private unnamed_addr constant [11 x i8] c"%u is %s.\0A\00", align 1
@.str.47 = private unnamed_addr constant [5 x i8] c"leap\00", align 1
@.str.48 = private unnamed_addr constant [9 x i8] c"not leap\00", align 1
@.str.49 = private unnamed_addr constant [16 x i8] c"Number of Rows?\00", align 1
@.str.50 = private unnamed_addr constant [18 x i8] c"Incorrect Choice!\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.51 = private unnamed_addr constant [32 x i8] c"Allocation Error!\0ACore Dumped!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %173, %0
%8 = call i32 @puts(ptr noundef @.str)
%9 = call i32 @puts(ptr noundef @.str.1)
%10 = call i32 @puts(ptr noundef @.str.2)
%11 = call i32 @puts(ptr noundef @.str.3)
%12 = call i32 @puts(ptr noundef @.str.4)
%13 = call i32 @puts(ptr noundef @.str.5)
%14 = call i32 @puts(ptr noundef @.str.6)
%15 = call i32 @puts(ptr noundef @.str.7)
%16 = call i32 @puts(ptr noundef @.str.8)
%17 = call i32 @puts(ptr noundef @.str.9)
%18 = call i32 @puts(ptr noundef @.str.10)
%19 = call i32 @puts(ptr noundef @.str.11)
%20 = call i32 @puts(ptr noundef @.str.12)
%21 = call i32 @puts(ptr noundef @.str.13)
%22 = call i32 @puts(ptr noundef @.str.14)
%23 = call i32 @puts(ptr noundef @.str.15)
%24 = call i32 @puts(ptr noundef @.str.16)
%25 = call i32 @puts(ptr noundef @.str.17)
%26 = call i32 @puts(ptr noundef @.str.18)
%27 = call i32 @puts(ptr noundef @.str.19)
%28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %5)
%29 = load i32, ptr %5, align 4
switch i32 %29, label %169 [
i32 0, label %30
i32 1, label %32
i32 2, label %44
i32 3, label %50
i32 4, label %62
i32 5, label %71
i32 6, label %79
i32 7, label %84
i32 8, label %90
i32 9, label %95
i32 10, label %100
i32 11, label %112
i32 12, label %117
i32 13, label %130
i32 14, label %135
i32 15, label %144
i32 16, label %149
i32 17, label %154
i32 18, label %164
]
30: ; preds = %7
%31 = call i32 @puts(ptr noundef @.str.21)
br label %171
32: ; preds = %7
%33 = call i32 @puts(ptr noundef @.str.22)
%34 = call ptr (...) @getstr()
store ptr %34, ptr %6, align 8
%35 = load ptr, ptr %6, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %38, label %37
37: ; preds = %32
br label %177
38: ; preds = %32
%39 = load ptr, ptr %6, align 8
%40 = call ptr @strrev(ptr noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, ptr noundef %40)
%42 = load ptr, ptr %6, align 8
%43 = call i32 @free(ptr noundef %42)
br label %171
44: ; preds = %7
%45 = call i32 @puts(ptr noundef @.str.24)
%46 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%47 = load i32, ptr %2, align 4
%48 = call i32 @revnum(i32 noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %48)
br label %171
50: ; preds = %7
%51 = call i32 @puts(ptr noundef @.str.26)
%52 = call ptr (...) @getstr()
store ptr %52, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %56, label %55
55: ; preds = %50
br label %177
56: ; preds = %50
%57 = load ptr, ptr %6, align 8
%58 = call double @expr(ptr noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, double noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @free(ptr noundef %60)
br label %171
62: ; preds = %7
%63 = call i32 @puts(ptr noundef @.str.24)
%64 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%65 = load i32, ptr %2, align 4
%66 = call i32 @iseven(i32 noundef %65)
%67 = icmp ne i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, ptr @.str.29, ptr @.str.30
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, ptr noundef %69)
br label %171
71: ; preds = %7
%72 = call i32 @puts(ptr noundef @.str.31)
%73 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.32, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%74 = load i32, ptr %2, align 4
%75 = load i32, ptr %3, align 4
%76 = load i32, ptr %4, align 4
%77 = call i32 @max(i32 noundef %74, i32 noundef %75, i32 noundef %76)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, i32 noundef %77)
br label %171
79: ; preds = %7
%80 = call i32 @puts(ptr noundef @.str.34)
%81 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%82 = load i32, ptr %2, align 4
%83 = call i32 @tobin(i32 noundef %82)
br label %171
84: ; preds = %7
%85 = call i32 @puts(ptr noundef @.str.35)
%86 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%87 = load i32, ptr %2, align 4
%88 = call i32 @todec(i32 noundef %87)
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %88)
br label %171
90: ; preds = %7
%91 = call i32 @puts(ptr noundef @.str.37)
%92 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%93 = load i32, ptr %2, align 4
%94 = call i32 @oct2bin(i32 noundef %93)
br label %171
95: ; preds = %7
%96 = call i32 @puts(ptr noundef @.str.34)
%97 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%98 = load i32, ptr %2, align 4
%99 = call i32 @tooct(i32 noundef %98)
br label %171
100: ; preds = %7
store i32 2, ptr %4, align 4
br label %101
101: ; preds = %107, %100
%102 = load i32, ptr %4, align 4
%103 = icmp ule i32 %102, 100
br i1 %103, label %104, label %110
104: ; preds = %101
%105 = load i32, ptr %4, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i32 noundef %105)
br label %107
107: ; preds = %104
%108 = load i32, ptr %4, align 4
%109 = add i32 %108, 2
store i32 %109, ptr %4, align 4
br label %101, !llvm.loop !6
110: ; preds = %101
%111 = call i32 @putchar(i8 noundef signext 10)
br label %171
112: ; preds = %7
%113 = call i32 @puts(ptr noundef @.str.24)
%114 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%115 = load i32, ptr %2, align 4
%116 = call i32 @table(i32 noundef %115)
br label %171
117: ; preds = %7
%118 = call i32 @puts(ptr noundef @.str.24)
%119 = call ptr (...) @getstr()
store ptr %119, ptr %6, align 8
%120 = load ptr, ptr %6, align 8
%121 = icmp ne ptr %120, null
br i1 %121, label %123, label %122
122: ; preds = %117
br label %177
123: ; preds = %117
%124 = load ptr, ptr %6, align 8
%125 = call double @expr(ptr noundef %124)
%126 = fdiv double 1.000000e+00, %125
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, double noundef %126)
%128 = load ptr, ptr %6, align 8
%129 = call i32 @free(ptr noundef %128)
br label %171
130: ; preds = %7
%131 = call i32 @puts(ptr noundef @.str.40)
%132 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%133 = load i32, ptr %2, align 4
%134 = call i32 @bill(i32 noundef %133)
br label %171
135: ; preds = %7
%136 = call i32 @puts(ptr noundef @.str.24)
%137 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%138 = load i32, ptr %2, align 4
%139 = call i32 @issquare(i32 noundef %138)
%140 = icmp ne i32 %139, 0
%141 = zext i1 %140 to i64
%142 = select i1 %140, ptr @.str.42, ptr @.str.43
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef %142)
br label %171
144: ; preds = %7
%145 = call i32 @puts(ptr noundef @.str.24)
%146 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%147 = load i32, ptr %2, align 4
%148 = call i32 @primefac(i32 noundef %147)
br label %171
149: ; preds = %7
%150 = call i32 @puts(ptr noundef @.str.44)
%151 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%152 = load i32, ptr %2, align 4
%153 = call i32 @fibseq(i32 noundef %152)
br label %171
154: ; preds = %7
%155 = call i32 @puts(ptr noundef @.str.45)
%156 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%157 = load i32, ptr %2, align 4
%158 = load i32, ptr %2, align 4
%159 = call i32 @isleap(i32 noundef %158)
%160 = icmp ne i32 %159, 0
%161 = zext i1 %160 to i64
%162 = select i1 %160, ptr @.str.47, ptr @.str.48
%163 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, i32 noundef %157, ptr noundef %162)
br label %171
164: ; preds = %7
%165 = call i32 @puts(ptr noundef @.str.49)
%166 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%167 = load i32, ptr %2, align 4
%168 = call i32 @floyd(i32 noundef %167)
br label %171
169: ; preds = %7
%170 = call i32 @puts(ptr noundef @.str.50)
br label %171
171: ; preds = %169, %164, %154, %149, %144, %135, %130, %123, %112, %110, %95, %90, %84, %79, %71, %62, %56, %44, %38, %30
%172 = call i32 @putchar(i8 noundef signext 10)
br label %173
173: ; preds = %171
%174 = load i32, ptr %5, align 4
%175 = icmp ne i32 %174, 0
br i1 %175, label %7, label %176, !llvm.loop !8
176: ; preds = %173
store i32 0, ptr %1, align 4
br label %180
177: ; preds = %122, %55, %37
%178 = load i32, ptr @stderr, align 4
%179 = call i32 @fprintf(i32 noundef %178, ptr noundef @.str.51)
store i32 1, ptr %1, align 4
br label %180
180: ; preds = %177, %176
%181 = load i32, ptr %1, align 4
ret i32 %181
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare ptr @getstr(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strrev(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @revnum(i32 noundef) #1
declare double @expr(ptr noundef) #1
declare i32 @iseven(i32 noundef) #1
declare i32 @max(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @tobin(i32 noundef) #1
declare i32 @todec(i32 noundef) #1
declare i32 @oct2bin(i32 noundef) #1
declare i32 @tooct(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @table(i32 noundef) #1
declare i32 @bill(i32 noundef) #1
declare i32 @issquare(i32 noundef) #1
declare i32 @primefac(i32 noundef) #1
declare i32 @fibseq(i32 noundef) #1
declare i32 @isleap(i32 noundef) #1
declare i32 @floyd(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5xewh5ob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"What would you like to do?\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c" ( 0) Exit\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c" ( 1) Reverse String\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" ( 2) Reverse Number\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c" ( 3) Evaluate Expression\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c" ( 4) Even/Odd\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c" ( 5) Maximum of 3 numbers\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c" ( 6) Decimal to Binary\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c" ( 7) Binary to Decimal\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c" ( 8) Octal to Binary\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c" ( 9) Decimal to Octal\00", align 1
@.str.11 = private unnamed_addr constant [39 x i8] c" (10) Print even numbers from 1 to 100\00", align 1
@.str.12 = private unnamed_addr constant [27 x i8] c" (11) Multiplication Table\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c" (12) Reciprocal\00", align 1
@.str.14 = private unnamed_addr constant [23 x i8] c" (13) Electricity Bill\00", align 1
@.str.15 = private unnamed_addr constant [21 x i8] c" (14) Perfect Square\00", align 1
@.str.16 = private unnamed_addr constant [20 x i8] c" (15) Prime Factors\00", align 1
@.str.17 = private unnamed_addr constant [23 x i8] c" (16) Fibonacci Series\00", align 1
@.str.18 = private unnamed_addr constant [16 x i8] c" (17) Leap Year\00", align 1
@.str.19 = private unnamed_addr constant [23 x i8] c" (18) Floyd's Triangle\00", align 1
@.str.20 = private unnamed_addr constant [7 x i8] c" %u%*c\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"Bye!\00", align 1
@.str.22 = private unnamed_addr constant [8 x i8] c"String?\00", align 1
@.str.23 = private unnamed_addr constant [21 x i8] c"Reversed String: %s\0A\00", align 1
@.str.24 = private unnamed_addr constant [8 x i8] c"Number?\00", align 1
@.str.25 = private unnamed_addr constant [21 x i8] c"Reversed Number: %u\0A\00", align 1
@.str.26 = private unnamed_addr constant [12 x i8] c"Expression?\00", align 1
@.str.27 = private unnamed_addr constant [7 x i8] c"= %lf\0A\00", align 1
@.str.28 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.29 = private unnamed_addr constant [5 x i8] c"Even\00", align 1
@.str.30 = private unnamed_addr constant [4 x i8] c"Odd\00", align 1
@.str.31 = private unnamed_addr constant [11 x i8] c"3 numbers?\00", align 1
@.str.32 = private unnamed_addr constant [13 x i8] c" %u %u %u%*c\00", align 1
@.str.33 = private unnamed_addr constant [10 x i8] c"max = %u\0A\00", align 1
@.str.34 = private unnamed_addr constant [9 x i8] c"Decimal?\00", align 1
@.str.35 = private unnamed_addr constant [8 x i8] c"Binary?\00", align 1
@.str.36 = private unnamed_addr constant [16 x i8] c"%u in decimal.\0A\00", align 1
@.str.37 = private unnamed_addr constant [7 x i8] c"Octal?\00", align 1
@.str.38 = private unnamed_addr constant [4 x i8] c"%4u\00", align 1
@.str.39 = private unnamed_addr constant [18 x i8] c"Reciprocal = %lf\0A\00", align 1
@.str.40 = private unnamed_addr constant [16 x i8] c"Units Consumed?\00", align 1
@.str.41 = private unnamed_addr constant [33 x i8] c"The number is %sperfect square.\0A\00", align 1
@.str.42 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.43 = private unnamed_addr constant [5 x i8] c"not \00", align 1
@.str.44 = private unnamed_addr constant [20 x i8] c"Number of Elements?\00", align 1
@.str.45 = private unnamed_addr constant [6 x i8] c"Year?\00", align 1
@.str.46 = private unnamed_addr constant [11 x i8] c"%u is %s.\0A\00", align 1
@.str.47 = private unnamed_addr constant [5 x i8] c"leap\00", align 1
@.str.48 = private unnamed_addr constant [9 x i8] c"not leap\00", align 1
@.str.49 = private unnamed_addr constant [16 x i8] c"Number of Rows?\00", align 1
@.str.50 = private unnamed_addr constant [18 x i8] c"Incorrect Choice!\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.51 = private unnamed_addr constant [32 x i8] c"Allocation Error!\0ACore Dumped!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %174, %0
%8 = call i32 @puts(ptr noundef @.str)
%9 = call i32 @puts(ptr noundef @.str.1)
%10 = call i32 @puts(ptr noundef @.str.2)
%11 = call i32 @puts(ptr noundef @.str.3)
%12 = call i32 @puts(ptr noundef @.str.4)
%13 = call i32 @puts(ptr noundef @.str.5)
%14 = call i32 @puts(ptr noundef @.str.6)
%15 = call i32 @puts(ptr noundef @.str.7)
%16 = call i32 @puts(ptr noundef @.str.8)
%17 = call i32 @puts(ptr noundef @.str.9)
%18 = call i32 @puts(ptr noundef @.str.10)
%19 = call i32 @puts(ptr noundef @.str.11)
%20 = call i32 @puts(ptr noundef @.str.12)
%21 = call i32 @puts(ptr noundef @.str.13)
%22 = call i32 @puts(ptr noundef @.str.14)
%23 = call i32 @puts(ptr noundef @.str.15)
%24 = call i32 @puts(ptr noundef @.str.16)
%25 = call i32 @puts(ptr noundef @.str.17)
%26 = call i32 @puts(ptr noundef @.str.18)
%27 = call i32 @puts(ptr noundef @.str.19)
%28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %5)
%29 = load i32, ptr %5, align 4
switch i32 %29, label %170 [
i32 0, label %30
i32 1, label %32
i32 2, label %44
i32 3, label %50
i32 4, label %62
i32 5, label %71
i32 6, label %79
i32 7, label %84
i32 8, label %90
i32 9, label %95
i32 10, label %100
i32 11, label %113
i32 12, label %118
i32 13, label %131
i32 14, label %136
i32 15, label %145
i32 16, label %150
i32 17, label %155
i32 18, label %165
]
30: ; preds = %7
%31 = call i32 @puts(ptr noundef @.str.21)
br label %172
32: ; preds = %7
%33 = call i32 @puts(ptr noundef @.str.22)
%34 = call ptr (...) @getstr()
store ptr %34, ptr %6, align 8
%35 = load ptr, ptr %6, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %38, label %37
37: ; preds = %32
br label %178
38: ; preds = %32
%39 = load ptr, ptr %6, align 8
%40 = call ptr @strrev(ptr noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, ptr noundef %40)
%42 = load ptr, ptr %6, align 8
%43 = call i32 @free(ptr noundef %42)
br label %172
44: ; preds = %7
%45 = call i32 @puts(ptr noundef @.str.24)
%46 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%47 = load i32, ptr %2, align 4
%48 = call i32 @revnum(i32 noundef %47)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %48)
br label %172
50: ; preds = %7
%51 = call i32 @puts(ptr noundef @.str.26)
%52 = call ptr (...) @getstr()
store ptr %52, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %56, label %55
55: ; preds = %50
br label %178
56: ; preds = %50
%57 = load ptr, ptr %6, align 8
%58 = call double @expr(ptr noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, double noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @free(ptr noundef %60)
br label %172
62: ; preds = %7
%63 = call i32 @puts(ptr noundef @.str.24)
%64 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%65 = load i32, ptr %2, align 4
%66 = call i32 @iseven(i32 noundef %65)
%67 = icmp ne i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, ptr @.str.29, ptr @.str.30
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, ptr noundef %69)
br label %172
71: ; preds = %7
%72 = call i32 @puts(ptr noundef @.str.31)
%73 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.32, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%74 = load i32, ptr %2, align 4
%75 = load i32, ptr %3, align 4
%76 = load i32, ptr %4, align 4
%77 = call i32 @max(i32 noundef %74, i32 noundef %75, i32 noundef %76)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, i32 noundef %77)
br label %172
79: ; preds = %7
%80 = call i32 @puts(ptr noundef @.str.34)
%81 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%82 = load i32, ptr %2, align 4
%83 = call i32 @tobin(i32 noundef %82)
br label %172
84: ; preds = %7
%85 = call i32 @puts(ptr noundef @.str.35)
%86 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%87 = load i32, ptr %2, align 4
%88 = call i32 @todec(i32 noundef %87)
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %88)
br label %172
90: ; preds = %7
%91 = call i32 @puts(ptr noundef @.str.37)
%92 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%93 = load i32, ptr %2, align 4
%94 = call i32 @oct2bin(i32 noundef %93)
br label %172
95: ; preds = %7
%96 = call i32 @puts(ptr noundef @.str.34)
%97 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%98 = load i32, ptr %2, align 4
%99 = call i32 @tooct(i32 noundef %98)
br label %172
100: ; preds = %7
store i32 2, ptr %4, align 4
%101 = load i32, ptr %4, align 4
%102 = icmp ule i32 %101, 100
br i1 %102, label %.lr.ph, label %111
.lr.ph: ; preds = %100
br label %103
103: ; preds = %.lr.ph, %106
%104 = load i32, ptr %4, align 4
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i32 noundef %104)
br label %106
106: ; preds = %103
%107 = load i32, ptr %4, align 4
%108 = add i32 %107, 2
store i32 %108, ptr %4, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp ule i32 %109, 100
br i1 %110, label %103, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %106
br label %111
111: ; preds = %._crit_edge, %100
%112 = call i32 @putchar(i8 noundef signext 10)
br label %172
113: ; preds = %7
%114 = call i32 @puts(ptr noundef @.str.24)
%115 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%116 = load i32, ptr %2, align 4
%117 = call i32 @table(i32 noundef %116)
br label %172
118: ; preds = %7
%119 = call i32 @puts(ptr noundef @.str.24)
%120 = call ptr (...) @getstr()
store ptr %120, ptr %6, align 8
%121 = load ptr, ptr %6, align 8
%122 = icmp ne ptr %121, null
br i1 %122, label %124, label %123
123: ; preds = %118
br label %178
124: ; preds = %118
%125 = load ptr, ptr %6, align 8
%126 = call double @expr(ptr noundef %125)
%127 = fdiv double 1.000000e+00, %126
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, double noundef %127)
%129 = load ptr, ptr %6, align 8
%130 = call i32 @free(ptr noundef %129)
br label %172
131: ; preds = %7
%132 = call i32 @puts(ptr noundef @.str.40)
%133 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%134 = load i32, ptr %2, align 4
%135 = call i32 @bill(i32 noundef %134)
br label %172
136: ; preds = %7
%137 = call i32 @puts(ptr noundef @.str.24)
%138 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%139 = load i32, ptr %2, align 4
%140 = call i32 @issquare(i32 noundef %139)
%141 = icmp ne i32 %140, 0
%142 = zext i1 %141 to i64
%143 = select i1 %141, ptr @.str.42, ptr @.str.43
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef %143)
br label %172
145: ; preds = %7
%146 = call i32 @puts(ptr noundef @.str.24)
%147 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%148 = load i32, ptr %2, align 4
%149 = call i32 @primefac(i32 noundef %148)
br label %172
150: ; preds = %7
%151 = call i32 @puts(ptr noundef @.str.44)
%152 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%153 = load i32, ptr %2, align 4
%154 = call i32 @fibseq(i32 noundef %153)
br label %172
155: ; preds = %7
%156 = call i32 @puts(ptr noundef @.str.45)
%157 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%158 = load i32, ptr %2, align 4
%159 = load i32, ptr %2, align 4
%160 = call i32 @isleap(i32 noundef %159)
%161 = icmp ne i32 %160, 0
%162 = zext i1 %161 to i64
%163 = select i1 %161, ptr @.str.47, ptr @.str.48
%164 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, i32 noundef %158, ptr noundef %163)
br label %172
165: ; preds = %7
%166 = call i32 @puts(ptr noundef @.str.49)
%167 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.20, ptr noundef %2)
%168 = load i32, ptr %2, align 4
%169 = call i32 @floyd(i32 noundef %168)
br label %172
170: ; preds = %7
%171 = call i32 @puts(ptr noundef @.str.50)
br label %172
172: ; preds = %170, %165, %155, %150, %145, %136, %131, %124, %113, %111, %95, %90, %84, %79, %71, %62, %56, %44, %38, %30
%173 = call i32 @putchar(i8 noundef signext 10)
br label %174
174: ; preds = %172
%175 = load i32, ptr %5, align 4
%176 = icmp ne i32 %175, 0
br i1 %176, label %7, label %177, !llvm.loop !8
177: ; preds = %174
store i32 0, ptr %1, align 4
br label %181
178: ; preds = %123, %55, %37
%179 = load i32, ptr @stderr, align 4
%180 = call i32 @fprintf(i32 noundef %179, ptr noundef @.str.51)
store i32 1, ptr %1, align 4
br label %181
181: ; preds = %178, %177
%182 = load i32, ptr %1, align 4
ret i32 %182
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare ptr @getstr(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strrev(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @revnum(i32 noundef) #1
declare double @expr(ptr noundef) #1
declare i32 @iseven(i32 noundef) #1
declare i32 @max(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @tobin(i32 noundef) #1
declare i32 @todec(i32 noundef) #1
declare i32 @oct2bin(i32 noundef) #1
declare i32 @tooct(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @table(i32 noundef) #1
declare i32 @bill(i32 noundef) #1
declare i32 @issquare(i32 noundef) #1
declare i32 @primefac(i32 noundef) #1
declare i32 @fibseq(i32 noundef) #1
declare i32 @isleap(i32 noundef) #1
declare i32 @floyd(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8e75c429.c'
source_filename = "/tmp/tmp8e75c429.c"
target datalayout = "e-m:e-p270: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/tmp8e75c429.c"
target datalayout = "e-m:e-p270: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/tmprze1pcm6.c'
source_filename = "/tmp/tmprze1pcm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8pbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
br label %10
10: ; preds = %76, %2
%11 = load ptr, ptr %6, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 0, %13
br i1 %14, label %15, label %77
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %17
17: ; preds = %60, %15
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 0, %20
br i1 %21, label %22, label %61
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = and i32 192, %25
%27 = icmp ne i32 128, %26
br i1 %27, label %28, label %33
28: ; preds = %22
%29 = load i64, ptr %8, align 8
%30 = icmp ult i64 0, %29
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = load ptr, ptr %6, align 8
store ptr %32, ptr %3, align 8
br label %78
33: ; preds = %28, %22
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load ptr, ptr %6, align 8
%38 = load i64, ptr %8, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %36, %41
br i1 %42, label %43, label %48
43: ; preds = %33
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %8, align 8
%46 = load ptr, ptr %7, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %7, align 8
br label %59
48: ; preds = %33
br label %49
49: ; preds = %52, %48
%50 = load ptr, ptr %7, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %7, align 8
br label %52
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = and i32 192, %55
%57 = icmp eq i32 128, %56
br i1 %57, label %49, label %58, !llvm.loop !6
58: ; preds = %52
store i64 0, ptr %8, align 8
br label %59
59: ; preds = %58, %43
br label %60
60: ; preds = %59
br label %17, !llvm.loop !8
61: ; preds = %17
%62 = load i64, ptr %8, align 8
%63 = icmp ult i64 0, %62
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = load ptr, ptr %6, align 8
store ptr %65, ptr %3, align 8
br label %78
66: ; preds = %61
br label %67
67: ; preds = %70, %66
%68 = load ptr, ptr %6, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %6, align 8
br label %70
70: ; preds = %67
%71 = load ptr, ptr %6, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = and i32 192, %73
%75 = icmp eq i32 128, %74
br i1 %75, label %67, label %76, !llvm.loop !9
76: ; preds = %70
br label %10, !llvm.loop !10
77: ; preds = %10
store ptr null, ptr %3, align 8
br label %78
78: ; preds = %77, %64, %31
%79 = load ptr, ptr %3, align 8
ret ptr %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprze1pcm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8pbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 0, %12
br i1 %13, label %.lr.ph2, label %83
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %78
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
store i64 0, ptr %8, align 8
%16 = load ptr, ptr %7, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 0, %18
br i1 %19, label %.lr.ph, label %63
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %58
%21 = load ptr, ptr %7, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = and i32 192, %23
%25 = icmp ne i32 128, %24
br i1 %25, label %26, label %31
26: ; preds = %20
%27 = load i64, ptr %8, align 8
%28 = icmp ult i64 0, %27
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
store ptr %30, ptr %3, align 8
br label %84
31: ; preds = %26, %20
%32 = load ptr, ptr %7, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %34, %39
br i1 %40, label %41, label %46
41: ; preds = %31
%42 = load i64, ptr %8, align 8
%43 = add i64 %42, 1
store i64 %43, ptr %8, align 8
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %7, align 8
br label %57
46: ; preds = %31
br label %47
47: ; preds = %50, %46
%48 = load ptr, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %7, align 8
br label %50
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = and i32 192, %53
%55 = icmp eq i32 128, %54
br i1 %55, label %47, label %56, !llvm.loop !6
56: ; preds = %50
store i64 0, ptr %8, align 8
br label %57
57: ; preds = %56, %41
br label %58
58: ; preds = %57
%59 = load ptr, ptr %7, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 0, %61
br i1 %62, label %20, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %58
br label %63
63: ; preds = %._crit_edge, %14
%64 = load i64, ptr %8, align 8
%65 = icmp ult i64 0, %64
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = load ptr, ptr %6, align 8
store ptr %67, ptr %3, align 8
br label %84
68: ; preds = %63
br label %69
69: ; preds = %72, %68
%70 = load ptr, ptr %6, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %6, align 8
br label %72
72: ; preds = %69
%73 = load ptr, ptr %6, align 8
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = and i32 192, %75
%77 = icmp eq i32 128, %76
br i1 %77, label %69, label %78, !llvm.loop !9
78: ; preds = %72
%79 = load ptr, ptr %6, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp ne i32 0, %81
br i1 %82, label %14, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %78
br label %83
83: ; preds = %._crit_edge3, %2
store ptr null, ptr %3, align 8
br label %84
84: ; preds = %83, %66, %29
%85 = load ptr, ptr %3, align 8
ret ptr %85
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpw483ig3z.c'
source_filename = "/tmp/tmpw483ig3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rstage(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%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
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%36 = load i32, ptr %9, align 4
%37 = sdiv i32 %36, 8
store i32 %37, ptr %15, align 4
store i32 0, ptr %16, align 4
%38 = load i32, ptr %9, align 4
%39 = mul nsw i32 %38, 2
store i32 %39, ptr %17, align 4
br label %40
40: ; preds = %107, %7
%41 = load i32, ptr %16, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %18, align 4
br label %43
43: ; preds = %96, %40
%44 = load i32, ptr %18, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %100
47: ; preds = %43
%48 = load ptr, ptr %14, align 8
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %18, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %53, i64 %55
%57 = load double, ptr %56, align 8
%58 = fadd double %52, %57
store double %58, ptr %22, align 8
%59 = load ptr, ptr %14, align 8
%60 = load i32, ptr %18, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = load ptr, ptr %13, align 8
%65 = load i32, ptr %18, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
%68 = load double, ptr %67, align 8
%69 = fsub double %63, %68
%70 = load ptr, ptr %14, align 8
%71 = load i32, ptr %18, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
store double %69, ptr %73, align 8
%74 = load ptr, ptr %11, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = load double, ptr %77, align 8
%79 = load double, ptr %22, align 8
%80 = fsub double %78, %79
%81 = load ptr, ptr %13, align 8
%82 = load i32, ptr %18, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
store double %80, ptr %84, align 8
%85 = load ptr, ptr %11, align 8
%86 = load i32, ptr %18, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
%89 = load double, ptr %88, align 8
%90 = load double, ptr %22, align 8
%91 = fadd double %89, %90
%92 = load ptr, ptr %11, align 8
%93 = load i32, ptr %18, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
store double %91, ptr %95, align 8
br label %96
96: ; preds = %47
%97 = load i32, ptr %17, align 4
%98 = load i32, ptr %18, align 4
%99 = add nsw i32 %98, %97
store i32 %99, ptr %18, align 4
br label %43, !llvm.loop !6
100: ; preds = %43
%101 = load i32, ptr %17, align 4
%102 = mul nsw i32 2, %101
%103 = load i32, ptr %9, align 4
%104 = sub nsw i32 %102, %103
store i32 %104, ptr %16, align 4
%105 = load i32, ptr %17, align 4
%106 = mul nsw i32 4, %105
store i32 %106, ptr %17, align 4
br label %107
107: ; preds = %100
%108 = load i32, ptr %16, align 4
%109 = load i32, ptr %8, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %40, label %111, !llvm.loop !8
111: ; preds = %107
%112 = load i32, ptr %10, align 4
%113 = sub nsw i32 %112, 1
%114 = icmp sle i32 %113, 0
br i1 %114, label %115, label %116
115: ; preds = %111
br label %479
116: ; preds = %111
store i32 0, ptr %16, align 4
%117 = load i32, ptr %9, align 4
%118 = mul nsw i32 %117, 2
store i32 %118, ptr %17, align 4
br label %119
119: ; preds = %209, %116
%120 = load i32, ptr %16, align 4
%121 = add nsw i32 %120, 1
%122 = load i32, ptr %15, align 4
%123 = add nsw i32 %121, %122
store i32 %123, ptr %19, align 4
br label %124
124: ; preds = %198, %119
%125 = load i32, ptr %19, align 4
%126 = load i32, ptr %8, align 4
%127 = icmp sle i32 %125, %126
br i1 %127, label %128, label %202
128: ; preds = %124
%129 = load ptr, ptr %13, align 8
%130 = load i32, ptr %19, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds double, ptr %129, i64 %131
%133 = load double, ptr %132, align 8
%134 = load ptr, ptr %14, align 8
%135 = load i32, ptr %19, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
%138 = load double, ptr %137, align 8
%139 = fadd double %133, %138
%140 = fmul double %139, 0x3FE6A09E667F3BCC
store double %140, ptr %22, align 8
%141 = load ptr, ptr %13, align 8
%142 = load i32, ptr %19, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double, ptr %141, i64 %143
%145 = load double, ptr %144, align 8
%146 = load ptr, ptr %14, align 8
%147 = load i32, ptr %19, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %146, i64 %148
%150 = load double, ptr %149, align 8
%151 = fsub double %145, %150
%152 = fmul double %151, 0x3FE6A09E667F3BCC
store double %152, ptr %23, align 8
%153 = load ptr, ptr %12, align 8
%154 = load i32, ptr %19, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds double, ptr %153, i64 %155
%157 = load double, ptr %156, align 8
%158 = load double, ptr %22, align 8
%159 = fsub double %157, %158
%160 = load ptr, ptr %14, align 8
%161 = load i32, ptr %19, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, ptr %160, i64 %162
store double %159, ptr %163, align 8
%164 = load ptr, ptr %12, align 8
%165 = load i32, ptr %19, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, ptr %164, i64 %166
%168 = load double, ptr %167, align 8
%169 = fneg double %168
%170 = load double, ptr %22, align 8
%171 = fsub double %169, %170
%172 = load ptr, ptr %13, align 8
%173 = load i32, ptr %19, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, ptr %172, i64 %174
store double %171, ptr %175, align 8
%176 = load ptr, ptr %11, align 8
%177 = load i32, ptr %19, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
%180 = load double, ptr %179, align 8
%181 = load double, ptr %23, align 8
%182 = fsub double %180, %181
%183 = load ptr, ptr %12, align 8
%184 = load i32, ptr %19, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %183, i64 %185
store double %182, ptr %186, align 8
%187 = load ptr, ptr %11, align 8
%188 = load i32, ptr %19, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds double, ptr %187, i64 %189
%191 = load double, ptr %190, align 8
%192 = load double, ptr %23, align 8
%193 = fadd double %191, %192
%194 = load ptr, ptr %11, align 8
%195 = load i32, ptr %19, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %194, i64 %196
store double %193, ptr %197, align 8
br label %198
198: ; preds = %128
%199 = load i32, ptr %17, align 4
%200 = load i32, ptr %19, align 4
%201 = add nsw i32 %200, %199
store i32 %201, ptr %19, align 4
br label %124, !llvm.loop !9
202: ; preds = %124
%203 = load i32, ptr %17, align 4
%204 = mul nsw i32 2, %203
%205 = load i32, ptr %9, align 4
%206 = sub nsw i32 %204, %205
store i32 %206, ptr %16, align 4
%207 = load i32, ptr %17, align 4
%208 = mul nsw i32 4, %207
store i32 %208, ptr %17, align 4
br label %209
209: ; preds = %202
%210 = load i32, ptr %16, align 4
%211 = load i32, ptr %8, align 4
%212 = icmp slt i32 %210, %211
br i1 %212, label %119, label %213, !llvm.loop !10
213: ; preds = %209
%214 = load i32, ptr %15, align 4
%215 = sub nsw i32 %214, 1
%216 = icmp sle i32 %215, 0
br i1 %216, label %217, label %218
217: ; preds = %213
br label %479
218: ; preds = %213
%219 = load i32, ptr %9, align 4
%220 = sitofp i32 %219 to double
%221 = fdiv double 0x401921FB54442D18, %220
store double %221, ptr %24, align 8
%222 = load double, ptr %24, align 8
%223 = call double @sin(double noundef %222) #3
store double %223, ptr %28, align 8
%224 = load double, ptr %28, align 8
store double %224, ptr %29, align 8
%225 = load double, ptr %29, align 8
%226 = load double, ptr %29, align 8
%227 = load double, ptr %29, align 8
%228 = fmul double %226, %227
%229 = load double, ptr %29, align 8
%230 = fmul double %228, %229
%231 = fmul double 4.000000e+00, %230
%232 = fneg double %231
%233 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %225, double %232)
store double %233, ptr %31, align 8
%234 = load double, ptr %31, align 8
store double %234, ptr %30, align 8
%235 = load double, ptr %24, align 8
%236 = call double @cos(double noundef %235) #3
store double %236, ptr %32, align 8
%237 = load double, ptr %32, align 8
store double %237, ptr %33, align 8
%238 = load double, ptr %33, align 8
%239 = load double, ptr %33, align 8
%240 = fmul double %238, %239
%241 = load double, ptr %33, align 8
%242 = fmul double %240, %241
%243 = load double, ptr %33, align 8
%244 = fmul double 3.000000e+00, %243
%245 = fneg double %244
%246 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %242, double %245)
store double %246, ptr %35, align 8
%247 = load double, ptr %35, align 8
store double %247, ptr %34, align 8
store i32 2, ptr %20, align 4
br label %248
248: ; preds = %475, %218
%249 = load i32, ptr %20, align 4
%250 = load i32, ptr %15, align 4
%251 = icmp sle i32 %249, %250
br i1 %251, label %252, label %478
252: ; preds = %248
store i32 0, ptr %16, align 4
%253 = load i32, ptr %9, align 4
%254 = mul nsw i32 2, %253
store i32 %254, ptr %17, align 4
%255 = load i32, ptr %10, align 4
%256 = load i32, ptr %20, align 4
%257 = mul nsw i32 2, %256
%258 = sub nsw i32 %255, %257
%259 = add nsw i32 %258, 2
store i32 %259, ptr %21, align 4
br label %260
260: ; preds = %442, %252
%261 = load i32, ptr %16, align 4
%262 = load i32, ptr %20, align 4
%263 = add nsw i32 %261, %262
store i32 %263, ptr %18, align 4
br label %264
264: ; preds = %431, %260
%265 = load i32, ptr %18, align 4
%266 = load i32, ptr %8, align 4
%267 = icmp sle i32 %265, %266
br i1 %267, label %268, label %435
268: ; preds = %264
%269 = load i32, ptr %18, align 4
%270 = load i32, ptr %21, align 4
%271 = add nsw i32 %269, %270
store i32 %271, ptr %19, align 4
%272 = load ptr, ptr %13, align 8
%273 = load i32, ptr %18, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds double, ptr %272, i64 %274
%276 = load double, ptr %275, align 8
%277 = load double, ptr %32, align 8
%278 = load ptr, ptr %13, align 8
%279 = load i32, ptr %19, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds double, ptr %278, i64 %280
%282 = load double, ptr %281, align 8
%283 = load double, ptr %28, align 8
%284 = fmul double %282, %283
%285 = call double @llvm.fmuladd.f64(double %276, double %277, double %284)
store double %285, ptr %22, align 8
%286 = load ptr, ptr %13, align 8
%287 = load i32, ptr %19, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds double, ptr %286, i64 %288
%290 = load double, ptr %289, align 8
%291 = load double, ptr %32, align 8
%292 = load ptr, ptr %13, align 8
%293 = load i32, ptr %18, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds double, ptr %292, i64 %294
%296 = load double, ptr %295, align 8
%297 = load double, ptr %28, align 8
%298 = fmul double %296, %297
%299 = fneg double %298
%300 = call double @llvm.fmuladd.f64(double %290, double %291, double %299)
store double %300, ptr %23, align 8
%301 = load ptr, ptr %14, align 8
%302 = load i32, ptr %18, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds double, ptr %301, i64 %303
%305 = load double, ptr %304, align 8
%306 = load double, ptr %34, align 8
%307 = load ptr, ptr %14, align 8
%308 = load i32, ptr %19, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, ptr %307, i64 %309
%311 = load double, ptr %310, align 8
%312 = load double, ptr %30, align 8
%313 = fmul double %311, %312
%314 = call double @llvm.fmuladd.f64(double %305, double %306, double %313)
store double %314, ptr %25, align 8
%315 = load ptr, ptr %14, align 8
%316 = load i32, ptr %19, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds double, ptr %315, i64 %317
%319 = load double, ptr %318, align 8
%320 = load double, ptr %34, align 8
%321 = load ptr, ptr %14, align 8
%322 = load i32, ptr %18, align 4
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds double, ptr %321, i64 %323
%325 = load double, ptr %324, align 8
%326 = load double, ptr %30, align 8
%327 = fmul double %325, %326
%328 = fneg double %327
%329 = call double @llvm.fmuladd.f64(double %319, double %320, double %328)
store double %329, ptr %26, align 8
%330 = load double, ptr %22, align 8
%331 = load double, ptr %25, align 8
%332 = fadd double %330, %331
store double %332, ptr %27, align 8
%333 = load double, ptr %22, align 8
%334 = load double, ptr %25, align 8
%335 = fsub double %333, %334
store double %335, ptr %25, align 8
%336 = load double, ptr %23, align 8
%337 = load double, ptr %26, align 8
%338 = fadd double %336, %337
store double %338, ptr %22, align 8
%339 = load double, ptr %23, align 8
%340 = load double, ptr %26, align 8
%341 = fsub double %339, %340
store double %341, ptr %26, align 8
%342 = load double, ptr %22, align 8
%343 = load ptr, ptr %12, align 8
%344 = load i32, ptr %19, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds double, ptr %343, i64 %345
%347 = load double, ptr %346, align 8
%348 = fsub double %342, %347
%349 = load ptr, ptr %13, align 8
%350 = load i32, ptr %18, align 4
%351 = sext i32 %350 to i64
%352 = getelementptr inbounds double, ptr %349, i64 %351
store double %348, ptr %352, align 8
%353 = load double, ptr %22, align 8
%354 = load ptr, ptr %12, align 8
%355 = load i32, ptr %19, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds double, ptr %354, i64 %356
%358 = load double, ptr %357, align 8
%359 = fadd double %353, %358
%360 = load ptr, ptr %14, align 8
%361 = load i32, ptr %19, align 4
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds double, ptr %360, i64 %362
store double %359, ptr %363, align 8
%364 = load ptr, ptr %12, align 8
%365 = load i32, ptr %18, align 4
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds double, ptr %364, i64 %366
%368 = load double, ptr %367, align 8
%369 = fneg double %368
%370 = load double, ptr %25, align 8
%371 = fsub double %369, %370
%372 = load ptr, ptr %13, align 8
%373 = load i32, ptr %19, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds double, ptr %372, i64 %374
store double %371, ptr %375, align 8
%376 = load ptr, ptr %12, align 8
%377 = load i32, ptr %18, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds double, ptr %376, i64 %378
%380 = load double, ptr %379, align 8
%381 = load double, ptr %25, align 8
%382 = fsub double %380, %381
%383 = load ptr, ptr %14, align 8
%384 = load i32, ptr %18, align 4
%385 = sext i32 %384 to i64
%386 = getelementptr inbounds double, ptr %383, i64 %385
store double %382, ptr %386, align 8
%387 = load ptr, ptr %11, align 8
%388 = load i32, ptr %18, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds double, ptr %387, i64 %389
%391 = load double, ptr %390, align 8
%392 = load double, ptr %27, align 8
%393 = fsub double %391, %392
%394 = load ptr, ptr %12, align 8
%395 = load i32, ptr %19, align 4
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds double, ptr %394, i64 %396
store double %393, ptr %397, align 8
%398 = load ptr, ptr %11, align 8
%399 = load i32, ptr %18, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds double, ptr %398, i64 %400
%402 = load double, ptr %401, align 8
%403 = load double, ptr %27, align 8
%404 = fadd double %402, %403
%405 = load ptr, ptr %11, align 8
%406 = load i32, ptr %18, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds double, ptr %405, i64 %407
store double %404, ptr %408, align 8
%409 = load ptr, ptr %11, align 8
%410 = load i32, ptr %19, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds double, ptr %409, i64 %411
%413 = load double, ptr %412, align 8
%414 = load double, ptr %26, align 8
%415 = fadd double %413, %414
%416 = load ptr, ptr %12, align 8
%417 = load i32, ptr %18, align 4
%418 = sext i32 %417 to i64
%419 = getelementptr inbounds double, ptr %416, i64 %418
store double %415, ptr %419, align 8
%420 = load ptr, ptr %11, align 8
%421 = load i32, ptr %19, align 4
%422 = sext i32 %421 to i64
%423 = getelementptr inbounds double, ptr %420, i64 %422
%424 = load double, ptr %423, align 8
%425 = load double, ptr %26, align 8
%426 = fsub double %424, %425
%427 = load ptr, ptr %11, align 8
%428 = load i32, ptr %19, align 4
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds double, ptr %427, i64 %429
store double %426, ptr %430, align 8
br label %431
431: ; preds = %268
%432 = load i32, ptr %17, align 4
%433 = load i32, ptr %18, align 4
%434 = add nsw i32 %433, %432
store i32 %434, ptr %18, align 4
br label %264, !llvm.loop !11
435: ; preds = %264
%436 = load i32, ptr %17, align 4
%437 = mul nsw i32 2, %436
%438 = load i32, ptr %9, align 4
%439 = sub nsw i32 %437, %438
store i32 %439, ptr %16, align 4
%440 = load i32, ptr %17, align 4
%441 = mul nsw i32 4, %440
store i32 %441, ptr %17, align 4
br label %442
442: ; preds = %435
%443 = load i32, ptr %16, align 4
%444 = load i32, ptr %8, align 4
%445 = icmp slt i32 %443, %444
br i1 %445, label %260, label %446, !llvm.loop !12
446: ; preds = %442
%447 = load double, ptr %32, align 8
%448 = load double, ptr %33, align 8
%449 = load double, ptr %28, align 8
%450 = load double, ptr %29, align 8
%451 = fmul double %449, %450
%452 = fneg double %451
%453 = call double @llvm.fmuladd.f64(double %447, double %448, double %452)
store double %453, ptr %22, align 8
%454 = load double, ptr %32, align 8
%455 = load double, ptr %29, align 8
%456 = load double, ptr %28, align 8
%457 = load double, ptr %33, align 8
%458 = fmul double %456, %457
%459 = call double @llvm.fmuladd.f64(double %454, double %455, double %458)
store double %459, ptr %28, align 8
%460 = load double, ptr %22, align 8
store double %460, ptr %32, align 8
%461 = load double, ptr %34, align 8
%462 = load double, ptr %35, align 8
%463 = load double, ptr %30, align 8
%464 = load double, ptr %31, align 8
%465 = fmul double %463, %464
%466 = fneg double %465
%467 = call double @llvm.fmuladd.f64(double %461, double %462, double %466)
store double %467, ptr %25, align 8
%468 = load double, ptr %34, align 8
%469 = load double, ptr %31, align 8
%470 = load double, ptr %30, align 8
%471 = load double, ptr %35, align 8
%472 = fmul double %470, %471
%473 = call double @llvm.fmuladd.f64(double %468, double %469, double %472)
store double %473, ptr %30, align 8
%474 = load double, ptr %25, align 8
store double %474, ptr %34, align 8
br label %475
475: ; preds = %446
%476 = load i32, ptr %20, align 4
%477 = add nsw i32 %476, 1
store i32 %477, ptr %20, align 4
br label %248, !llvm.loop !13
478: ; preds = %248
br label %479
479: ; preds = %478, %217, %115
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw483ig3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rstage(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%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
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%36 = load i32, ptr %9, align 4
%37 = sdiv i32 %36, 8
store i32 %37, ptr %15, align 4
store i32 0, ptr %16, align 4
%38 = load i32, ptr %9, align 4
%39 = mul nsw i32 %38, 2
store i32 %39, ptr %17, align 4
br label %40
40: ; preds = %109, %7
%41 = load i32, ptr %16, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %18, align 4
%43 = load i32, ptr %18, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %.lr.ph, label %102
.lr.ph: ; preds = %40
br label %46
46: ; preds = %.lr.ph, %95
%47 = load ptr, ptr %14, align 8
%48 = load i32, ptr %18, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = load ptr, ptr %13, align 8
%53 = load i32, ptr %18, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = fadd double %51, %56
store double %57, ptr %22, align 8
%58 = load ptr, ptr %14, align 8
%59 = load i32, ptr %18, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %13, align 8
%64 = load i32, ptr %18, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load double, ptr %66, align 8
%68 = fsub double %62, %67
%69 = load ptr, ptr %14, align 8
%70 = load i32, ptr %18, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
store double %68, ptr %72, align 8
%73 = load ptr, ptr %11, align 8
%74 = load i32, ptr %18, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = load double, ptr %22, align 8
%79 = fsub double %77, %78
%80 = load ptr, ptr %13, align 8
%81 = load i32, ptr %18, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %80, i64 %82
store double %79, ptr %83, align 8
%84 = load ptr, ptr %11, align 8
%85 = load i32, ptr %18, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %84, i64 %86
%88 = load double, ptr %87, align 8
%89 = load double, ptr %22, align 8
%90 = fadd double %88, %89
%91 = load ptr, ptr %11, align 8
%92 = load i32, ptr %18, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
store double %90, ptr %94, align 8
br label %95
95: ; preds = %46
%96 = load i32, ptr %17, align 4
%97 = load i32, ptr %18, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %18, align 4
%99 = load i32, ptr %18, align 4
%100 = load i32, ptr %8, align 4
%101 = icmp sle i32 %99, %100
br i1 %101, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %95
br label %102
102: ; preds = %._crit_edge, %40
%103 = load i32, ptr %17, align 4
%104 = mul nsw i32 2, %103
%105 = load i32, ptr %9, align 4
%106 = sub nsw i32 %104, %105
store i32 %106, ptr %16, align 4
%107 = load i32, ptr %17, align 4
%108 = mul nsw i32 4, %107
store i32 %108, ptr %17, align 4
br label %109
109: ; preds = %102
%110 = load i32, ptr %16, align 4
%111 = load i32, ptr %8, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %40, label %113, !llvm.loop !8
113: ; preds = %109
%114 = load i32, ptr %10, align 4
%115 = sub nsw i32 %114, 1
%116 = icmp sle i32 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %113
br label %487
118: ; preds = %113
store i32 0, ptr %16, align 4
%119 = load i32, ptr %9, align 4
%120 = mul nsw i32 %119, 2
store i32 %120, ptr %17, align 4
br label %121
121: ; preds = %213, %118
%122 = load i32, ptr %16, align 4
%123 = add nsw i32 %122, 1
%124 = load i32, ptr %15, align 4
%125 = add nsw i32 %123, %124
store i32 %125, ptr %19, align 4
%126 = load i32, ptr %19, align 4
%127 = load i32, ptr %8, align 4
%128 = icmp sle i32 %126, %127
br i1 %128, label %.lr.ph2, label %206
.lr.ph2: ; preds = %121
br label %129
129: ; preds = %.lr.ph2, %199
%130 = load ptr, ptr %13, align 8
%131 = load i32, ptr %19, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, ptr %130, i64 %132
%134 = load double, ptr %133, align 8
%135 = load ptr, ptr %14, align 8
%136 = load i32, ptr %19, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %135, i64 %137
%139 = load double, ptr %138, align 8
%140 = fadd double %134, %139
%141 = fmul double %140, 0x3FE6A09E667F3BCC
store double %141, ptr %22, align 8
%142 = load ptr, ptr %13, align 8
%143 = load i32, ptr %19, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, ptr %142, i64 %144
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %14, align 8
%148 = load i32, ptr %19, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %147, i64 %149
%151 = load double, ptr %150, align 8
%152 = fsub double %146, %151
%153 = fmul double %152, 0x3FE6A09E667F3BCC
store double %153, ptr %23, align 8
%154 = load ptr, ptr %12, align 8
%155 = load i32, ptr %19, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %154, i64 %156
%158 = load double, ptr %157, align 8
%159 = load double, ptr %22, align 8
%160 = fsub double %158, %159
%161 = load ptr, ptr %14, align 8
%162 = load i32, ptr %19, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
store double %160, ptr %164, align 8
%165 = load ptr, ptr %12, align 8
%166 = load i32, ptr %19, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %165, i64 %167
%169 = load double, ptr %168, align 8
%170 = fneg double %169
%171 = load double, ptr %22, align 8
%172 = fsub double %170, %171
%173 = load ptr, ptr %13, align 8
%174 = load i32, ptr %19, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
store double %172, ptr %176, align 8
%177 = load ptr, ptr %11, align 8
%178 = load i32, ptr %19, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %177, i64 %179
%181 = load double, ptr %180, align 8
%182 = load double, ptr %23, align 8
%183 = fsub double %181, %182
%184 = load ptr, ptr %12, align 8
%185 = load i32, ptr %19, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %184, i64 %186
store double %183, ptr %187, align 8
%188 = load ptr, ptr %11, align 8
%189 = load i32, ptr %19, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, ptr %188, i64 %190
%192 = load double, ptr %191, align 8
%193 = load double, ptr %23, align 8
%194 = fadd double %192, %193
%195 = load ptr, ptr %11, align 8
%196 = load i32, ptr %19, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds double, ptr %195, i64 %197
store double %194, ptr %198, align 8
br label %199
199: ; preds = %129
%200 = load i32, ptr %17, align 4
%201 = load i32, ptr %19, align 4
%202 = add nsw i32 %201, %200
store i32 %202, ptr %19, align 4
%203 = load i32, ptr %19, align 4
%204 = load i32, ptr %8, align 4
%205 = icmp sle i32 %203, %204
br i1 %205, label %129, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %199
br label %206
206: ; preds = %._crit_edge3, %121
%207 = load i32, ptr %17, align 4
%208 = mul nsw i32 2, %207
%209 = load i32, ptr %9, align 4
%210 = sub nsw i32 %208, %209
store i32 %210, ptr %16, align 4
%211 = load i32, ptr %17, align 4
%212 = mul nsw i32 4, %211
store i32 %212, ptr %17, align 4
br label %213
213: ; preds = %206
%214 = load i32, ptr %16, align 4
%215 = load i32, ptr %8, align 4
%216 = icmp slt i32 %214, %215
br i1 %216, label %121, label %217, !llvm.loop !10
217: ; preds = %213
%218 = load i32, ptr %15, align 4
%219 = sub nsw i32 %218, 1
%220 = icmp sle i32 %219, 0
br i1 %220, label %221, label %222
221: ; preds = %217
br label %487
222: ; preds = %217
%223 = load i32, ptr %9, align 4
%224 = sitofp i32 %223 to double
%225 = fdiv double 0x401921FB54442D18, %224
store double %225, ptr %24, align 8
%226 = load double, ptr %24, align 8
%227 = call double @sin(double noundef %226) #3
store double %227, ptr %28, align 8
%228 = load double, ptr %28, align 8
store double %228, ptr %29, align 8
%229 = load double, ptr %29, align 8
%230 = load double, ptr %29, align 8
%231 = load double, ptr %29, align 8
%232 = fmul double %230, %231
%233 = load double, ptr %29, align 8
%234 = fmul double %232, %233
%235 = fmul double 4.000000e+00, %234
%236 = fneg double %235
%237 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %229, double %236)
store double %237, ptr %31, align 8
%238 = load double, ptr %31, align 8
store double %238, ptr %30, align 8
%239 = load double, ptr %24, align 8
%240 = call double @cos(double noundef %239) #3
store double %240, ptr %32, align 8
%241 = load double, ptr %32, align 8
store double %241, ptr %33, align 8
%242 = load double, ptr %33, align 8
%243 = load double, ptr %33, align 8
%244 = fmul double %242, %243
%245 = load double, ptr %33, align 8
%246 = fmul double %244, %245
%247 = load double, ptr %33, align 8
%248 = fmul double 3.000000e+00, %247
%249 = fneg double %248
%250 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %246, double %249)
store double %250, ptr %35, align 8
%251 = load double, ptr %35, align 8
store double %251, ptr %34, align 8
store i32 2, ptr %20, align 4
%252 = load i32, ptr %20, align 4
%253 = load i32, ptr %15, align 4
%254 = icmp sle i32 %252, %253
br i1 %254, label %.lr.ph8, label %486
.lr.ph8: ; preds = %222
br label %255
255: ; preds = %.lr.ph8, %480
store i32 0, ptr %16, align 4
%256 = load i32, ptr %9, align 4
%257 = mul nsw i32 2, %256
store i32 %257, ptr %17, align 4
%258 = load i32, ptr %10, align 4
%259 = load i32, ptr %20, align 4
%260 = mul nsw i32 2, %259
%261 = sub nsw i32 %258, %260
%262 = add nsw i32 %261, 2
store i32 %262, ptr %21, align 4
br label %263
263: ; preds = %447, %255
%264 = load i32, ptr %16, align 4
%265 = load i32, ptr %20, align 4
%266 = add nsw i32 %264, %265
store i32 %266, ptr %18, align 4
%267 = load i32, ptr %18, align 4
%268 = load i32, ptr %8, align 4
%269 = icmp sle i32 %267, %268
br i1 %269, label %.lr.ph5, label %440
.lr.ph5: ; preds = %263
br label %270
270: ; preds = %.lr.ph5, %433
%271 = load i32, ptr %18, align 4
%272 = load i32, ptr %21, align 4
%273 = add nsw i32 %271, %272
store i32 %273, ptr %19, align 4
%274 = load ptr, ptr %13, align 8
%275 = load i32, ptr %18, align 4
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds double, ptr %274, i64 %276
%278 = load double, ptr %277, align 8
%279 = load double, ptr %32, align 8
%280 = load ptr, ptr %13, align 8
%281 = load i32, ptr %19, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds double, ptr %280, i64 %282
%284 = load double, ptr %283, align 8
%285 = load double, ptr %28, align 8
%286 = fmul double %284, %285
%287 = call double @llvm.fmuladd.f64(double %278, double %279, double %286)
store double %287, ptr %22, align 8
%288 = load ptr, ptr %13, align 8
%289 = load i32, ptr %19, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds double, ptr %288, i64 %290
%292 = load double, ptr %291, align 8
%293 = load double, ptr %32, align 8
%294 = load ptr, ptr %13, align 8
%295 = load i32, ptr %18, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds double, ptr %294, i64 %296
%298 = load double, ptr %297, align 8
%299 = load double, ptr %28, align 8
%300 = fmul double %298, %299
%301 = fneg double %300
%302 = call double @llvm.fmuladd.f64(double %292, double %293, double %301)
store double %302, ptr %23, align 8
%303 = load ptr, ptr %14, align 8
%304 = load i32, ptr %18, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds double, ptr %303, i64 %305
%307 = load double, ptr %306, align 8
%308 = load double, ptr %34, align 8
%309 = load ptr, ptr %14, align 8
%310 = load i32, ptr %19, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds double, ptr %309, i64 %311
%313 = load double, ptr %312, align 8
%314 = load double, ptr %30, align 8
%315 = fmul double %313, %314
%316 = call double @llvm.fmuladd.f64(double %307, double %308, double %315)
store double %316, ptr %25, align 8
%317 = load ptr, ptr %14, align 8
%318 = load i32, ptr %19, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds double, ptr %317, i64 %319
%321 = load double, ptr %320, align 8
%322 = load double, ptr %34, align 8
%323 = load ptr, ptr %14, align 8
%324 = load i32, ptr %18, align 4
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds double, ptr %323, i64 %325
%327 = load double, ptr %326, align 8
%328 = load double, ptr %30, align 8
%329 = fmul double %327, %328
%330 = fneg double %329
%331 = call double @llvm.fmuladd.f64(double %321, double %322, double %330)
store double %331, ptr %26, align 8
%332 = load double, ptr %22, align 8
%333 = load double, ptr %25, align 8
%334 = fadd double %332, %333
store double %334, ptr %27, align 8
%335 = load double, ptr %22, align 8
%336 = load double, ptr %25, align 8
%337 = fsub double %335, %336
store double %337, ptr %25, align 8
%338 = load double, ptr %23, align 8
%339 = load double, ptr %26, align 8
%340 = fadd double %338, %339
store double %340, ptr %22, align 8
%341 = load double, ptr %23, align 8
%342 = load double, ptr %26, align 8
%343 = fsub double %341, %342
store double %343, ptr %26, align 8
%344 = load double, ptr %22, align 8
%345 = load ptr, ptr %12, align 8
%346 = load i32, ptr %19, align 4
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds double, ptr %345, i64 %347
%349 = load double, ptr %348, align 8
%350 = fsub double %344, %349
%351 = load ptr, ptr %13, align 8
%352 = load i32, ptr %18, align 4
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds double, ptr %351, i64 %353
store double %350, ptr %354, align 8
%355 = load double, ptr %22, align 8
%356 = load ptr, ptr %12, align 8
%357 = load i32, ptr %19, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds double, ptr %356, i64 %358
%360 = load double, ptr %359, align 8
%361 = fadd double %355, %360
%362 = load ptr, ptr %14, align 8
%363 = load i32, ptr %19, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds double, ptr %362, i64 %364
store double %361, ptr %365, align 8
%366 = load ptr, ptr %12, align 8
%367 = load i32, ptr %18, align 4
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds double, ptr %366, i64 %368
%370 = load double, ptr %369, align 8
%371 = fneg double %370
%372 = load double, ptr %25, align 8
%373 = fsub double %371, %372
%374 = load ptr, ptr %13, align 8
%375 = load i32, ptr %19, align 4
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds double, ptr %374, i64 %376
store double %373, ptr %377, align 8
%378 = load ptr, ptr %12, align 8
%379 = load i32, ptr %18, align 4
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds double, ptr %378, i64 %380
%382 = load double, ptr %381, align 8
%383 = load double, ptr %25, align 8
%384 = fsub double %382, %383
%385 = load ptr, ptr %14, align 8
%386 = load i32, ptr %18, align 4
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds double, ptr %385, i64 %387
store double %384, ptr %388, align 8
%389 = load ptr, ptr %11, align 8
%390 = load i32, ptr %18, align 4
%391 = sext i32 %390 to i64
%392 = getelementptr inbounds double, ptr %389, i64 %391
%393 = load double, ptr %392, align 8
%394 = load double, ptr %27, align 8
%395 = fsub double %393, %394
%396 = load ptr, ptr %12, align 8
%397 = load i32, ptr %19, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds double, ptr %396, i64 %398
store double %395, ptr %399, align 8
%400 = load ptr, ptr %11, align 8
%401 = load i32, ptr %18, align 4
%402 = sext i32 %401 to i64
%403 = getelementptr inbounds double, ptr %400, i64 %402
%404 = load double, ptr %403, align 8
%405 = load double, ptr %27, align 8
%406 = fadd double %404, %405
%407 = load ptr, ptr %11, align 8
%408 = load i32, ptr %18, align 4
%409 = sext i32 %408 to i64
%410 = getelementptr inbounds double, ptr %407, i64 %409
store double %406, ptr %410, align 8
%411 = load ptr, ptr %11, align 8
%412 = load i32, ptr %19, align 4
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds double, ptr %411, i64 %413
%415 = load double, ptr %414, align 8
%416 = load double, ptr %26, align 8
%417 = fadd double %415, %416
%418 = load ptr, ptr %12, align 8
%419 = load i32, ptr %18, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds double, ptr %418, i64 %420
store double %417, ptr %421, align 8
%422 = load ptr, ptr %11, align 8
%423 = load i32, ptr %19, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds double, ptr %422, i64 %424
%426 = load double, ptr %425, align 8
%427 = load double, ptr %26, align 8
%428 = fsub double %426, %427
%429 = load ptr, ptr %11, align 8
%430 = load i32, ptr %19, align 4
%431 = sext i32 %430 to i64
%432 = getelementptr inbounds double, ptr %429, i64 %431
store double %428, ptr %432, align 8
br label %433
433: ; preds = %270
%434 = load i32, ptr %17, align 4
%435 = load i32, ptr %18, align 4
%436 = add nsw i32 %435, %434
store i32 %436, ptr %18, align 4
%437 = load i32, ptr %18, align 4
%438 = load i32, ptr %8, align 4
%439 = icmp sle i32 %437, %438
br i1 %439, label %270, label %._crit_edge6, !llvm.loop !11
._crit_edge6: ; preds = %433
br label %440
440: ; preds = %._crit_edge6, %263
%441 = load i32, ptr %17, align 4
%442 = mul nsw i32 2, %441
%443 = load i32, ptr %9, align 4
%444 = sub nsw i32 %442, %443
store i32 %444, ptr %16, align 4
%445 = load i32, ptr %17, align 4
%446 = mul nsw i32 4, %445
store i32 %446, ptr %17, align 4
br label %447
447: ; preds = %440
%448 = load i32, ptr %16, align 4
%449 = load i32, ptr %8, align 4
%450 = icmp slt i32 %448, %449
br i1 %450, label %263, label %451, !llvm.loop !12
451: ; preds = %447
%452 = load double, ptr %32, align 8
%453 = load double, ptr %33, align 8
%454 = load double, ptr %28, align 8
%455 = load double, ptr %29, align 8
%456 = fmul double %454, %455
%457 = fneg double %456
%458 = call double @llvm.fmuladd.f64(double %452, double %453, double %457)
store double %458, ptr %22, align 8
%459 = load double, ptr %32, align 8
%460 = load double, ptr %29, align 8
%461 = load double, ptr %28, align 8
%462 = load double, ptr %33, align 8
%463 = fmul double %461, %462
%464 = call double @llvm.fmuladd.f64(double %459, double %460, double %463)
store double %464, ptr %28, align 8
%465 = load double, ptr %22, align 8
store double %465, ptr %32, align 8
%466 = load double, ptr %34, align 8
%467 = load double, ptr %35, align 8
%468 = load double, ptr %30, align 8
%469 = load double, ptr %31, align 8
%470 = fmul double %468, %469
%471 = fneg double %470
%472 = call double @llvm.fmuladd.f64(double %466, double %467, double %471)
store double %472, ptr %25, align 8
%473 = load double, ptr %34, align 8
%474 = load double, ptr %31, align 8
%475 = load double, ptr %30, align 8
%476 = load double, ptr %35, align 8
%477 = fmul double %475, %476
%478 = call double @llvm.fmuladd.f64(double %473, double %474, double %477)
store double %478, ptr %30, align 8
%479 = load double, ptr %25, align 8
store double %479, ptr %34, align 8
br label %480
480: ; preds = %451
%481 = load i32, ptr %20, align 4
%482 = add nsw i32 %481, 1
store i32 %482, ptr %20, align 4
%483 = load i32, ptr %20, align 4
%484 = load i32, ptr %15, align 4
%485 = icmp sle i32 %483, %484
br i1 %485, label %255, label %._crit_edge9, !llvm.loop !13
._crit_edge9: ; preds = %480
br label %486
486: ; preds = %._crit_edge9, %222
br label %487
487: ; preds = %486, %221, %117
ret void
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpoq5zg0nm.c'
source_filename = "/tmp/tmpoq5zg0nm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for I\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x49() #0 {
%1 = call i64 @islower(i32 noundef 73)
%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 370, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoq5zg0nm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for I\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x49() #0 {
%1 = call i64 @islower(i32 noundef 73)
%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 370, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ffyzzdv.c'
source_filename = "/tmp/tmp8ffyzzdv.c"
target datalayout = "e-m:e-p270: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/tmp8ffyzzdv.c"
target datalayout = "e-m:e-p270: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/tmpaxkghj8y.c'
source_filename = "/tmp/tmpaxkghj8y.c"
target datalayout = "e-m:e-p270: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/tmpaxkghj8y.c"
target datalayout = "e-m:e-p270: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/tmp2olh_l9w.c'
source_filename = "/tmp/tmp2olh_l9w.c"
target datalayout = "e-m:e-p270: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/tmp2olh_l9w.c"
target datalayout = "e-m:e-p270: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/tmp6mynq4la.c'
source_filename = "/tmp/tmp6mynq4la.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Le joueur 2 a gagne !\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"32\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @defaiteMastermindMulti() #0 {
%1 = call i32 @coloration(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @coloration(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/tmp6mynq4la.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Le joueur 2 a gagne !\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"32\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @defaiteMastermindMulti() #0 {
%1 = call i32 @coloration(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @coloration(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/tmpe6wa5bvl.c'
source_filename = "/tmp/tmpe6wa5bvl.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sighandler_critical_child(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @EXIT_FAILURE, align 4
%4 = call i32 @_exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpe6wa5bvl.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sighandler_critical_child(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @EXIT_FAILURE, align 4
%4 = call i32 @_exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpnhqc776n.c'
source_filename = "/tmp/tmpnhqc776n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashlittle(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
br label %20
20: ; preds = %23, %3
%21 = load i64, ptr %6, align 8
%22 = icmp ugt i64 %21, 12
br i1 %22, label %23, label %175
23: ; preds = %20
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 0
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %12, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 1
%31 = load i32, ptr %30, align 4
%32 = shl i32 %31, 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %8, align 4
%35 = load ptr, ptr %12, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 2
%37 = load i32, ptr %36, align 4
%38 = shl i32 %37, 16
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %8, align 4
%41 = load ptr, ptr %12, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 3
%43 = load i32, ptr %42, align 4
%44 = shl i32 %43, 24
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, %44
store i32 %46, ptr %8, align 4
%47 = load ptr, ptr %12, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 4
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, %49
store i32 %51, ptr %9, align 4
%52 = load ptr, ptr %12, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 5
%54 = load i32, ptr %53, align 4
%55 = shl i32 %54, 8
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %9, align 4
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 6
%60 = load i32, ptr %59, align 4
%61 = shl i32 %60, 16
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, %61
store i32 %63, ptr %9, align 4
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 7
%66 = load i32, ptr %65, align 4
%67 = shl i32 %66, 24
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, %67
store i32 %69, ptr %9, align 4
%70 = load ptr, ptr %12, align 8
%71 = getelementptr inbounds i32, ptr %70, i64 8
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, %72
store i32 %74, ptr %10, align 4
%75 = load ptr, ptr %12, align 8
%76 = getelementptr inbounds i32, ptr %75, i64 9
%77 = load i32, ptr %76, align 4
%78 = shl i32 %77, 8
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, %78
store i32 %80, ptr %10, align 4
%81 = load ptr, ptr %12, align 8
%82 = getelementptr inbounds i32, ptr %81, i64 10
%83 = load i32, ptr %82, align 4
%84 = shl i32 %83, 16
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %10, align 4
%87 = load ptr, ptr %12, align 8
%88 = getelementptr inbounds i32, ptr %87, i64 11
%89 = load i32, ptr %88, align 4
%90 = shl i32 %89, 24
%91 = load i32, ptr %10, align 4
%92 = add nsw i32 %91, %90
store i32 %92, ptr %10, align 4
%93 = load i32, ptr %10, align 4
%94 = load i32, ptr %8, align 4
%95 = sub nsw i32 %94, %93
store i32 %95, ptr %8, align 4
%96 = load i32, ptr %10, align 4
%97 = shl i32 %96, 4
%98 = load i32, ptr %10, align 4
%99 = ashr i32 %98, 28
%100 = or i32 %97, %99
%101 = load i32, ptr %8, align 4
%102 = xor i32 %101, %100
store i32 %102, ptr %8, align 4
%103 = load i32, ptr %9, align 4
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, %103
store i32 %105, ptr %10, align 4
%106 = load i32, ptr %8, align 4
%107 = load i32, ptr %9, align 4
%108 = sub nsw i32 %107, %106
store i32 %108, ptr %9, align 4
%109 = load i32, ptr %8, align 4
%110 = shl i32 %109, 6
%111 = load i32, ptr %8, align 4
%112 = ashr i32 %111, 26
%113 = or i32 %110, %112
%114 = load i32, ptr %9, align 4
%115 = xor i32 %114, %113
store i32 %115, ptr %9, align 4
%116 = load i32, ptr %10, align 4
%117 = load i32, ptr %8, align 4
%118 = add nsw i32 %117, %116
store i32 %118, ptr %8, align 4
%119 = load i32, ptr %9, align 4
%120 = load i32, ptr %10, align 4
%121 = sub nsw i32 %120, %119
store i32 %121, ptr %10, align 4
%122 = load i32, ptr %9, align 4
%123 = shl i32 %122, 8
%124 = load i32, ptr %9, align 4
%125 = ashr i32 %124, 24
%126 = or i32 %123, %125
%127 = load i32, ptr %10, align 4
%128 = xor i32 %127, %126
store i32 %128, ptr %10, align 4
%129 = load i32, ptr %8, align 4
%130 = load i32, ptr %9, align 4
%131 = add nsw i32 %130, %129
store i32 %131, ptr %9, align 4
%132 = load i32, ptr %10, align 4
%133 = load i32, ptr %8, align 4
%134 = sub nsw i32 %133, %132
store i32 %134, ptr %8, align 4
%135 = load i32, ptr %10, align 4
%136 = shl i32 %135, 16
%137 = load i32, ptr %10, align 4
%138 = ashr i32 %137, 16
%139 = or i32 %136, %138
%140 = load i32, ptr %8, align 4
%141 = xor i32 %140, %139
store i32 %141, ptr %8, align 4
%142 = load i32, ptr %9, align 4
%143 = load i32, ptr %10, align 4
%144 = add nsw i32 %143, %142
store i32 %144, ptr %10, align 4
%145 = load i32, ptr %8, align 4
%146 = load i32, ptr %9, align 4
%147 = sub nsw i32 %146, %145
store i32 %147, ptr %9, align 4
%148 = load i32, ptr %8, align 4
%149 = shl i32 %148, 19
%150 = load i32, ptr %8, align 4
%151 = ashr i32 %150, 13
%152 = or i32 %149, %151
%153 = load i32, ptr %9, align 4
%154 = xor i32 %153, %152
store i32 %154, ptr %9, align 4
%155 = load i32, ptr %10, align 4
%156 = load i32, ptr %8, align 4
%157 = add nsw i32 %156, %155
store i32 %157, ptr %8, align 4
%158 = load i32, ptr %9, align 4
%159 = load i32, ptr %10, align 4
%160 = sub nsw i32 %159, %158
store i32 %160, ptr %10, align 4
%161 = load i32, ptr %9, align 4
%162 = shl i32 %161, 4
%163 = load i32, ptr %9, align 4
%164 = ashr i32 %163, 28
%165 = or i32 %162, %164
%166 = load i32, ptr %10, align 4
%167 = xor i32 %166, %165
store i32 %167, ptr %10, align 4
%168 = load i32, ptr %8, align 4
%169 = load i32, ptr %9, align 4
%170 = add nsw i32 %169, %168
store i32 %170, ptr %9, align 4
%171 = load i64, ptr %6, align 8
%172 = sub i64 %171, 12
store i64 %172, ptr %6, align 8
%173 = load ptr, ptr %12, align 8
%174 = getelementptr inbounds i32, ptr %173, i64 12
store ptr %174, ptr %12, align 8
br label %20, !llvm.loop !6
175: ; preds = %20
%176 = load i64, ptr %6, align 8
switch i64 %176, label %260 [
i64 12, label %177
i64 11, label %184
i64 10, label %191
i64 9, label %198
i64 8, label %204
i64 7, label %211
i64 6, label %218
i64 5, label %225
i64 4, label %231
i64 3, label %238
i64 2, label %245
i64 1, label %252
i64 0, label %258
]
177: ; preds = %175
%178 = load ptr, ptr %12, align 8
%179 = getelementptr inbounds i32, ptr %178, i64 11
%180 = load i32, ptr %179, align 4
%181 = shl i32 %180, 24
%182 = load i32, ptr %10, align 4
%183 = add nsw i32 %182, %181
store i32 %183, ptr %10, align 4
br label %184
184: ; preds = %175, %177
%185 = load ptr, ptr %12, align 8
%186 = getelementptr inbounds i32, ptr %185, i64 10
%187 = load i32, ptr %186, align 4
%188 = shl i32 %187, 16
%189 = load i32, ptr %10, align 4
%190 = add nsw i32 %189, %188
store i32 %190, ptr %10, align 4
br label %191
191: ; preds = %175, %184
%192 = load ptr, ptr %12, align 8
%193 = getelementptr inbounds i32, ptr %192, i64 9
%194 = load i32, ptr %193, align 4
%195 = shl i32 %194, 8
%196 = load i32, ptr %10, align 4
%197 = add nsw i32 %196, %195
store i32 %197, ptr %10, align 4
br label %198
198: ; preds = %175, %191
%199 = load ptr, ptr %12, align 8
%200 = getelementptr inbounds i32, ptr %199, i64 8
%201 = load i32, ptr %200, align 4
%202 = load i32, ptr %10, align 4
%203 = add nsw i32 %202, %201
store i32 %203, ptr %10, align 4
br label %204
204: ; preds = %175, %198
%205 = load ptr, ptr %12, align 8
%206 = getelementptr inbounds i32, ptr %205, i64 7
%207 = load i32, ptr %206, align 4
%208 = shl i32 %207, 24
%209 = load i32, ptr %9, align 4
%210 = add nsw i32 %209, %208
store i32 %210, ptr %9, align 4
br label %211
211: ; preds = %175, %204
%212 = load ptr, ptr %12, align 8
%213 = getelementptr inbounds i32, ptr %212, i64 6
%214 = load i32, ptr %213, align 4
%215 = shl i32 %214, 16
%216 = load i32, ptr %9, align 4
%217 = add nsw i32 %216, %215
store i32 %217, ptr %9, align 4
br label %218
218: ; preds = %175, %211
%219 = load ptr, ptr %12, align 8
%220 = getelementptr inbounds i32, ptr %219, i64 5
%221 = load i32, ptr %220, align 4
%222 = shl i32 %221, 8
%223 = load i32, ptr %9, align 4
%224 = add nsw i32 %223, %222
store i32 %224, ptr %9, align 4
br label %225
225: ; preds = %175, %218
%226 = load ptr, ptr %12, align 8
%227 = getelementptr inbounds i32, ptr %226, i64 4
%228 = load i32, ptr %227, align 4
%229 = load i32, ptr %9, align 4
%230 = add nsw i32 %229, %228
store i32 %230, ptr %9, align 4
br label %231
231: ; preds = %175, %225
%232 = load ptr, ptr %12, align 8
%233 = getelementptr inbounds i32, ptr %232, i64 3
%234 = load i32, ptr %233, align 4
%235 = shl i32 %234, 24
%236 = load i32, ptr %8, align 4
%237 = add nsw i32 %236, %235
store i32 %237, ptr %8, align 4
br label %238
238: ; preds = %175, %231
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds i32, ptr %239, i64 2
%241 = load i32, ptr %240, align 4
%242 = shl i32 %241, 16
%243 = load i32, ptr %8, align 4
%244 = add nsw i32 %243, %242
store i32 %244, ptr %8, align 4
br label %245
245: ; preds = %175, %238
%246 = load ptr, ptr %12, align 8
%247 = getelementptr inbounds i32, ptr %246, i64 1
%248 = load i32, ptr %247, align 4
%249 = shl i32 %248, 8
%250 = load i32, ptr %8, align 4
%251 = add nsw i32 %250, %249
store i32 %251, ptr %8, align 4
br label %252
252: ; preds = %175, %245
%253 = load ptr, ptr %12, align 8
%254 = getelementptr inbounds i32, ptr %253, i64 0
%255 = load i32, ptr %254, align 4
%256 = load i32, ptr %8, align 4
%257 = add nsw i32 %256, %255
store i32 %257, ptr %8, align 4
br label %260
258: ; preds = %175
%259 = load i32, ptr %10, align 4
store i32 %259, ptr %4, align 4
br label %332
260: ; preds = %175, %252
%261 = load i32, ptr %9, align 4
%262 = load i32, ptr %10, align 4
%263 = xor i32 %262, %261
store i32 %263, ptr %10, align 4
%264 = load i32, ptr %9, align 4
%265 = shl i32 %264, 14
%266 = load i32, ptr %9, align 4
%267 = ashr i32 %266, 18
%268 = or i32 %265, %267
%269 = load i32, ptr %10, align 4
%270 = sub nsw i32 %269, %268
store i32 %270, ptr %10, align 4
%271 = load i32, ptr %10, align 4
%272 = load i32, ptr %8, align 4
%273 = xor i32 %272, %271
store i32 %273, ptr %8, align 4
%274 = load i32, ptr %10, align 4
%275 = shl i32 %274, 11
%276 = load i32, ptr %10, align 4
%277 = ashr i32 %276, 21
%278 = or i32 %275, %277
%279 = load i32, ptr %8, align 4
%280 = sub nsw i32 %279, %278
store i32 %280, ptr %8, align 4
%281 = load i32, ptr %8, align 4
%282 = load i32, ptr %9, align 4
%283 = xor i32 %282, %281
store i32 %283, ptr %9, align 4
%284 = load i32, ptr %8, align 4
%285 = shl i32 %284, 25
%286 = load i32, ptr %8, align 4
%287 = ashr i32 %286, 7
%288 = or i32 %285, %287
%289 = load i32, ptr %9, align 4
%290 = sub nsw i32 %289, %288
store i32 %290, ptr %9, align 4
%291 = load i32, ptr %9, align 4
%292 = load i32, ptr %10, align 4
%293 = xor i32 %292, %291
store i32 %293, ptr %10, align 4
%294 = load i32, ptr %9, align 4
%295 = shl i32 %294, 16
%296 = load i32, ptr %9, align 4
%297 = ashr i32 %296, 16
%298 = or i32 %295, %297
%299 = load i32, ptr %10, align 4
%300 = sub nsw i32 %299, %298
store i32 %300, ptr %10, align 4
%301 = load i32, ptr %10, align 4
%302 = load i32, ptr %8, align 4
%303 = xor i32 %302, %301
store i32 %303, ptr %8, align 4
%304 = load i32, ptr %10, align 4
%305 = shl i32 %304, 4
%306 = load i32, ptr %10, align 4
%307 = ashr i32 %306, 28
%308 = or i32 %305, %307
%309 = load i32, ptr %8, align 4
%310 = sub nsw i32 %309, %308
store i32 %310, ptr %8, align 4
%311 = load i32, ptr %8, align 4
%312 = load i32, ptr %9, align 4
%313 = xor i32 %312, %311
store i32 %313, ptr %9, align 4
%314 = load i32, ptr %8, align 4
%315 = shl i32 %314, 14
%316 = load i32, ptr %8, align 4
%317 = ashr i32 %316, 18
%318 = or i32 %315, %317
%319 = load i32, ptr %9, align 4
%320 = sub nsw i32 %319, %318
store i32 %320, ptr %9, align 4
%321 = load i32, ptr %9, align 4
%322 = load i32, ptr %10, align 4
%323 = xor i32 %322, %321
store i32 %323, ptr %10, align 4
%324 = load i32, ptr %9, align 4
%325 = shl i32 %324, 24
%326 = load i32, ptr %9, align 4
%327 = ashr i32 %326, 8
%328 = or i32 %325, %327
%329 = load i32, ptr %10, align 4
%330 = sub nsw i32 %329, %328
store i32 %330, ptr %10, align 4
%331 = load i32, ptr %10, align 4
store i32 %331, ptr %4, align 4
br label %332
332: ; preds = %260, %258
%333 = load i32, ptr %4, align 4
ret i32 %333
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnhqc776n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashlittle(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ugt i64 %20, 12
br i1 %21, label %.lr.ph, label %176
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %12, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %8, align 4
%28 = load ptr, ptr %12, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = shl i32 %30, 8
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %12, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 2
%36 = load i32, ptr %35, align 4
%37 = shl i32 %36, 16
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %8, align 4
%40 = load ptr, ptr %12, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 3
%42 = load i32, ptr %41, align 4
%43 = shl i32 %42, 24
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %8, align 4
%46 = load ptr, ptr %12, align 8
%47 = getelementptr inbounds i32, ptr %46, i64 4
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %9, align 4
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 5
%53 = load i32, ptr %52, align 4
%54 = shl i32 %53, 8
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, %54
store i32 %56, ptr %9, align 4
%57 = load ptr, ptr %12, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 6
%59 = load i32, ptr %58, align 4
%60 = shl i32 %59, 16
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, %60
store i32 %62, ptr %9, align 4
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 7
%65 = load i32, ptr %64, align 4
%66 = shl i32 %65, 24
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, %66
store i32 %68, ptr %9, align 4
%69 = load ptr, ptr %12, align 8
%70 = getelementptr inbounds i32, ptr %69, i64 8
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, %71
store i32 %73, ptr %10, align 4
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 9
%76 = load i32, ptr %75, align 4
%77 = shl i32 %76, 8
%78 = load i32, ptr %10, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %10, align 4
%80 = load ptr, ptr %12, align 8
%81 = getelementptr inbounds i32, ptr %80, i64 10
%82 = load i32, ptr %81, align 4
%83 = shl i32 %82, 16
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, %83
store i32 %85, ptr %10, align 4
%86 = load ptr, ptr %12, align 8
%87 = getelementptr inbounds i32, ptr %86, i64 11
%88 = load i32, ptr %87, align 4
%89 = shl i32 %88, 24
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %10, align 4
%92 = load i32, ptr %10, align 4
%93 = load i32, ptr %8, align 4
%94 = sub nsw i32 %93, %92
store i32 %94, ptr %8, align 4
%95 = load i32, ptr %10, align 4
%96 = shl i32 %95, 4
%97 = load i32, ptr %10, align 4
%98 = ashr i32 %97, 28
%99 = or i32 %96, %98
%100 = load i32, ptr %8, align 4
%101 = xor i32 %100, %99
store i32 %101, ptr %8, align 4
%102 = load i32, ptr %9, align 4
%103 = load i32, ptr %10, align 4
%104 = add nsw i32 %103, %102
store i32 %104, ptr %10, align 4
%105 = load i32, ptr %8, align 4
%106 = load i32, ptr %9, align 4
%107 = sub nsw i32 %106, %105
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %8, align 4
%109 = shl i32 %108, 6
%110 = load i32, ptr %8, align 4
%111 = ashr i32 %110, 26
%112 = or i32 %109, %111
%113 = load i32, ptr %9, align 4
%114 = xor i32 %113, %112
store i32 %114, ptr %9, align 4
%115 = load i32, ptr %10, align 4
%116 = load i32, ptr %8, align 4
%117 = add nsw i32 %116, %115
store i32 %117, ptr %8, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %10, align 4
%120 = sub nsw i32 %119, %118
store i32 %120, ptr %10, align 4
%121 = load i32, ptr %9, align 4
%122 = shl i32 %121, 8
%123 = load i32, ptr %9, align 4
%124 = ashr i32 %123, 24
%125 = or i32 %122, %124
%126 = load i32, ptr %10, align 4
%127 = xor i32 %126, %125
store i32 %127, ptr %10, align 4
%128 = load i32, ptr %8, align 4
%129 = load i32, ptr %9, align 4
%130 = add nsw i32 %129, %128
store i32 %130, ptr %9, align 4
%131 = load i32, ptr %10, align 4
%132 = load i32, ptr %8, align 4
%133 = sub nsw i32 %132, %131
store i32 %133, ptr %8, align 4
%134 = load i32, ptr %10, align 4
%135 = shl i32 %134, 16
%136 = load i32, ptr %10, align 4
%137 = ashr i32 %136, 16
%138 = or i32 %135, %137
%139 = load i32, ptr %8, align 4
%140 = xor i32 %139, %138
store i32 %140, ptr %8, align 4
%141 = load i32, ptr %9, align 4
%142 = load i32, ptr %10, align 4
%143 = add nsw i32 %142, %141
store i32 %143, ptr %10, align 4
%144 = load i32, ptr %8, align 4
%145 = load i32, ptr %9, align 4
%146 = sub nsw i32 %145, %144
store i32 %146, ptr %9, align 4
%147 = load i32, ptr %8, align 4
%148 = shl i32 %147, 19
%149 = load i32, ptr %8, align 4
%150 = ashr i32 %149, 13
%151 = or i32 %148, %150
%152 = load i32, ptr %9, align 4
%153 = xor i32 %152, %151
store i32 %153, ptr %9, align 4
%154 = load i32, ptr %10, align 4
%155 = load i32, ptr %8, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %8, align 4
%157 = load i32, ptr %9, align 4
%158 = load i32, ptr %10, align 4
%159 = sub nsw i32 %158, %157
store i32 %159, ptr %10, align 4
%160 = load i32, ptr %9, align 4
%161 = shl i32 %160, 4
%162 = load i32, ptr %9, align 4
%163 = ashr i32 %162, 28
%164 = or i32 %161, %163
%165 = load i32, ptr %10, align 4
%166 = xor i32 %165, %164
store i32 %166, ptr %10, align 4
%167 = load i32, ptr %8, align 4
%168 = load i32, ptr %9, align 4
%169 = add nsw i32 %168, %167
store i32 %169, ptr %9, align 4
%170 = load i64, ptr %6, align 8
%171 = sub i64 %170, 12
store i64 %171, ptr %6, align 8
%172 = load ptr, ptr %12, align 8
%173 = getelementptr inbounds i32, ptr %172, i64 12
store ptr %173, ptr %12, align 8
%174 = load i64, ptr %6, align 8
%175 = icmp ugt i64 %174, 12
br i1 %175, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %176
176: ; preds = %._crit_edge, %3
%177 = load i64, ptr %6, align 8
switch i64 %177, label %261 [
i64 12, label %178
i64 11, label %185
i64 10, label %192
i64 9, label %199
i64 8, label %205
i64 7, label %212
i64 6, label %219
i64 5, label %226
i64 4, label %232
i64 3, label %239
i64 2, label %246
i64 1, label %253
i64 0, label %259
]
178: ; preds = %176
%179 = load ptr, ptr %12, align 8
%180 = getelementptr inbounds i32, ptr %179, i64 11
%181 = load i32, ptr %180, align 4
%182 = shl i32 %181, 24
%183 = load i32, ptr %10, align 4
%184 = add nsw i32 %183, %182
store i32 %184, ptr %10, align 4
br label %185
185: ; preds = %178, %176
%186 = load ptr, ptr %12, align 8
%187 = getelementptr inbounds i32, ptr %186, i64 10
%188 = load i32, ptr %187, align 4
%189 = shl i32 %188, 16
%190 = load i32, ptr %10, align 4
%191 = add nsw i32 %190, %189
store i32 %191, ptr %10, align 4
br label %192
192: ; preds = %185, %176
%193 = load ptr, ptr %12, align 8
%194 = getelementptr inbounds i32, ptr %193, i64 9
%195 = load i32, ptr %194, align 4
%196 = shl i32 %195, 8
%197 = load i32, ptr %10, align 4
%198 = add nsw i32 %197, %196
store i32 %198, ptr %10, align 4
br label %199
199: ; preds = %192, %176
%200 = load ptr, ptr %12, align 8
%201 = getelementptr inbounds i32, ptr %200, i64 8
%202 = load i32, ptr %201, align 4
%203 = load i32, ptr %10, align 4
%204 = add nsw i32 %203, %202
store i32 %204, ptr %10, align 4
br label %205
205: ; preds = %199, %176
%206 = load ptr, ptr %12, align 8
%207 = getelementptr inbounds i32, ptr %206, i64 7
%208 = load i32, ptr %207, align 4
%209 = shl i32 %208, 24
%210 = load i32, ptr %9, align 4
%211 = add nsw i32 %210, %209
store i32 %211, ptr %9, align 4
br label %212
212: ; preds = %205, %176
%213 = load ptr, ptr %12, align 8
%214 = getelementptr inbounds i32, ptr %213, i64 6
%215 = load i32, ptr %214, align 4
%216 = shl i32 %215, 16
%217 = load i32, ptr %9, align 4
%218 = add nsw i32 %217, %216
store i32 %218, ptr %9, align 4
br label %219
219: ; preds = %212, %176
%220 = load ptr, ptr %12, align 8
%221 = getelementptr inbounds i32, ptr %220, i64 5
%222 = load i32, ptr %221, align 4
%223 = shl i32 %222, 8
%224 = load i32, ptr %9, align 4
%225 = add nsw i32 %224, %223
store i32 %225, ptr %9, align 4
br label %226
226: ; preds = %219, %176
%227 = load ptr, ptr %12, align 8
%228 = getelementptr inbounds i32, ptr %227, i64 4
%229 = load i32, ptr %228, align 4
%230 = load i32, ptr %9, align 4
%231 = add nsw i32 %230, %229
store i32 %231, ptr %9, align 4
br label %232
232: ; preds = %226, %176
%233 = load ptr, ptr %12, align 8
%234 = getelementptr inbounds i32, ptr %233, i64 3
%235 = load i32, ptr %234, align 4
%236 = shl i32 %235, 24
%237 = load i32, ptr %8, align 4
%238 = add nsw i32 %237, %236
store i32 %238, ptr %8, align 4
br label %239
239: ; preds = %232, %176
%240 = load ptr, ptr %12, align 8
%241 = getelementptr inbounds i32, ptr %240, i64 2
%242 = load i32, ptr %241, align 4
%243 = shl i32 %242, 16
%244 = load i32, ptr %8, align 4
%245 = add nsw i32 %244, %243
store i32 %245, ptr %8, align 4
br label %246
246: ; preds = %239, %176
%247 = load ptr, ptr %12, align 8
%248 = getelementptr inbounds i32, ptr %247, i64 1
%249 = load i32, ptr %248, align 4
%250 = shl i32 %249, 8
%251 = load i32, ptr %8, align 4
%252 = add nsw i32 %251, %250
store i32 %252, ptr %8, align 4
br label %253
253: ; preds = %246, %176
%254 = load ptr, ptr %12, align 8
%255 = getelementptr inbounds i32, ptr %254, i64 0
%256 = load i32, ptr %255, align 4
%257 = load i32, ptr %8, align 4
%258 = add nsw i32 %257, %256
store i32 %258, ptr %8, align 4
br label %261
259: ; preds = %176
%260 = load i32, ptr %10, align 4
store i32 %260, ptr %4, align 4
br label %333
261: ; preds = %253, %176
%262 = load i32, ptr %9, align 4
%263 = load i32, ptr %10, align 4
%264 = xor i32 %263, %262
store i32 %264, ptr %10, align 4
%265 = load i32, ptr %9, align 4
%266 = shl i32 %265, 14
%267 = load i32, ptr %9, align 4
%268 = ashr i32 %267, 18
%269 = or i32 %266, %268
%270 = load i32, ptr %10, align 4
%271 = sub nsw i32 %270, %269
store i32 %271, ptr %10, align 4
%272 = load i32, ptr %10, align 4
%273 = load i32, ptr %8, align 4
%274 = xor i32 %273, %272
store i32 %274, ptr %8, align 4
%275 = load i32, ptr %10, align 4
%276 = shl i32 %275, 11
%277 = load i32, ptr %10, align 4
%278 = ashr i32 %277, 21
%279 = or i32 %276, %278
%280 = load i32, ptr %8, align 4
%281 = sub nsw i32 %280, %279
store i32 %281, ptr %8, align 4
%282 = load i32, ptr %8, align 4
%283 = load i32, ptr %9, align 4
%284 = xor i32 %283, %282
store i32 %284, ptr %9, align 4
%285 = load i32, ptr %8, align 4
%286 = shl i32 %285, 25
%287 = load i32, ptr %8, align 4
%288 = ashr i32 %287, 7
%289 = or i32 %286, %288
%290 = load i32, ptr %9, align 4
%291 = sub nsw i32 %290, %289
store i32 %291, ptr %9, align 4
%292 = load i32, ptr %9, align 4
%293 = load i32, ptr %10, align 4
%294 = xor i32 %293, %292
store i32 %294, ptr %10, align 4
%295 = load i32, ptr %9, align 4
%296 = shl i32 %295, 16
%297 = load i32, ptr %9, align 4
%298 = ashr i32 %297, 16
%299 = or i32 %296, %298
%300 = load i32, ptr %10, align 4
%301 = sub nsw i32 %300, %299
store i32 %301, ptr %10, align 4
%302 = load i32, ptr %10, align 4
%303 = load i32, ptr %8, align 4
%304 = xor i32 %303, %302
store i32 %304, ptr %8, align 4
%305 = load i32, ptr %10, align 4
%306 = shl i32 %305, 4
%307 = load i32, ptr %10, align 4
%308 = ashr i32 %307, 28
%309 = or i32 %306, %308
%310 = load i32, ptr %8, align 4
%311 = sub nsw i32 %310, %309
store i32 %311, ptr %8, align 4
%312 = load i32, ptr %8, align 4
%313 = load i32, ptr %9, align 4
%314 = xor i32 %313, %312
store i32 %314, ptr %9, align 4
%315 = load i32, ptr %8, align 4
%316 = shl i32 %315, 14
%317 = load i32, ptr %8, align 4
%318 = ashr i32 %317, 18
%319 = or i32 %316, %318
%320 = load i32, ptr %9, align 4
%321 = sub nsw i32 %320, %319
store i32 %321, ptr %9, align 4
%322 = load i32, ptr %9, align 4
%323 = load i32, ptr %10, align 4
%324 = xor i32 %323, %322
store i32 %324, ptr %10, align 4
%325 = load i32, ptr %9, align 4
%326 = shl i32 %325, 24
%327 = load i32, ptr %9, align 4
%328 = ashr i32 %327, 8
%329 = or i32 %326, %328
%330 = load i32, ptr %10, align 4
%331 = sub nsw i32 %330, %329
store i32 %331, ptr %10, align 4
%332 = load i32, ptr %10, align 4
store i32 %332, ptr %4, align 4
br label %333
333: ; preds = %261, %259
%334 = load i32, ptr %4, align 4
ret i32 %334
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4sgbuffg.c'
source_filename = "/tmp/tmp4sgbuffg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"has_sse=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @has_sse()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @has_sse(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4sgbuffg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"has_sse=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @has_sse()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @has_sse(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdw6dwus5.c'
source_filename = "/tmp/tmpdw6dwus5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"USAGE: ex17 <dbfile> <action> [action params]\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"There aren't that many records.\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Need an id to get\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Need id, name, email to set\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Need an id to delete\00", align 1
@.str.5 = private unnamed_addr constant [60 x i8] c"Invalid action, only: c=create, g=get, s=set, d=del, l=list\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 i8, align 1
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @die(ptr noundef @.str)
br label %14
14: ; preds = %12, %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %7, align 1
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %7, align 1
%25 = call ptr @Database_open(ptr noundef %23, i8 noundef signext %24)
store ptr %25, ptr %8, align 8
store i32 0, ptr %9, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 3
br i1 %27, label %28, label %33
28: ; preds = %14
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 3
%31 = load ptr, ptr %30, align 8
%32 = call i32 @atoi(ptr noundef %31)
store i32 %32, ptr %9, align 4
br label %33
33: ; preds = %28, %14
%34 = load i32, ptr %9, align 4
%35 = icmp sge i32 %34, 100
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @die(ptr noundef @.str.1)
br label %38
38: ; preds = %36, %33
%39 = load i8, ptr %7, align 1
%40 = sext i8 %39 to i32
switch i32 %40, label %86 [
i32 99, label %41
i32 103, label %46
i32 115, label %55
i32 100, label %72
i32 108, label %83
]
41: ; preds = %38
%42 = load ptr, ptr %8, align 8
%43 = call i32 @Database_create(ptr noundef %42)
%44 = load ptr, ptr %8, align 8
%45 = call i32 @Database_write(ptr noundef %44)
br label %88
46: ; preds = %38
%47 = load i32, ptr %4, align 4
%48 = icmp ne i32 %47, 4
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @die(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %46
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %9, align 4
%54 = call i32 @Database_get(ptr noundef %52, i32 noundef %53)
br label %88
55: ; preds = %38
%56 = load i32, ptr %4, align 4
%57 = icmp ne i32 %56, 6
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = call i32 @die(ptr noundef @.str.3)
br label %60
60: ; preds = %58, %55
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %9, align 4
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 4
%65 = load ptr, ptr %64, align 8
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 5
%68 = load ptr, ptr %67, align 8
%69 = call i32 @Database_set(ptr noundef %61, i32 noundef %62, ptr noundef %65, ptr noundef %68)
%70 = load ptr, ptr %8, align 8
%71 = call i32 @Database_write(ptr noundef %70)
br label %88
72: ; preds = %38
%73 = load i32, ptr %4, align 4
%74 = icmp ne i32 %73, 4
br i1 %74, label %75, label %77
75: ; preds = %72
%76 = call i32 @die(ptr noundef @.str.4)
br label %77
77: ; preds = %75, %72
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %9, align 4
%80 = call i32 @Database_delete(ptr noundef %78, i32 noundef %79)
%81 = load ptr, ptr %8, align 8
%82 = call i32 @Database_write(ptr noundef %81)
br label %88
83: ; preds = %38
%84 = load ptr, ptr %8, align 8
%85 = call i32 @Database_list(ptr noundef %84)
br label %88
86: ; preds = %38
%87 = call i32 @die(ptr noundef @.str.5)
br label %88
88: ; preds = %86, %83, %77, %60, %51, %41
%89 = load ptr, ptr %8, align 8
%90 = call i32 @Database_close(ptr noundef %89)
ret i32 0
}
declare i32 @die(ptr noundef) #1
declare ptr @Database_open(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @Database_create(ptr noundef) #1
declare i32 @Database_write(ptr noundef) #1
declare i32 @Database_get(ptr noundef, i32 noundef) #1
declare i32 @Database_set(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @Database_delete(ptr noundef, i32 noundef) #1
declare i32 @Database_list(ptr noundef) #1
declare i32 @Database_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdw6dwus5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"USAGE: ex17 <dbfile> <action> [action params]\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"There aren't that many records.\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Need an id to get\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Need id, name, email to set\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Need an id to delete\00", align 1
@.str.5 = private unnamed_addr constant [60 x i8] c"Invalid action, only: c=create, g=get, s=set, d=del, l=list\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 i8, align 1
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @die(ptr noundef @.str)
br label %14
14: ; preds = %12, %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %7, align 1
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %7, align 1
%25 = call ptr @Database_open(ptr noundef %23, i8 noundef signext %24)
store ptr %25, ptr %8, align 8
store i32 0, ptr %9, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 3
br i1 %27, label %28, label %33
28: ; preds = %14
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 3
%31 = load ptr, ptr %30, align 8
%32 = call i32 @atoi(ptr noundef %31)
store i32 %32, ptr %9, align 4
br label %33
33: ; preds = %28, %14
%34 = load i32, ptr %9, align 4
%35 = icmp sge i32 %34, 100
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @die(ptr noundef @.str.1)
br label %38
38: ; preds = %36, %33
%39 = load i8, ptr %7, align 1
%40 = sext i8 %39 to i32
switch i32 %40, label %86 [
i32 99, label %41
i32 103, label %46
i32 115, label %55
i32 100, label %72
i32 108, label %83
]
41: ; preds = %38
%42 = load ptr, ptr %8, align 8
%43 = call i32 @Database_create(ptr noundef %42)
%44 = load ptr, ptr %8, align 8
%45 = call i32 @Database_write(ptr noundef %44)
br label %88
46: ; preds = %38
%47 = load i32, ptr %4, align 4
%48 = icmp ne i32 %47, 4
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @die(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %46
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %9, align 4
%54 = call i32 @Database_get(ptr noundef %52, i32 noundef %53)
br label %88
55: ; preds = %38
%56 = load i32, ptr %4, align 4
%57 = icmp ne i32 %56, 6
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = call i32 @die(ptr noundef @.str.3)
br label %60
60: ; preds = %58, %55
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %9, align 4
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 4
%65 = load ptr, ptr %64, align 8
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 5
%68 = load ptr, ptr %67, align 8
%69 = call i32 @Database_set(ptr noundef %61, i32 noundef %62, ptr noundef %65, ptr noundef %68)
%70 = load ptr, ptr %8, align 8
%71 = call i32 @Database_write(ptr noundef %70)
br label %88
72: ; preds = %38
%73 = load i32, ptr %4, align 4
%74 = icmp ne i32 %73, 4
br i1 %74, label %75, label %77
75: ; preds = %72
%76 = call i32 @die(ptr noundef @.str.4)
br label %77
77: ; preds = %75, %72
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %9, align 4
%80 = call i32 @Database_delete(ptr noundef %78, i32 noundef %79)
%81 = load ptr, ptr %8, align 8
%82 = call i32 @Database_write(ptr noundef %81)
br label %88
83: ; preds = %38
%84 = load ptr, ptr %8, align 8
%85 = call i32 @Database_list(ptr noundef %84)
br label %88
86: ; preds = %38
%87 = call i32 @die(ptr noundef @.str.5)
br label %88
88: ; preds = %86, %83, %77, %60, %51, %41
%89 = load ptr, ptr %8, align 8
%90 = call i32 @Database_close(ptr noundef %89)
ret i32 0
}
declare i32 @die(ptr noundef) #1
declare ptr @Database_open(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @Database_create(ptr noundef) #1
declare i32 @Database_write(ptr noundef) #1
declare i32 @Database_get(ptr noundef, i32 noundef) #1
declare i32 @Database_set(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @Database_delete(ptr noundef, i32 noundef) #1
declare i32 @Database_list(ptr noundef) #1
declare i32 @Database_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5vrrn8zg.c'
source_filename = "/tmp/tmp5vrrn8zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ti_stddev(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca double, align 8
%18 = alloca double, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %10, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds double, ptr %22, i64 0
%24 = load double, ptr %23, align 8
%25 = fptosi double %24 to i32
store i32 %25, ptr %11, align 4
%26 = load ptr, ptr %9, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %12, align 8
%29 = load i32, ptr %11, align 4
%30 = sitofp i32 %29 to double
%31 = fdiv double 1.000000e+00, %30
store double %31, ptr %13, align 8
%32 = load i32, ptr %11, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %4
store i32 1, ptr %5, align 4
br label %181
35: ; preds = %4
%36 = load i32, ptr %6, align 4
%37 = load ptr, ptr %8, align 8
%38 = call i32 @ti_stddev_start(ptr noundef %37)
%39 = icmp sle i32 %36, %38
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 0, ptr %5, align 4
br label %181
41: ; preds = %35
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
store i32 0, ptr %16, align 4
br label %42
42: ; preds = %66, %41
%43 = load i32, ptr %16, align 4
%44 = load i32, ptr %11, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %69
46: ; preds = %42
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %16, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = load double, ptr %14, align 8
%53 = fadd double %52, %51
store double %53, ptr %14, align 8
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %16, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %10, align 8
%60 = load i32, ptr %16, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = load double, ptr %15, align 8
%65 = call double @llvm.fmuladd.f64(double %58, double %63, double %64)
store double %65, ptr %15, align 8
br label %66
66: ; preds = %46
%67 = load i32, ptr %16, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %16, align 4
br label %42, !llvm.loop !6
69: ; preds = %42
%70 = load double, ptr %15, align 8
%71 = load double, ptr %13, align 8
%72 = load double, ptr %14, align 8
%73 = load double, ptr %13, align 8
%74 = fmul double %72, %73
%75 = load double, ptr %14, align 8
%76 = load double, ptr %13, align 8
%77 = fmul double %75, %76
%78 = fmul double %74, %77
%79 = fneg double %78
%80 = call double @llvm.fmuladd.f64(double %70, double %71, double %79)
store double %80, ptr %17, align 8
%81 = load double, ptr %17, align 8
%82 = fcmp ogt double %81, 0.000000e+00
br i1 %82, label %83, label %86
83: ; preds = %69
%84 = load double, ptr %17, align 8
%85 = call double @sqrt(double noundef %84) #4
store double %85, ptr %17, align 8
br label %86
86: ; preds = %83, %69
%87 = load double, ptr %17, align 8
%88 = load ptr, ptr %12, align 8
%89 = getelementptr inbounds double, ptr %88, i32 1
store ptr %89, ptr %12, align 8
store double %87, ptr %88, align 8
%90 = load i32, ptr %11, align 4
store i32 %90, ptr %16, align 4
br label %91
91: ; preds = %161, %86
%92 = load i32, ptr %16, align 4
%93 = load i32, ptr %6, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %164
95: ; preds = %91
%96 = load ptr, ptr %10, align 8
%97 = load i32, ptr %16, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %96, i64 %98
%100 = load double, ptr %99, align 8
%101 = load double, ptr %14, align 8
%102 = fadd double %101, %100
store double %102, ptr %14, align 8
%103 = load ptr, ptr %10, align 8
%104 = load i32, ptr %16, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
%108 = load ptr, ptr %10, align 8
%109 = load i32, ptr %16, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
%112 = load double, ptr %111, align 8
%113 = load double, ptr %15, align 8
%114 = call double @llvm.fmuladd.f64(double %107, double %112, double %113)
store double %114, ptr %15, align 8
%115 = load ptr, ptr %10, align 8
%116 = load i32, ptr %16, align 4
%117 = load i32, ptr %11, align 4
%118 = sub nsw i32 %116, %117
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %115, i64 %119
%121 = load double, ptr %120, align 8
%122 = load double, ptr %14, align 8
%123 = fsub double %122, %121
store double %123, ptr %14, align 8
%124 = load ptr, ptr %10, align 8
%125 = load i32, ptr %16, align 4
%126 = load i32, ptr %11, align 4
%127 = sub nsw i32 %125, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %124, i64 %128
%130 = load double, ptr %129, align 8
%131 = load ptr, ptr %10, align 8
%132 = load i32, ptr %16, align 4
%133 = load i32, ptr %11, align 4
%134 = sub nsw i32 %132, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %131, i64 %135
%137 = load double, ptr %136, align 8
%138 = load double, ptr %15, align 8
%139 = fneg double %130
%140 = call double @llvm.fmuladd.f64(double %139, double %137, double %138)
store double %140, ptr %15, align 8
%141 = load double, ptr %15, align 8
%142 = load double, ptr %13, align 8
%143 = load double, ptr %14, align 8
%144 = load double, ptr %13, align 8
%145 = fmul double %143, %144
%146 = load double, ptr %14, align 8
%147 = load double, ptr %13, align 8
%148 = fmul double %146, %147
%149 = fmul double %145, %148
%150 = fneg double %149
%151 = call double @llvm.fmuladd.f64(double %141, double %142, double %150)
store double %151, ptr %18, align 8
%152 = load double, ptr %18, align 8
%153 = fcmp ogt double %152, 0.000000e+00
br i1 %153, label %154, label %157
154: ; preds = %95
%155 = load double, ptr %18, align 8
%156 = call double @sqrt(double noundef %155) #4
store double %156, ptr %18, align 8
br label %157
157: ; preds = %154, %95
%158 = load double, ptr %18, align 8
%159 = load ptr, ptr %12, align 8
%160 = getelementptr inbounds double, ptr %159, i32 1
store ptr %160, ptr %12, align 8
store double %158, ptr %159, align 8
br label %161
161: ; preds = %157
%162 = load i32, ptr %16, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %16, align 4
br label %91, !llvm.loop !8
164: ; preds = %91
%165 = load ptr, ptr %12, align 8
%166 = load ptr, ptr %9, align 8
%167 = getelementptr inbounds ptr, ptr %166, i64 0
%168 = load ptr, ptr %167, align 8
%169 = ptrtoint ptr %165 to i64
%170 = ptrtoint ptr %168 to i64
%171 = sub i64 %169, %170
%172 = sdiv exact i64 %171, 8
%173 = load i32, ptr %6, align 4
%174 = load ptr, ptr %8, align 8
%175 = call i32 @ti_stddev_start(ptr noundef %174)
%176 = sub nsw i32 %173, %175
%177 = sext i32 %176 to i64
%178 = icmp eq i64 %172, %177
%179 = zext i1 %178 to i32
%180 = call i32 @assert(i32 noundef %179)
store i32 0, ptr %5, align 4
br label %181
181: ; preds = %164, %40, %34
%182 = load i32, ptr %5, align 4
ret i32 %182
}
declare i32 @ti_stddev_start(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5vrrn8zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ti_stddev(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca double, align 8
%18 = alloca double, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %10, align 8
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds double, ptr %22, i64 0
%24 = load double, ptr %23, align 8
%25 = fptosi double %24 to i32
store i32 %25, ptr %11, align 4
%26 = load ptr, ptr %9, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %12, align 8
%29 = load i32, ptr %11, align 4
%30 = sitofp i32 %29 to double
%31 = fdiv double 1.000000e+00, %30
store double %31, ptr %13, align 8
%32 = load i32, ptr %11, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %4
store i32 1, ptr %5, align 4
br label %185
35: ; preds = %4
%36 = load i32, ptr %6, align 4
%37 = load ptr, ptr %8, align 8
%38 = call i32 @ti_stddev_start(ptr noundef %37)
%39 = icmp sle i32 %36, %38
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 0, ptr %5, align 4
br label %185
41: ; preds = %35
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
store i32 0, ptr %16, align 4
%42 = load i32, ptr %16, align 4
%43 = load i32, ptr %11, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph, label %71
.lr.ph: ; preds = %41
br label %45
45: ; preds = %.lr.ph, %65
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %16, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = load double, ptr %14, align 8
%52 = fadd double %51, %50
store double %52, ptr %14, align 8
%53 = load ptr, ptr %10, align 8
%54 = load i32, ptr %16, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %53, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %16, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = load double, ptr %15, align 8
%64 = call double @llvm.fmuladd.f64(double %57, double %62, double %63)
store double %64, ptr %15, align 8
br label %65
65: ; preds = %45
%66 = load i32, ptr %16, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %16, align 4
%68 = load i32, ptr %16, align 4
%69 = load i32, ptr %11, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %41
%72 = load double, ptr %15, align 8
%73 = load double, ptr %13, align 8
%74 = load double, ptr %14, align 8
%75 = load double, ptr %13, align 8
%76 = fmul double %74, %75
%77 = load double, ptr %14, align 8
%78 = load double, ptr %13, align 8
%79 = fmul double %77, %78
%80 = fmul double %76, %79
%81 = fneg double %80
%82 = call double @llvm.fmuladd.f64(double %72, double %73, double %81)
store double %82, ptr %17, align 8
%83 = load double, ptr %17, align 8
%84 = fcmp ogt double %83, 0.000000e+00
br i1 %84, label %85, label %88
85: ; preds = %71
%86 = load double, ptr %17, align 8
%87 = call double @sqrt(double noundef %86) #4
store double %87, ptr %17, align 8
br label %88
88: ; preds = %85, %71
%89 = load double, ptr %17, align 8
%90 = load ptr, ptr %12, align 8
%91 = getelementptr inbounds double, ptr %90, i32 1
store ptr %91, ptr %12, align 8
store double %89, ptr %90, align 8
%92 = load i32, ptr %11, align 4
store i32 %92, ptr %16, align 4
%93 = load i32, ptr %16, align 4
%94 = load i32, ptr %6, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %.lr.ph2, label %168
.lr.ph2: ; preds = %88
br label %96
96: ; preds = %.lr.ph2, %162
%97 = load ptr, ptr %10, align 8
%98 = load i32, ptr %16, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %97, i64 %99
%101 = load double, ptr %100, align 8
%102 = load double, ptr %14, align 8
%103 = fadd double %102, %101
store double %103, ptr %14, align 8
%104 = load ptr, ptr %10, align 8
%105 = load i32, ptr %16, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
%108 = load double, ptr %107, align 8
%109 = load ptr, ptr %10, align 8
%110 = load i32, ptr %16, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load double, ptr %112, align 8
%114 = load double, ptr %15, align 8
%115 = call double @llvm.fmuladd.f64(double %108, double %113, double %114)
store double %115, ptr %15, align 8
%116 = load ptr, ptr %10, align 8
%117 = load i32, ptr %16, align 4
%118 = load i32, ptr %11, align 4
%119 = sub nsw i32 %117, %118
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %116, i64 %120
%122 = load double, ptr %121, align 8
%123 = load double, ptr %14, align 8
%124 = fsub double %123, %122
store double %124, ptr %14, align 8
%125 = load ptr, ptr %10, align 8
%126 = load i32, ptr %16, align 4
%127 = load i32, ptr %11, align 4
%128 = sub nsw i32 %126, %127
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %125, i64 %129
%131 = load double, ptr %130, align 8
%132 = load ptr, ptr %10, align 8
%133 = load i32, ptr %16, align 4
%134 = load i32, ptr %11, align 4
%135 = sub nsw i32 %133, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %132, i64 %136
%138 = load double, ptr %137, align 8
%139 = load double, ptr %15, align 8
%140 = fneg double %131
%141 = call double @llvm.fmuladd.f64(double %140, double %138, double %139)
store double %141, ptr %15, align 8
%142 = load double, ptr %15, align 8
%143 = load double, ptr %13, align 8
%144 = load double, ptr %14, align 8
%145 = load double, ptr %13, align 8
%146 = fmul double %144, %145
%147 = load double, ptr %14, align 8
%148 = load double, ptr %13, align 8
%149 = fmul double %147, %148
%150 = fmul double %146, %149
%151 = fneg double %150
%152 = call double @llvm.fmuladd.f64(double %142, double %143, double %151)
store double %152, ptr %18, align 8
%153 = load double, ptr %18, align 8
%154 = fcmp ogt double %153, 0.000000e+00
br i1 %154, label %155, label %158
155: ; preds = %96
%156 = load double, ptr %18, align 8
%157 = call double @sqrt(double noundef %156) #4
store double %157, ptr %18, align 8
br label %158
158: ; preds = %155, %96
%159 = load double, ptr %18, align 8
%160 = load ptr, ptr %12, align 8
%161 = getelementptr inbounds double, ptr %160, i32 1
store ptr %161, ptr %12, align 8
store double %159, ptr %160, align 8
br label %162
162: ; preds = %158
%163 = load i32, ptr %16, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %16, align 4
%165 = load i32, ptr %16, align 4
%166 = load i32, ptr %6, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %96, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %162
br label %168
168: ; preds = %._crit_edge3, %88
%169 = load ptr, ptr %12, align 8
%170 = load ptr, ptr %9, align 8
%171 = getelementptr inbounds ptr, ptr %170, i64 0
%172 = load ptr, ptr %171, align 8
%173 = ptrtoint ptr %169 to i64
%174 = ptrtoint ptr %172 to i64
%175 = sub i64 %173, %174
%176 = sdiv exact i64 %175, 8
%177 = load i32, ptr %6, align 4
%178 = load ptr, ptr %8, align 8
%179 = call i32 @ti_stddev_start(ptr noundef %178)
%180 = sub nsw i32 %177, %179
%181 = sext i32 %180 to i64
%182 = icmp eq i64 %176, %181
%183 = zext i1 %182 to i32
%184 = call i32 @assert(i32 noundef %183)
store i32 0, ptr %5, align 4
br label %185
185: ; preds = %168, %40, %34
%186 = load i32, ptr %5, align 4
ret i32 %186
}
declare i32 @ti_stddev_start(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxyts8h_z.c'
source_filename = "/tmp/tmpxyts8h_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BPF_MAP_TYPE_HASH = 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/tmpxyts8h_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BPF_MAP_TYPE_HASH = 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/tmp_btgllcx.c'
source_filename = "/tmp/tmp_btgllcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_btgllcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcah9frxf.c'
source_filename = "/tmp/tmpcah9frxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @pack754(x86_fp80 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca x86_fp80, align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca x86_fp80, align 16
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
store x86_fp80 %0, ptr %5, align 16
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = sub i32 %14, %15
%17 = sub i32 %16, 1
store i32 %17, ptr %13, align 4
%18 = load x86_fp80, ptr %5, align 16
%19 = fcmp oeq x86_fp80 %18, 0xK00000000000000000000
br i1 %19, label %20, label %21
20: ; preds = %3
store i64 0, ptr %4, align 8
br label %81
21: ; preds = %3
%22 = load x86_fp80, ptr %5, align 16
%23 = fcmp olt x86_fp80 %22, 0xK00000000000000000000
br i1 %23, label %24, label %27
24: ; preds = %21
store i64 1, ptr %10, align 8
%25 = load x86_fp80, ptr %5, align 16
%26 = fneg x86_fp80 %25
store x86_fp80 %26, ptr %8, align 16
br label %29
27: ; preds = %21
store i64 0, ptr %10, align 8
%28 = load x86_fp80, ptr %5, align 16
store x86_fp80 %28, ptr %8, align 16
br label %29
29: ; preds = %27, %24
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %33, %29
%31 = load x86_fp80, ptr %8, align 16
%32 = fcmp oge x86_fp80 %31, 0xK40008000000000000000
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load x86_fp80, ptr %8, align 16
%35 = fdiv x86_fp80 %34, 0xK40008000000000000000
store x86_fp80 %35, ptr %8, align 16
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %30, !llvm.loop !6
38: ; preds = %30
br label %39
39: ; preds = %42, %38
%40 = load x86_fp80, ptr %8, align 16
%41 = fcmp olt x86_fp80 %40, 0xK3FFF8000000000000000
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load x86_fp80, ptr %8, align 16
%44 = fmul x86_fp80 %43, 0xK40008000000000000000
store x86_fp80 %44, ptr %8, align 16
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %9, align 4
br label %39, !llvm.loop !8
47: ; preds = %39
%48 = load x86_fp80, ptr %8, align 16
%49 = fsub x86_fp80 %48, 0xK3FFF8000000000000000
store x86_fp80 %49, ptr %8, align 16
%50 = load x86_fp80, ptr %8, align 16
%51 = load i32, ptr %13, align 4
%52 = zext i32 %51 to i64
%53 = shl i64 1, %52
%54 = sitofp i64 %53 to float
%55 = fadd float %54, 5.000000e-01
%56 = fpext float %55 to x86_fp80
%57 = fmul x86_fp80 %50, %56
%58 = fptosi x86_fp80 %57 to i64
store i64 %58, ptr %12, align 8
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %7, align 4
%61 = sub i32 %60, 1
%62 = shl i32 1, %61
%63 = sub nsw i32 %62, 1
%64 = add nsw i32 %59, %63
%65 = sext i32 %64 to i64
store i64 %65, ptr %11, align 8
%66 = load i64, ptr %10, align 8
%67 = load i32, ptr %6, align 4
%68 = sub i32 %67, 1
%69 = zext i32 %68 to i64
%70 = shl i64 %66, %69
%71 = load i64, ptr %11, align 8
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %7, align 4
%74 = sub i32 %72, %73
%75 = sub i32 %74, 1
%76 = zext i32 %75 to i64
%77 = shl i64 %71, %76
%78 = or i64 %70, %77
%79 = load i64, ptr %12, align 8
%80 = or i64 %78, %79
store i64 %80, ptr %4, align 8
br label %81
81: ; preds = %47, %20
%82 = load i64, ptr %4, align 8
ret i64 %82
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcah9frxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @pack754(x86_fp80 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca x86_fp80, align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca x86_fp80, align 16
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
store x86_fp80 %0, ptr %5, align 16
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = sub i32 %14, %15
%17 = sub i32 %16, 1
store i32 %17, ptr %13, align 4
%18 = load x86_fp80, ptr %5, align 16
%19 = fcmp oeq x86_fp80 %18, 0xK00000000000000000000
br i1 %19, label %20, label %21
20: ; preds = %3
store i64 0, ptr %4, align 8
br label %83
21: ; preds = %3
%22 = load x86_fp80, ptr %5, align 16
%23 = fcmp olt x86_fp80 %22, 0xK00000000000000000000
br i1 %23, label %24, label %27
24: ; preds = %21
store i64 1, ptr %10, align 8
%25 = load x86_fp80, ptr %5, align 16
%26 = fneg x86_fp80 %25
store x86_fp80 %26, ptr %8, align 16
br label %29
27: ; preds = %21
store i64 0, ptr %10, align 8
%28 = load x86_fp80, ptr %5, align 16
store x86_fp80 %28, ptr %8, align 16
br label %29
29: ; preds = %27, %24
store i32 0, ptr %9, align 4
%30 = load x86_fp80, ptr %8, align 16
%31 = fcmp oge x86_fp80 %30, 0xK40008000000000000000
br i1 %31, label %.lr.ph, label %39
.lr.ph: ; preds = %29
br label %32
32: ; preds = %.lr.ph, %32
%33 = load x86_fp80, ptr %8, align 16
%34 = fdiv x86_fp80 %33, 0xK40008000000000000000
store x86_fp80 %34, ptr %8, align 16
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load x86_fp80, ptr %8, align 16
%38 = fcmp oge x86_fp80 %37, 0xK40008000000000000000
br i1 %38, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %39
39: ; preds = %._crit_edge, %29
%40 = load x86_fp80, ptr %8, align 16
%41 = fcmp olt x86_fp80 %40, 0xK3FFF8000000000000000
br i1 %41, label %.lr.ph2, label %49
.lr.ph2: ; preds = %39
br label %42
42: ; preds = %.lr.ph2, %42
%43 = load x86_fp80, ptr %8, align 16
%44 = fmul x86_fp80 %43, 0xK40008000000000000000
store x86_fp80 %44, ptr %8, align 16
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %9, align 4
%47 = load x86_fp80, ptr %8, align 16
%48 = fcmp olt x86_fp80 %47, 0xK3FFF8000000000000000
br i1 %48, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %49
49: ; preds = %._crit_edge3, %39
%50 = load x86_fp80, ptr %8, align 16
%51 = fsub x86_fp80 %50, 0xK3FFF8000000000000000
store x86_fp80 %51, ptr %8, align 16
%52 = load x86_fp80, ptr %8, align 16
%53 = load i32, ptr %13, align 4
%54 = zext i32 %53 to i64
%55 = shl i64 1, %54
%56 = sitofp i64 %55 to float
%57 = fadd float %56, 5.000000e-01
%58 = fpext float %57 to x86_fp80
%59 = fmul x86_fp80 %52, %58
%60 = fptosi x86_fp80 %59 to i64
store i64 %60, ptr %12, align 8
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %7, align 4
%63 = sub i32 %62, 1
%64 = shl i32 1, %63
%65 = sub nsw i32 %64, 1
%66 = add nsw i32 %61, %65
%67 = sext i32 %66 to i64
store i64 %67, ptr %11, align 8
%68 = load i64, ptr %10, align 8
%69 = load i32, ptr %6, align 4
%70 = sub i32 %69, 1
%71 = zext i32 %70 to i64
%72 = shl i64 %68, %71
%73 = load i64, ptr %11, align 8
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %7, align 4
%76 = sub i32 %74, %75
%77 = sub i32 %76, 1
%78 = zext i32 %77 to i64
%79 = shl i64 %73, %78
%80 = or i64 %72, %79
%81 = load i64, ptr %12, align 8
%82 = or i64 %80, %81
store i64 %82, ptr %4, align 8
br label %83
83: ; preds = %49, %20
%84 = load i64, ptr %4, align 8
ret i64 %84
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt6zqqi8v.c'
source_filename = "/tmp/tmpt6zqqi8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PANIC(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 @perror(ptr noundef %3)
%5 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt6zqqi8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PANIC(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 @perror(ptr noundef %3)
%5 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1gls43nq.c'
source_filename = "/tmp/tmp1gls43nq.c"
target datalayout = "e-m:e-p270: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 { i64, i64 } @iun_dt(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = alloca %struct.timespec, align 8
%6 = alloca %struct.timespec, align 8
%7 = alloca %struct.timespec, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
store i64 %0, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
store i64 %1, ptr %9, align 8
%10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0
store i64 %2, ptr %10, align 8
%11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1
store i64 %3, ptr %11, align 8
%12 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%13 = load i64, ptr %12, align 8
%14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = sub nsw i64 %13, %15
%17 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
store i64 %16, ptr %17, align 8
%18 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%19 = load i64, ptr %18, align 8
%20 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = sub nsw i64 %19, %21
%23 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
store i64 %22, ptr %23, align 8
%24 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %4
%28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%29 = load i64, ptr %28, align 8
%30 = add nsw i64 %29, 1000000000
store i64 %30, ptr %28, align 8
%31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = sub nsw i64 %32, 1
store i64 %33, ptr %31, align 8
br label %34
34: ; preds = %27, %4
%35 = load { i64, i64 }, ptr %5, align 8
ret { i64, i64 } %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1gls43nq.c"
target datalayout = "e-m:e-p270: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 { i64, i64 } @iun_dt(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = alloca %struct.timespec, align 8
%6 = alloca %struct.timespec, align 8
%7 = alloca %struct.timespec, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
store i64 %0, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
store i64 %1, ptr %9, align 8
%10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0
store i64 %2, ptr %10, align 8
%11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1
store i64 %3, ptr %11, align 8
%12 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%13 = load i64, ptr %12, align 8
%14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = sub nsw i64 %13, %15
%17 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
store i64 %16, ptr %17, align 8
%18 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%19 = load i64, ptr %18, align 8
%20 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = sub nsw i64 %19, %21
%23 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
store i64 %22, ptr %23, align 8
%24 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %4
%28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%29 = load i64, ptr %28, align 8
%30 = add nsw i64 %29, 1000000000
store i64 %30, ptr %28, align 8
%31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%32 = load i64, ptr %31, align 8
%33 = sub nsw i64 %32, 1
store i64 %33, ptr %31, align 8
br label %34
34: ; preds = %27, %4
%35 = load { i64, i64 }, ptr %5, align 8
ret { i64, i64 } %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplb11c_un.c'
source_filename = "/tmp/tmplb11c_un.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@exp.p0 = internal global float 0x413FBE8060000000, align 4
@exp.p1 = internal global float 0x40DD93BE40000000, align 4
@exp.p2 = internal global float 0x404E4EB380000000, align 4
@exp.q0 = internal global float 0x4156E60820000000, align 4
@exp.q1 = internal global float 0x411400B4A0000000, align 4
@exp.q2 = internal global float 0x409B5526A0000000, align 4
@exp.log2e = internal global float 0x3FF7154760000000, align 4
@exp.sqrt2 = internal global float 0x3FF6A09E60000000, align 4
@exp.maxf = internal global float 1.000000e+04, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @exp(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
store float %0, ptr %3, align 4
%9 = load float, ptr %3, align 4
%10 = fpext float %9 to double
%11 = fcmp oeq double %10, 0.000000e+00
br i1 %11, label %12, label %13
12: ; preds = %1
store float 1.000000e+00, ptr %2, align 4
br label %76
13: ; preds = %1
%14 = load float, ptr %3, align 4
%15 = load float, ptr @exp.maxf, align 4
%16 = fneg float %15
%17 = fcmp olt float %14, %16
br i1 %17, label %18, label %19
18: ; preds = %13
store float 0.000000e+00, ptr %2, align 4
br label %76
19: ; preds = %13
%20 = load float, ptr %3, align 4
%21 = load float, ptr @exp.maxf, align 4
%22 = fcmp ogt float %20, %21
br i1 %22, label %23, label %24
23: ; preds = %19
store float 0x7FF0000000000000, ptr %2, align 4
br label %76
24: ; preds = %19
%25 = load float, ptr @exp.log2e, align 4
%26 = load float, ptr %3, align 4
%27 = fmul float %26, %25
store float %27, ptr %3, align 4
%28 = load float, ptr %3, align 4
%29 = call i32 @floor(float noundef %28)
store i32 %29, ptr %8, align 4
%30 = load float, ptr %3, align 4
%31 = load i32, ptr %8, align 4
%32 = sitofp i32 %31 to float
%33 = fsub float %30, %32
%34 = fpext float %33 to double
%35 = fsub double %34, 5.000000e-01
%36 = fptrunc double %35 to float
store float %36, ptr %4, align 4
%37 = load float, ptr %4, align 4
%38 = load float, ptr %4, align 4
%39 = fmul float %37, %38
store float %39, ptr %7, align 4
%40 = load float, ptr @exp.p2, align 4
%41 = load float, ptr %7, align 4
%42 = load float, ptr @exp.p1, align 4
%43 = call float @llvm.fmuladd.f32(float %40, float %41, float %42)
%44 = load float, ptr %7, align 4
%45 = load float, ptr @exp.p0, align 4
%46 = call float @llvm.fmuladd.f32(float %43, float %44, float %45)
%47 = load float, ptr %4, align 4
%48 = fmul float %46, %47
store float %48, ptr %5, align 4
%49 = load float, ptr %7, align 4
%50 = fpext float %49 to double
%51 = load float, ptr @exp.q2, align 4
%52 = fpext float %51 to double
%53 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %50, double %52)
%54 = load float, ptr %7, align 4
%55 = fpext float %54 to double
%56 = load float, ptr @exp.q1, align 4
%57 = fpext float %56 to double
%58 = call double @llvm.fmuladd.f64(double %53, double %55, double %57)
%59 = load float, ptr %7, align 4
%60 = fpext float %59 to double
%61 = load float, ptr @exp.q0, align 4
%62 = fpext float %61 to double
%63 = call double @llvm.fmuladd.f64(double %58, double %60, double %62)
%64 = fptrunc double %63 to float
store float %64, ptr %6, align 4
%65 = load float, ptr @exp.sqrt2, align 4
%66 = load float, ptr %6, align 4
%67 = load float, ptr %5, align 4
%68 = fadd float %66, %67
%69 = fmul float %65, %68
%70 = load float, ptr %6, align 4
%71 = load float, ptr %5, align 4
%72 = fsub float %70, %71
%73 = fdiv float %69, %72
%74 = load i32, ptr %8, align 4
%75 = call float @ldexp(float noundef %73, i32 noundef %74)
store float %75, ptr %2, align 4
br label %76
76: ; preds = %24, %23, %18, %12
%77 = load float, ptr %2, align 4
ret float %77
}
declare i32 @floor(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare float @ldexp(float noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplb11c_un.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@exp.p0 = internal global float 0x413FBE8060000000, align 4
@exp.p1 = internal global float 0x40DD93BE40000000, align 4
@exp.p2 = internal global float 0x404E4EB380000000, align 4
@exp.q0 = internal global float 0x4156E60820000000, align 4
@exp.q1 = internal global float 0x411400B4A0000000, align 4
@exp.q2 = internal global float 0x409B5526A0000000, align 4
@exp.log2e = internal global float 0x3FF7154760000000, align 4
@exp.sqrt2 = internal global float 0x3FF6A09E60000000, align 4
@exp.maxf = internal global float 1.000000e+04, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @exp(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
store float %0, ptr %3, align 4
%9 = load float, ptr %3, align 4
%10 = fpext float %9 to double
%11 = fcmp oeq double %10, 0.000000e+00
br i1 %11, label %12, label %13
12: ; preds = %1
store float 1.000000e+00, ptr %2, align 4
br label %76
13: ; preds = %1
%14 = load float, ptr %3, align 4
%15 = load float, ptr @exp.maxf, align 4
%16 = fneg float %15
%17 = fcmp olt float %14, %16
br i1 %17, label %18, label %19
18: ; preds = %13
store float 0.000000e+00, ptr %2, align 4
br label %76
19: ; preds = %13
%20 = load float, ptr %3, align 4
%21 = load float, ptr @exp.maxf, align 4
%22 = fcmp ogt float %20, %21
br i1 %22, label %23, label %24
23: ; preds = %19
store float 0x7FF0000000000000, ptr %2, align 4
br label %76
24: ; preds = %19
%25 = load float, ptr @exp.log2e, align 4
%26 = load float, ptr %3, align 4
%27 = fmul float %26, %25
store float %27, ptr %3, align 4
%28 = load float, ptr %3, align 4
%29 = call i32 @floor(float noundef %28)
store i32 %29, ptr %8, align 4
%30 = load float, ptr %3, align 4
%31 = load i32, ptr %8, align 4
%32 = sitofp i32 %31 to float
%33 = fsub float %30, %32
%34 = fpext float %33 to double
%35 = fsub double %34, 5.000000e-01
%36 = fptrunc double %35 to float
store float %36, ptr %4, align 4
%37 = load float, ptr %4, align 4
%38 = load float, ptr %4, align 4
%39 = fmul float %37, %38
store float %39, ptr %7, align 4
%40 = load float, ptr @exp.p2, align 4
%41 = load float, ptr %7, align 4
%42 = load float, ptr @exp.p1, align 4
%43 = call float @llvm.fmuladd.f32(float %40, float %41, float %42)
%44 = load float, ptr %7, align 4
%45 = load float, ptr @exp.p0, align 4
%46 = call float @llvm.fmuladd.f32(float %43, float %44, float %45)
%47 = load float, ptr %4, align 4
%48 = fmul float %46, %47
store float %48, ptr %5, align 4
%49 = load float, ptr %7, align 4
%50 = fpext float %49 to double
%51 = load float, ptr @exp.q2, align 4
%52 = fpext float %51 to double
%53 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %50, double %52)
%54 = load float, ptr %7, align 4
%55 = fpext float %54 to double
%56 = load float, ptr @exp.q1, align 4
%57 = fpext float %56 to double
%58 = call double @llvm.fmuladd.f64(double %53, double %55, double %57)
%59 = load float, ptr %7, align 4
%60 = fpext float %59 to double
%61 = load float, ptr @exp.q0, align 4
%62 = fpext float %61 to double
%63 = call double @llvm.fmuladd.f64(double %58, double %60, double %62)
%64 = fptrunc double %63 to float
store float %64, ptr %6, align 4
%65 = load float, ptr @exp.sqrt2, align 4
%66 = load float, ptr %6, align 4
%67 = load float, ptr %5, align 4
%68 = fadd float %66, %67
%69 = fmul float %65, %68
%70 = load float, ptr %6, align 4
%71 = load float, ptr %5, align 4
%72 = fsub float %70, %71
%73 = fdiv float %69, %72
%74 = load i32, ptr %8, align 4
%75 = call float @ldexp(float noundef %73, i32 noundef %74)
store float %75, ptr %2, align 4
br label %76
76: ; preds = %24, %23, %18, %12
%77 = load float, ptr %2, align 4
ret float %77
}
declare i32 @floor(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare float @ldexp(float noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppjlt5cm0.c'
source_filename = "/tmp/tmppjlt5cm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtbst_insert(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @rtbst_probe(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %16, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %13, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %2
br label %20
17: ; preds = %11
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
br label %20
20: ; preds = %17, %16
%21 = phi ptr [ null, %16 ], [ %19, %17 ]
ret ptr %21
}
declare ptr @rtbst_probe(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/tmppjlt5cm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtbst_insert(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @rtbst_probe(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %16, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %13, %14
br i1 %15, label %16, label %17
16: ; preds = %11, %2
br label %20
17: ; preds = %11
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
br label %20
20: ; preds = %17, %16
%21 = phi ptr [ null, %16 ], [ %19, %17 ]
ret ptr %21
}
declare ptr @rtbst_probe(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/tmpb0hh08mr.c'
source_filename = "/tmp/tmpb0hh08mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: printflag <descriptor#>\0A\00", align 1
@F_GETFL = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"fcntl error for fd %d\0A\00", align 1
@O_ACCMODE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"read only\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"write only\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"read write\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"unknown access mode\0A\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c", append\00", align 1
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [14 x i8] c", nonblocking\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
%17 = load i32, ptr @F_GETFL, align 4
%18 = call i32 @fcntl(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %6, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %12
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, i32 noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %12
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr @O_ACCMODE, align 4
%31 = and i32 %29, %30
switch i32 %31, label %38 [
i32 130, label %32
i32 128, label %34
i32 129, label %36
]
32: ; preds = %28
%33 = call i32 @printf(ptr noundef @.str.2)
br label %42
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.3)
br label %42
36: ; preds = %28
%37 = call i32 @printf(ptr noundef @.str.4)
br label %42
38: ; preds = %28
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.5)
%41 = call i32 (...) @abort() #3
unreachable
42: ; preds = %36, %34, %32
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr @O_APPEND, align 4
%45 = and i32 %43, %44
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = call i32 @printf(ptr noundef @.str.6)
br label %49
49: ; preds = %47, %42
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @O_NONBLOCK, align 4
%52 = and i32 %50, %51
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.7)
br label %56
56: ; preds = %54, %49
%57 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpb0hh08mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: printflag <descriptor#>\0A\00", align 1
@F_GETFL = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"fcntl error for fd %d\0A\00", align 1
@O_ACCMODE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"read only\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"write only\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"read write\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"unknown access mode\0A\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [9 x i8] c", append\00", align 1
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [14 x i8] c", nonblocking\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
%17 = load i32, ptr @F_GETFL, align 4
%18 = call i32 @fcntl(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %6, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %12
%21 = load i32, ptr @stderr, align 4
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, i32 noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %12
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr @O_ACCMODE, align 4
%31 = and i32 %29, %30
switch i32 %31, label %38 [
i32 130, label %32
i32 128, label %34
i32 129, label %36
]
32: ; preds = %28
%33 = call i32 @printf(ptr noundef @.str.2)
br label %42
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.3)
br label %42
36: ; preds = %28
%37 = call i32 @printf(ptr noundef @.str.4)
br label %42
38: ; preds = %28
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.5)
%41 = call i32 (...) @abort() #3
unreachable
42: ; preds = %36, %34, %32
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr @O_APPEND, align 4
%45 = and i32 %43, %44
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = call i32 @printf(ptr noundef @.str.6)
br label %49
49: ; preds = %47, %42
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @O_NONBLOCK, align 4
%52 = and i32 %50, %51
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.7)
br label %56
56: ; preds = %54, %49
%57 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp_wj8264c.c'
source_filename = "/tmp/tmp_wj8264c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_wj8264c.c"
target datalayout = "e-m:e-p270: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/tmpdx_sfluq.c'
source_filename = "/tmp/tmpdx_sfluq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @A7HTTP_ShowSerialData() #0 {
%1 = call ptr (...) @A7_command_read_string()
%2 = call i32 @printf(ptr noundef %1)
%3 = call ptr (...) @A7_command_read_string()
%4 = call i32 @printf(ptr noundef %3)
%5 = call ptr (...) @A7_command_read_string()
%6 = call i32 @printf(ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef) #1
declare ptr @A7_command_read_string(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdx_sfluq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @A7HTTP_ShowSerialData() #0 {
%1 = call ptr (...) @A7_command_read_string()
%2 = call i32 @printf(ptr noundef %1)
%3 = call ptr (...) @A7_command_read_string()
%4 = call i32 @printf(ptr noundef %3)
%5 = call ptr (...) @A7_command_read_string()
%6 = call i32 @printf(ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef) #1
declare ptr @A7_command_read_string(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_863gpp.c'
source_filename = "/tmp/tmpz_863gpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateXWRotationMatrix4fDeg(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%5 = load float, ptr %4, align 4
%6 = call float @glmRadf(float noundef %5)
store float %6, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
store float 1.000000e+00, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds float, ptr %9, i64 4
store float 0.000000e+00, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds float, ptr %11, i64 8
store float 0.000000e+00, ptr %12, align 4
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds float, ptr %13, i64 12
store float 0.000000e+00, ptr %14, align 4
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds float, ptr %15, i64 1
store float 0.000000e+00, ptr %16, align 4
%17 = load float, ptr %4, align 4
%18 = call float @cos(float noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds float, ptr %19, i64 5
store float %18, ptr %20, align 4
%21 = load float, ptr %4, align 4
%22 = call float @sin(float noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds float, ptr %23, i64 9
store float %22, ptr %24, align 4
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds float, ptr %25, i64 13
store float 0.000000e+00, ptr %26, align 4
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds float, ptr %27, i64 2
store float 0.000000e+00, ptr %28, align 4
%29 = load float, ptr %4, align 4
%30 = call float @sin(float noundef %29)
%31 = fneg float %30
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds float, ptr %32, i64 6
store float %31, ptr %33, align 4
%34 = load float, ptr %4, align 4
%35 = call float @cos(float noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds float, ptr %36, i64 10
store float %35, ptr %37, align 4
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds float, ptr %38, i64 14
store float 0.000000e+00, ptr %39, align 4
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds float, ptr %40, i64 3
store float 0.000000e+00, ptr %41, align 4
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds float, ptr %42, i64 7
store float 0.000000e+00, ptr %43, align 4
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds float, ptr %44, i64 11
store float 0.000000e+00, ptr %45, align 4
%46 = load ptr, ptr %3, align 8
%47 = getelementptr inbounds float, ptr %46, i64 15
store float 1.000000e+00, ptr %47, align 4
ret void
}
declare float @glmRadf(float noundef) #1
declare float @cos(float noundef) #1
declare float @sin(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz_863gpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateXWRotationMatrix4fDeg(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%5 = load float, ptr %4, align 4
%6 = call float @glmRadf(float noundef %5)
store float %6, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
store float 1.000000e+00, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds float, ptr %9, i64 4
store float 0.000000e+00, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds float, ptr %11, i64 8
store float 0.000000e+00, ptr %12, align 4
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds float, ptr %13, i64 12
store float 0.000000e+00, ptr %14, align 4
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds float, ptr %15, i64 1
store float 0.000000e+00, ptr %16, align 4
%17 = load float, ptr %4, align 4
%18 = call float @cos(float noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds float, ptr %19, i64 5
store float %18, ptr %20, align 4
%21 = load float, ptr %4, align 4
%22 = call float @sin(float noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds float, ptr %23, i64 9
store float %22, ptr %24, align 4
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds float, ptr %25, i64 13
store float 0.000000e+00, ptr %26, align 4
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds float, ptr %27, i64 2
store float 0.000000e+00, ptr %28, align 4
%29 = load float, ptr %4, align 4
%30 = call float @sin(float noundef %29)
%31 = fneg float %30
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds float, ptr %32, i64 6
store float %31, ptr %33, align 4
%34 = load float, ptr %4, align 4
%35 = call float @cos(float noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds float, ptr %36, i64 10
store float %35, ptr %37, align 4
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds float, ptr %38, i64 14
store float 0.000000e+00, ptr %39, align 4
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds float, ptr %40, i64 3
store float 0.000000e+00, ptr %41, align 4
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds float, ptr %42, i64 7
store float 0.000000e+00, ptr %43, align 4
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds float, ptr %44, i64 11
store float 0.000000e+00, ptr %45, align 4
%46 = load ptr, ptr %3, align 8
%47 = getelementptr inbounds float, ptr %46, i64 15
store float 1.000000e+00, ptr %47, align 4
ret void
}
declare float @glmRadf(float noundef) #1
declare float @cos(float noundef) #1
declare float @sin(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi26kflae.c'
source_filename = "/tmp/tmpi26kflae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Delay1ms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %4
4: ; preds = %14, %1
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %17
7: ; preds = %4
store volatile i32 1598, ptr %3, align 4
br label %8
8: ; preds = %11, %7
%9 = load volatile i32, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load volatile i32, ptr %3, align 4
%13 = add nsw i32 %12, -1
store volatile i32 %13, ptr %3, align 4
br label %8, !llvm.loop !6
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
br label %4, !llvm.loop !8
17: ; preds = %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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi26kflae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Delay1ms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph2, label %19
.lr.ph2: ; preds = %1
br label %6
6: ; preds = %.lr.ph2, %14
store volatile i32 1598, ptr %3, align 4
%7 = load volatile i32, ptr %3, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %14
.lr.ph: ; preds = %6
br label %9
9: ; preds = %.lr.ph, %9
%10 = load volatile i32, ptr %3, align 4
%11 = add nsw i32 %10, -1
store volatile i32 %11, ptr %3, align 4
%12 = load volatile i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %6
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %6, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %14
br label %19
19: ; preds = %._crit_edge3, %1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpte3u2isv.c'
source_filename = "/tmp/tmpte3u2isv.c"
target datalayout = "e-m:e-p270: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/tmpte3u2isv.c"
target datalayout = "e-m:e-p270: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/tmpdr4_v0y5.c'
source_filename = "/tmp/tmpdr4_v0y5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_PAGESIZE = 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/tmpdr4_v0y5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_PAGESIZE = 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/tmpuwf6686_.c'
source_filename = "/tmp/tmpuwf6686_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO. %d , his name is %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%d not been found.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 9, ptr %8, align 4
store i32 0, ptr %10, align 4
store i32 1, ptr %11, align 4
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
%15 = load i32, ptr %14, align 4
%16 = icmp slt i32 %12, %15
br i1 %16, label %23, label %17
17: ; preds = %3
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 9
%21 = load i32, ptr %20, align 4
%22 = icmp sgt i32 %18, %21
br i1 %22, label %23, label %24
23: ; preds = %17, %3
store i32 -1, ptr %10, align 4
br label %24
24: ; preds = %23, %17
br label %25
25: ; preds = %70, %24
%26 = load i32, ptr %11, align 4
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sle i32 %29, %30
br label %32
32: ; preds = %28, %25
%33 = phi i1 [ false, %25 ], [ %31, %28 ]
br i1 %33, label %34, label %71
34: ; preds = %32
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %35, %36
%38 = sdiv i32 %37, 2
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %4, align 4
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp eq i32 %39, %44
br i1 %45, label %46, label %55
46: ; preds = %34
%47 = load i32, ptr %9, align 4
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %4, align 4
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [8 x i8], ptr %49, i64 %51
%53 = getelementptr inbounds [8 x i8], ptr %52, i64 0, i64 0
%54 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %48, ptr noundef %53)
store i32 -1, ptr %11, align 4
br label %70
55: ; preds = %34
%56 = load i32, ptr %4, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %56, %61
br i1 %62, label %63, label %66
63: ; preds = %55
%64 = load i32, ptr %9, align 4
%65 = sub nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %69
66: ; preds = %55
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
br label %69
69: ; preds = %66, %63
br label %70
70: ; preds = %69, %46
br label %25, !llvm.loop !6
71: ; preds = %32
%72 = load i32, ptr %11, align 4
%73 = icmp eq i32 %72, 1
br i1 %73, label %77, label %74
74: ; preds = %71
%75 = load i32, ptr %10, align 4
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %80
77: ; preds = %74, %71
%78 = load i32, ptr %4, align 4
%79 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %78)
br label %80
80: ; preds = %77, %74
ret void
}
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/tmpuwf6686_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO. %d , his name is %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%d not been found.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @search(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 9, ptr %8, align 4
store i32 0, ptr %10, align 4
store i32 1, ptr %11, align 4
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
%15 = load i32, ptr %14, align 4
%16 = icmp slt i32 %12, %15
br i1 %16, label %23, label %17
17: ; preds = %3
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 9
%21 = load i32, ptr %20, align 4
%22 = icmp sgt i32 %18, %21
br i1 %22, label %23, label %24
23: ; preds = %17, %3
store i32 -1, ptr %10, align 4
br label %24
24: ; preds = %23, %17
br label %25
25: ; preds = %70, %24
%26 = load i32, ptr %11, align 4
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sle i32 %29, %30
br label %32
32: ; preds = %28, %25
%33 = phi i1 [ false, %25 ], [ %31, %28 ]
br i1 %33, label %34, label %71
34: ; preds = %32
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %35, %36
%38 = sdiv i32 %37, 2
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %4, align 4
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp eq i32 %39, %44
br i1 %45, label %46, label %55
46: ; preds = %34
%47 = load i32, ptr %9, align 4
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %4, align 4
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [8 x i8], ptr %49, i64 %51
%53 = getelementptr inbounds [8 x i8], ptr %52, i64 0, i64 0
%54 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %48, ptr noundef %53)
store i32 -1, ptr %11, align 4
br label %70
55: ; preds = %34
%56 = load i32, ptr %4, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %56, %61
br i1 %62, label %63, label %66
63: ; preds = %55
%64 = load i32, ptr %9, align 4
%65 = sub nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %69
66: ; preds = %55
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
br label %69
69: ; preds = %66, %63
br label %70
70: ; preds = %69, %46
br label %25, !llvm.loop !6
71: ; preds = %32
%72 = load i32, ptr %11, align 4
%73 = icmp eq i32 %72, 1
br i1 %73, label %77, label %74
74: ; preds = %71
%75 = load i32, ptr %10, align 4
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %80
77: ; preds = %74, %71
%78 = load i32, ptr %4, align 4
%79 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %78)
br label %80
80: ; preds = %77, %74
ret void
}
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/tmp8q0ayk8i.c'
source_filename = "/tmp/tmp8q0ayk8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @foo(ptr noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8q0ayk8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 2
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %9
%7 = load ptr, ptr %2, align 8
%8 = call i32 @foo(ptr noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 2
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %1
ret void
}
declare i32 @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuulzhe0d.c'
source_filename = "/tmp/tmpuulzhe0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"\0AUsage: %s <ALGORITHM> <COMMANDS> <INPUT> <OUTPUT>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Algorithms:\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" -lz77 \09\09LZ77 Compression\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c" -huff \09\09Huffman Compression\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Commands:\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c" -c\09\09\09Compress/Encode input file to output file.\0A\00", align 1
@.str.6 = private unnamed_addr constant [55 x i8] c" -d \09 \09\09Decompress/Decode input file to output file.\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"Input/Output Files:\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c" -i <filename>\09\09Name of input file.\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c" -o <filename>\09\09Name of output file.\0A\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"Optional for LZ77 Compression:\0A\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c" -l <value> \09\09Lookahead size (default 15)\0A\00", align 1
@.str.12 = private unnamed_addr constant [53 x i8] c" -s <value> \09\09Search-buffer size (default 4095)\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
}
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/tmpuulzhe0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"\0AUsage: %s <ALGORITHM> <COMMANDS> <INPUT> <OUTPUT>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Algorithms:\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" -lz77 \09\09LZ77 Compression\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c" -huff \09\09Huffman Compression\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Commands:\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c" -c\09\09\09Compress/Encode input file to output file.\0A\00", align 1
@.str.6 = private unnamed_addr constant [55 x i8] c" -d \09 \09\09Decompress/Decode input file to output file.\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"Input/Output Files:\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c" -i <filename>\09\09Name of input file.\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c" -o <filename>\09\09Name of output file.\0A\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"Optional for LZ77 Compression:\0A\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c" -l <value> \09\09Lookahead size (default 15)\0A\00", align 1
@.str.12 = private unnamed_addr constant [53 x i8] c" -s <value> \09\09Search-buffer size (default 4095)\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
}
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/tmpuacmelx4.c'
source_filename = "/tmp/tmpuacmelx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @int_test()
%3 = call i32 (...) @string_test()
%4 = call i32 (...) @object_test()
%5 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @int_test(...) #1
declare i32 @string_test(...) #1
declare i32 @object_test(...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuacmelx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @int_test()
%3 = call i32 (...) @string_test()
%4 = call i32 (...) @object_test()
%5 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @int_test(...) #1
declare i32 @string_test(...) #1
declare i32 @object_test(...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3mpjjr5x.c'
source_filename = "/tmp/tmp3mpjjr5x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 100)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 -1, ptr %1, align 4
br label %16
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call ptr @realloc(ptr noundef %8, i32 noundef 200)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %7
store i32 -1, ptr %1, align 4
br label %16
13: ; preds = %7
%14 = load ptr, ptr %2, align 8
%15 = call i32 @free(ptr noundef %14)
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %13, %12, %6
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3mpjjr5x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 100)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %0
store i32 -1, ptr %1, align 4
br label %16
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call ptr @realloc(ptr noundef %8, i32 noundef 200)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %7
store i32 -1, ptr %1, align 4
br label %16
13: ; preds = %7
%14 = load ptr, ptr %2, align 8
%15 = call i32 @free(ptr noundef %14)
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %13, %12, %6
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(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"}
|
; ModuleID = '/tmp/tmpon2ayhhb.c'
source_filename = "/tmp/tmpon2ayhhb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"hello.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
@.str.2 = private unnamed_addr constant [131 x i8] c"pid = %5d, times = %4ld, a's addr = %p [(physical : 0x%lx) : 0x%lx\0Ap point's addr = %p q's addr = %p [(physical : 0x%lx) : 0x%lx]\0A\00", align 1
@.str.3 = private unnamed_addr constant [91 x i8] c"pid = %d, %ld, a's addr = %p [0x%lx : %ld], p point addr = %p q's addr = %p [0x%lx : %ld]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @test() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store volatile i64 1, ptr %1, align 8
store ptr null, ptr %2, align 8
%7 = call i64 @malloc(i32 noundef 8)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
store i64 1, ptr %9, align 8
%10 = load ptr, ptr %2, align 8
%11 = ptrtoint ptr %10 to i64
%12 = call i64 @mem_addr_vir2phy(i64 noundef %11)
store i64 %12, ptr %3, align 8
%13 = ptrtoint ptr %1 to i64
%14 = call i64 @mem_addr_vir2phy(i64 noundef %13)
store i64 %14, ptr %4, align 8
%15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %15, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %16
16: ; preds = %0, %16
%17 = call i32 (...) @getpid()
%18 = load i64, ptr %6, align 8
%19 = load i64, ptr %4, align 8
%20 = load volatile i64, ptr %1, align 8
%21 = load ptr, ptr %2, align 8
%22 = load i64, ptr %3, align 8
%23 = load ptr, ptr %2, align 8
%24 = load i64, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17, i64 noundef %18, ptr noundef %1, i64 noundef %19, i64 noundef %20, ptr noundef %2, ptr noundef %21, i64 noundef %22, i64 noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = call i32 (...) @getpid()
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %4, align 8
%30 = load volatile i64, ptr %1, align 8
%31 = load ptr, ptr %2, align 8
%32 = load i64, ptr %3, align 8
%33 = load ptr, ptr %2, align 8
%34 = load i64, ptr %33, align 8
%35 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.3, i32 noundef %27, i64 noundef %28, ptr noundef %1, i64 noundef %29, i64 noundef %30, ptr noundef %2, ptr noundef %31, i64 noundef %32, i64 noundef %34)
%36 = load ptr, ptr %5, align 8
%37 = call i32 @fflush(ptr noundef %36)
%38 = call i32 @sleep(i32 noundef 1)
%39 = load i64, ptr %6, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %6, align 8
br label %16
}
declare i64 @malloc(i32 noundef) #1
declare i64 @mem_addr_vir2phy(i64 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @getpid(...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @sleep(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/tmpon2ayhhb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"hello.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
@.str.2 = private unnamed_addr constant [131 x i8] c"pid = %5d, times = %4ld, a's addr = %p [(physical : 0x%lx) : 0x%lx\0Ap point's addr = %p q's addr = %p [(physical : 0x%lx) : 0x%lx]\0A\00", align 1
@.str.3 = private unnamed_addr constant [91 x i8] c"pid = %d, %ld, a's addr = %p [0x%lx : %ld], p point addr = %p q's addr = %p [0x%lx : %ld]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @test() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store volatile i64 1, ptr %1, align 8
store ptr null, ptr %2, align 8
%7 = call i64 @malloc(i32 noundef 8)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
store i64 1, ptr %9, align 8
%10 = load ptr, ptr %2, align 8
%11 = ptrtoint ptr %10 to i64
%12 = call i64 @mem_addr_vir2phy(i64 noundef %11)
store i64 %12, ptr %3, align 8
%13 = ptrtoint ptr %1 to i64
%14 = call i64 @mem_addr_vir2phy(i64 noundef %13)
store i64 %14, ptr %4, align 8
%15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %15, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %16
16: ; preds = %16, %0
%17 = call i32 (...) @getpid()
%18 = load i64, ptr %6, align 8
%19 = load i64, ptr %4, align 8
%20 = load volatile i64, ptr %1, align 8
%21 = load ptr, ptr %2, align 8
%22 = load i64, ptr %3, align 8
%23 = load ptr, ptr %2, align 8
%24 = load i64, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17, i64 noundef %18, ptr noundef %1, i64 noundef %19, i64 noundef %20, ptr noundef %2, ptr noundef %21, i64 noundef %22, i64 noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = call i32 (...) @getpid()
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %4, align 8
%30 = load volatile i64, ptr %1, align 8
%31 = load ptr, ptr %2, align 8
%32 = load i64, ptr %3, align 8
%33 = load ptr, ptr %2, align 8
%34 = load i64, ptr %33, align 8
%35 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.3, i32 noundef %27, i64 noundef %28, ptr noundef %1, i64 noundef %29, i64 noundef %30, ptr noundef %2, ptr noundef %31, i64 noundef %32, i64 noundef %34)
%36 = load ptr, ptr %5, align 8
%37 = call i32 @fflush(ptr noundef %36)
%38 = call i32 @sleep(i32 noundef 1)
%39 = load i64, ptr %6, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr %6, align 8
br label %16
}
declare i64 @malloc(i32 noundef) #1
declare i64 @mem_addr_vir2phy(i64 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @getpid(...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @sleep(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/tmp3oplubfm.c'
source_filename = "/tmp/tmp3oplubfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_iptables4_addr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %21
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @validate_ipv4_negate(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i32 @validate_ipv4net_negate(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i32 @validate_ipv4range_negate(ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %15
store i32 0, ptr %2, align 4
br label %21
20: ; preds = %15, %11, %7
store i32 1, ptr %2, align 4
br label %21
21: ; preds = %20, %19, %6
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @validate_ipv4_negate(ptr noundef) #1
declare i32 @validate_ipv4net_negate(ptr noundef) #1
declare i32 @validate_ipv4range_negate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3oplubfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_iptables4_addr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %21
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @validate_ipv4_negate(ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = call i32 @validate_ipv4net_negate(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i32 @validate_ipv4range_negate(ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %15
store i32 0, ptr %2, align 4
br label %21
20: ; preds = %15, %11, %7
store i32 1, ptr %2, align 4
br label %21
21: ; preds = %20, %19, %6
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @validate_ipv4_negate(ptr noundef) #1
declare i32 @validate_ipv4net_negate(ptr noundef) #1
declare i32 @validate_ipv4range_negate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsm_47u1z.c'
source_filename = "/tmp/tmpsm_47u1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %20, %2
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ult ptr %7, %9
br i1 %10, label %11, label %24
11: ; preds = %5
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %12, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = call i32 @isspace(i32 noundef %15) #2
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %11
br label %24
19: ; preds = %11
br label %20
20: ; preds = %19
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %21, align 8
br label %5, !llvm.loop !6
24: ; preds = %18, %5
br label %25
25: ; preds = %41, %24
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %26, align 8
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %28, align 8
%30 = icmp ult ptr %27, %29
br i1 %30, label %31, label %45
31: ; preds = %25
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 -1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = call i32 @isspace(i32 noundef %36) #2
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %31
br label %45
40: ; preds = %31
br label %41
41: ; preds = %40
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %42, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 -1
store ptr %44, ptr %42, align 8
br label %25, !llvm.loop !8
45: ; preds = %39, %25
ret void
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsm_47u1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ult ptr %6, %8
br i1 %9, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %19
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %11, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = call i32 @isspace(i32 noundef %14) #2
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %10
br label %28
18: ; preds = %10
br label %19
19: ; preds = %18
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %20, align 8
%23 = load ptr, ptr %3, align 8
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %25, align 8
%27 = icmp ult ptr %24, %26
br i1 %27, label %10, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %19
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %2
br label %28
28: ; preds = %.loopexit1, %17
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %31, align 8
%33 = icmp ult ptr %30, %32
br i1 %33, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %28
br label %34
34: ; preds = %.lr.ph2, %44
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %35, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 -1
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = call i32 @isspace(i32 noundef %39) #2
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %34
br label %53
43: ; preds = %34
br label %44
44: ; preds = %43
%45 = load ptr, ptr %4, align 8
%46 = load ptr, ptr %45, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 -1
store ptr %47, ptr %45, align 8
%48 = load ptr, ptr %3, align 8
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %50, align 8
%52 = icmp ult ptr %49, %51
br i1 %52, label %34, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %28
br label %53
53: ; preds = %.loopexit, %42
ret void
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd3x7qr_m.c'
source_filename = "/tmp/tmpd3x7qr_m.c"
target datalayout = "e-m:e-p270: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/tmpd3x7qr_m.c"
target datalayout = "e-m:e-p270: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/tmpudt4gx0d.c'
source_filename = "/tmp/tmpudt4gx0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @glmComputeDistanceToLine3f(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 [3 x float], align 4
%8 = alloca [3 x float], align 4
%9 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @glmMakeVector3f(ptr noundef %10, ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
%16 = call float @glmDotProduct3f(ptr noundef %14, ptr noundef %15)
store float %16, ptr %9, align 4
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
%19 = load float, ptr %18, align 4
%20 = load float, ptr %9, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds float, ptr %21, i64 0
%23 = load float, ptr %22, align 4
%24 = call float @llvm.fmuladd.f32(float %20, float %23, float %19)
%25 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
store float %24, ptr %25, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds float, ptr %26, i64 1
%28 = load float, ptr %27, align 4
%29 = load float, ptr %9, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds float, ptr %30, i64 1
%32 = load float, ptr %31, align 4
%33 = call float @llvm.fmuladd.f32(float %29, float %32, float %28)
%34 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
store float %33, ptr %34, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds float, ptr %35, i64 2
%37 = load float, ptr %36, align 4
%38 = load float, ptr %9, align 4
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds float, ptr %39, i64 2
%41 = load float, ptr %40, align 4
%42 = call float @llvm.fmuladd.f32(float %38, float %41, float %37)
%43 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
store float %42, ptr %43, align 4
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
%46 = call float @glmComputeDistance3f(ptr noundef %44, ptr noundef %45)
ret float %46
}
declare i32 @glmMakeVector3f(ptr noundef, ptr noundef, ptr noundef) #1
declare float @glmDotProduct3f(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @glmComputeDistance3f(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 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/tmpudt4gx0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @glmComputeDistanceToLine3f(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 [3 x float], align 4
%8 = alloca [3 x float], align 4
%9 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @glmMakeVector3f(ptr noundef %10, ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
%16 = call float @glmDotProduct3f(ptr noundef %14, ptr noundef %15)
store float %16, ptr %9, align 4
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds float, ptr %17, i64 0
%19 = load float, ptr %18, align 4
%20 = load float, ptr %9, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds float, ptr %21, i64 0
%23 = load float, ptr %22, align 4
%24 = call float @llvm.fmuladd.f32(float %20, float %23, float %19)
%25 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
store float %24, ptr %25, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds float, ptr %26, i64 1
%28 = load float, ptr %27, align 4
%29 = load float, ptr %9, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds float, ptr %30, i64 1
%32 = load float, ptr %31, align 4
%33 = call float @llvm.fmuladd.f32(float %29, float %32, float %28)
%34 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
store float %33, ptr %34, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds float, ptr %35, i64 2
%37 = load float, ptr %36, align 4
%38 = load float, ptr %9, align 4
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds float, ptr %39, i64 2
%41 = load float, ptr %40, align 4
%42 = call float @llvm.fmuladd.f32(float %38, float %41, float %37)
%43 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
store float %42, ptr %43, align 4
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
%46 = call float @glmComputeDistance3f(ptr noundef %44, ptr noundef %45)
ret float %46
}
declare i32 @glmMakeVector3f(ptr noundef, ptr noundef, ptr noundef) #1
declare float @glmDotProduct3f(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @glmComputeDistance3f(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 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/tmpes0nzjxm.c'
source_filename = "/tmp/tmpes0nzjxm.c"
target datalayout = "e-m:e-p270: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/tmpes0nzjxm.c"
target datalayout = "e-m:e-p270: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/tmpf6w9hf6t.c'
source_filename = "/tmp/tmpf6w9hf6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"waitpid error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitpid_error() #0 {
%1 = call i32 @perror(ptr noundef @.str)
ret void
}
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf6w9hf6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"waitpid error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitpid_error() #0 {
%1 = call i32 @perror(ptr noundef @.str)
ret void
}
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm3j_htt_.c'
source_filename = "/tmp/tmpm3j_htt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_getbegx(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1)
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %2
br label %24
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = call i32 @report_count(i32 noundef 1)
%18 = call i32 @report_error(ptr noundef @.str.1)
br label %24
19: ; preds = %10
%20 = call i32 @report_count(i32 noundef 1)
%21 = load ptr, ptr %5, align 8
%22 = call i32 @getbegx(ptr noundef %21)
%23 = call i32 @report_int(i32 noundef %22)
br label %24
24: ; preds = %19, %16, %9
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_int(i32 noundef) #1
declare i32 @getbegx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm3j_htt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_getbegx(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1)
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %2
br label %24
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = call i32 @report_count(i32 noundef 1)
%18 = call i32 @report_error(ptr noundef @.str.1)
br label %24
19: ; preds = %10
%20 = call i32 @report_count(i32 noundef 1)
%21 = load ptr, ptr %5, align 8
%22 = call i32 @getbegx(ptr noundef %21)
%23 = call i32 @report_int(i32 noundef %22)
br label %24
24: ; preds = %19, %16, %9
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_int(i32 noundef) #1
declare i32 @getbegx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9g62wom0.c'
source_filename = "/tmp/tmp9g62wom0.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"Not enough space, shutting down programm.\0A\00", align 1
@.str.1 = private unnamed_addr constant [112 x i8] c"Do you want to read a joke or to tell me one?\0A(answer with 'read' or 'tell', type exit for the obvious reason)\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"read\0A\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"Let me choose one, hit Enter when ready to laugh :P\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"I found no jokes!! Pls update me :P\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"tell\0A\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"Okie dokie, go on then :D\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"No space available buddy...\0A\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"Hahahahaha, nice one! :D\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"Please select a valid choice:\0A\00", align 1
@.str.11 = private unnamed_addr constant [66 x i8] c"(answer with 'read' or 'tell', type exit for the obvious reason)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 21)
store ptr %4, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %60
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 6, i32 noundef %12)
br label %14
14: ; preds = %51, %9
%15 = load ptr, ptr %3, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp ne i64 0, %16
br i1 %17, label %18, label %57
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 0, %20
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.4)
%25 = call i32 (...) @getchar()
%26 = call i64 (...) @read()
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.5)
br label %31
31: ; preds = %28, %22
br label %51
32: ; preds = %18
%33 = load ptr, ptr %3, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.6)
%35 = icmp eq i64 0, %34
br i1 %35, label %36, label %47
36: ; preds = %32
%37 = load i32, ptr @stderr, align 4
%38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.7)
%39 = call i32 (...) @tell()
%40 = icmp eq i32 %39, 1
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load i32, ptr @stderr, align 4
%43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.8)
br label %44
44: ; preds = %41, %36
%45 = load i32, ptr @stderr, align 4
%46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.9)
br label %50
47: ; preds = %32
%48 = load i32, ptr @stderr, align 4
%49 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str.10)
br label %50
50: ; preds = %47, %44
br label %51
51: ; preds = %50, %31
%52 = load i32, ptr @stderr, align 4
%53 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.11)
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr @stdin, align 4
%56 = call i32 @fgets(ptr noundef %54, i32 noundef 6, i32 noundef %55)
br label %14, !llvm.loop !6
57: ; preds = %14
%58 = load ptr, ptr %3, align 8
%59 = call i32 @free(ptr noundef %58)
store i32 0, ptr %1, align 4
br label %60
60: ; preds = %57, %6
%61 = load i32, ptr %1, align 4
ret i32 %61
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i64 @read(...) #1
declare i32 @tell(...) #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/tmp9g62wom0.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"Not enough space, shutting down programm.\0A\00", align 1
@.str.1 = private unnamed_addr constant [112 x i8] c"Do you want to read a joke or to tell me one?\0A(answer with 'read' or 'tell', type exit for the obvious reason)\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"read\0A\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"Let me choose one, hit Enter when ready to laugh :P\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"I found no jokes!! Pls update me :P\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"tell\0A\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"Okie dokie, go on then :D\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"No space available buddy...\0A\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"Hahahahaha, nice one! :D\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"Please select a valid choice:\0A\00", align 1
@.str.11 = private unnamed_addr constant [66 x i8] c"(answer with 'read' or 'tell', type exit for the obvious reason)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 21)
store ptr %4, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %62
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 6, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp ne i64 0, %15
br i1 %16, label %.lr.ph, label %59
.lr.ph: ; preds = %9
br label %17
17: ; preds = %.lr.ph, %50
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.3)
%20 = icmp eq i64 0, %19
br i1 %20, label %21, label %31
21: ; preds = %17
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.4)
%24 = call i32 (...) @getchar()
%25 = call i64 (...) @read()
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.5)
br label %30
30: ; preds = %27, %21
br label %50
31: ; preds = %17
%32 = load ptr, ptr %3, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.6)
%34 = icmp eq i64 0, %33
br i1 %34, label %35, label %46
35: ; preds = %31
%36 = load i32, ptr @stderr, align 4
%37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.7)
%38 = call i32 (...) @tell()
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load i32, ptr @stderr, align 4
%42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.8)
br label %43
43: ; preds = %40, %35
%44 = load i32, ptr @stderr, align 4
%45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.9)
br label %49
46: ; preds = %31
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.10)
br label %49
49: ; preds = %46, %43
br label %50
50: ; preds = %49, %30
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.11)
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr @stdin, align 4
%55 = call i32 @fgets(ptr noundef %53, i32 noundef 6, i32 noundef %54)
%56 = load ptr, ptr %3, align 8
%57 = call i64 @strcmp(ptr noundef %56, ptr noundef @.str.2)
%58 = icmp ne i64 0, %57
br i1 %58, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %59
59: ; preds = %._crit_edge, %9
%60 = load ptr, ptr %3, align 8
%61 = call i32 @free(ptr noundef %60)
store i32 0, ptr %1, align 4
br label %62
62: ; preds = %59, %6
%63 = load i32, ptr %1, align 4
ret i32 %63
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i64 @read(...) #1
declare i32 @tell(...) #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/tmpt88mok43.c'
source_filename = "/tmp/tmpt88mok43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%d %d %d %d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [8 x i8], align 1
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%11 = call i32 @gets(ptr noundef %10)
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %16)
ret void
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt88mok43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%d %d %d %d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [8 x i8], align 1
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%11 = call i32 @gets(ptr noundef %10)
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %16)
ret void
}
declare i32 @gets(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjwiioqyy.c'
source_filename = "/tmp/tmpjwiioqyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwiioqyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsxcon1b8.c'
source_filename = "/tmp/tmpsxcon1b8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_word_from_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = call i64 @feof(ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13, %10, %2
store i32 -1, ptr %3, align 4
br label %53
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %47, %18
%22 = load ptr, ptr %4, align 8
%23 = call i64 @feof(ptr noundef %22)
%24 = icmp ne i64 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %26, label %48
26: ; preds = %21
store i8 0, ptr %7, align 1
%27 = load ptr, ptr %4, align 8
%28 = call signext i8 @fgetc(ptr noundef %27)
store i8 %28, ptr %7, align 1
%29 = load i8, ptr %7, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 10
br i1 %31, label %32, label %46
32: ; preds = %26
%33 = load i8, ptr %7, align 1
%34 = sext i8 %33 to i32
%35 = icmp sge i32 %34, 0
br i1 %35, label %36, label %46
36: ; preds = %32
%37 = load i8, ptr %7, align 1
%38 = load ptr, ptr %5, align 8
%39 = load i64, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 %37, ptr %40, align 1
%41 = load i64, ptr %6, align 8
%42 = add nsw i64 %41, 1
store i64 %42, ptr %6, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %6, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
store i8 0, ptr %45, align 1
br label %47
46: ; preds = %32, %26
br label %48
47: ; preds = %36
br label %21, !llvm.loop !6
48: ; preds = %46, %21
%49 = load i64, ptr %6, align 8
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %48
store i32 -1, ptr %3, align 4
br label %53
52: ; preds = %48
store i32 1, ptr %3, align 4
br label %53
53: ; preds = %52, %51, %17
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i64 @feof(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsxcon1b8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_word_from_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = call i64 @feof(ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13, %10, %2
store i32 -1, ptr %3, align 4
br label %56
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %4, align 8
%22 = call i64 @feof(ptr noundef %21)
%23 = icmp ne i64 %22, 0
%24 = xor i1 %23, true
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %18
br label %25
25: ; preds = %.lr.ph, %46
store i8 0, ptr %7, align 1
%26 = load ptr, ptr %4, align 8
%27 = call signext i8 @fgetc(ptr noundef %26)
store i8 %27, ptr %7, align 1
%28 = load i8, ptr %7, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 10
br i1 %30, label %31, label %45
31: ; preds = %25
%32 = load i8, ptr %7, align 1
%33 = sext i8 %32 to i32
%34 = icmp sge i32 %33, 0
br i1 %34, label %35, label %45
35: ; preds = %31
%36 = load i8, ptr %7, align 1
%37 = load ptr, ptr %5, align 8
%38 = load i64, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
store i8 %36, ptr %39, align 1
%40 = load i64, ptr %6, align 8
%41 = add nsw i64 %40, 1
store i64 %41, ptr %6, align 8
%42 = load ptr, ptr %5, align 8
%43 = load i64, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %42, i64 %43
store i8 0, ptr %44, align 1
br label %46
45: ; preds = %31, %25
br label %51
46: ; preds = %35
%47 = load ptr, ptr %4, align 8
%48 = call i64 @feof(ptr noundef %47)
%49 = icmp ne i64 %48, 0
%50 = xor i1 %49, true
br i1 %50, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %46
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %18
br label %51
51: ; preds = %.loopexit, %45
%52 = load i64, ptr %6, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %51
store i32 -1, ptr %3, align 4
br label %56
55: ; preds = %51
store i32 1, ptr %3, align 4
br label %56
56: ; preds = %55, %54, %17
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i64 @feof(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8mobkpn2.c'
source_filename = "/tmp/tmp8mobkpn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %16, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i64, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, i64 noundef %14)
br label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %5, align 8
br label %6, !llvm.loop !6
19: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mobkpn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %15
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %5, align 8
%12 = getelementptr inbounds i64, ptr %10, i64 %11
%13 = load i64, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, i64 noundef %13)
br label %15
15: ; preds = %9
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbmxeriv9.c'
source_filename = "/tmp/tmpbmxeriv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_REALTIME = dso_local global i32 0, align 4
@ETIMEDOUT = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmxeriv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_REALTIME = dso_local global i32 0, align 4
@ETIMEDOUT = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5boyb1j0.c'
source_filename = "/tmp/tmp5boyb1j0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"[[%s][%s][%d][%s] is now [%s] and [%d]]\0A\00", align 1
@.str.1 = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/speedmax123/data_structure/refs/heads/master/utils.c\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"this node's content is\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @watch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = call ptr (...) @getDate()
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %5, i32 noundef 56, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getDate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5boyb1j0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"[[%s][%s][%d][%s] is now [%s] and [%d]]\0A\00", align 1
@.str.1 = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/speedmax123/data_structure/refs/heads/master/utils.c\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"this node's content is\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @watch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = call ptr (...) @getDate()
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %5, i32 noundef 56, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getDate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmz9zfflx.c'
source_filename = "/tmp/tmpmz9zfflx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @add_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %5, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %13, %10
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %17, %18
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = mul i64 1, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %7, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %14
%29 = call i32 @printf(ptr noundef @.str)
%30 = call i32 @exit(i32 noundef -1) #3
unreachable
31: ; preds = %14
%32 = load ptr, ptr %3, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %3, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
br label %38
38: ; preds = %34, %31
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load ptr, ptr %4, align 8
%44 = call i32 @strcpy(ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %7, align 8
ret ptr %45
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpmz9zfflx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @add_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %5, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %13, %10
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %17, %18
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = mul i64 1, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %7, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %14
%29 = call i32 @printf(ptr noundef @.str)
%30 = call i32 @exit(i32 noundef -1) #3
unreachable
31: ; preds = %14
%32 = load ptr, ptr %3, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %3, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
br label %38
38: ; preds = %34, %31
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load ptr, ptr %4, align 8
%44 = call i32 @strcpy(ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %7, align 8
ret ptr %45
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp804sy9ra.c'
source_filename = "/tmp/tmp804sy9ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @stone_value(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds double, ptr %12, i64 0
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 1
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds double, ptr %18, i64 1
%20 = load double, ptr %19, align 8
%21 = fmul double %17, %20
%22 = call double @llvm.fmuladd.f64(double %11, double %14, double %21)
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds double, ptr %23, i64 2
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 2
%28 = load double, ptr %27, align 8
%29 = call double @llvm.fmuladd.f64(double %25, double %28, double %22)
%30 = call double @sqrt(double noundef %29) #3
store double %30, ptr %5, align 8
%31 = load double, ptr %5, align 8
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds double, ptr %32, i64 2
%34 = load double, ptr %33, align 8
%35 = fdiv double %31, %34
store double %35, ptr %6, align 8
%36 = load double, ptr %5, align 8
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds double, ptr %37, i64 3
%39 = load double, ptr %38, align 8
%40 = fdiv double %36, %39
store double %40, ptr %7, align 8
%41 = load double, ptr @M_PI, align 8
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds double, ptr %42, i64 3
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds double, ptr %45, i64 3
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds double, ptr %48, i64 2
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %3, align 8
%52 = getelementptr inbounds double, ptr %51, i64 2
%53 = load double, ptr %52, align 8
%54 = fmul double %50, %53
%55 = fneg double %54
%56 = call double @llvm.fmuladd.f64(double %44, double %47, double %55)
%57 = fmul double %41, %56
%58 = load ptr, ptr %3, align 8
%59 = getelementptr inbounds double, ptr %58, i64 2
%60 = load double, ptr %59, align 8
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds double, ptr %61, i64 3
%63 = load double, ptr %62, align 8
%64 = fadd double %60, %63
%65 = fdiv double %57, %64
store double %65, ptr %8, align 8
%66 = load ptr, ptr %3, align 8
%67 = getelementptr inbounds double, ptr %66, i64 0
%68 = load double, ptr %67, align 8
%69 = fneg double %68
%70 = load ptr, ptr %3, align 8
%71 = getelementptr inbounds double, ptr %70, i64 1
%72 = load double, ptr %71, align 8
%73 = fmul double %69, %72
%74 = load double, ptr %8, align 8
%75 = fdiv double %73, %74
%76 = load double, ptr %7, align 8
%77 = call double @atan(double noundef %76) #3
%78 = load double, ptr %7, align 8
%79 = fdiv double %77, %78
%80 = load double, ptr %6, align 8
%81 = call double @atan(double noundef %80) #3
%82 = load double, ptr %6, align 8
%83 = fdiv double %81, %82
%84 = fsub double %79, %83
%85 = load double, ptr %5, align 8
%86 = load double, ptr %5, align 8
%87 = load ptr, ptr %3, align 8
%88 = getelementptr inbounds double, ptr %87, i64 3
%89 = load double, ptr %88, align 8
%90 = load ptr, ptr %3, align 8
%91 = getelementptr inbounds double, ptr %90, i64 3
%92 = load double, ptr %91, align 8
%93 = fmul double %89, %92
%94 = call double @llvm.fmuladd.f64(double %85, double %86, double %93)
%95 = load double, ptr %5, align 8
%96 = load double, ptr %5, align 8
%97 = load ptr, ptr %3, align 8
%98 = getelementptr inbounds double, ptr %97, i64 2
%99 = load double, ptr %98, align 8
%100 = load ptr, ptr %3, align 8
%101 = getelementptr inbounds double, ptr %100, i64 2
%102 = load double, ptr %101, align 8
%103 = fmul double %99, %102
%104 = call double @llvm.fmuladd.f64(double %95, double %96, double %103)
%105 = fdiv double %94, %104
%106 = call double @log(double noundef %105) #3
%107 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %106, double %84)
%108 = fmul double %75, %107
ret double %108
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @atan(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp804sy9ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @stone_value(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds double, ptr %12, i64 0
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 1
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds double, ptr %18, i64 1
%20 = load double, ptr %19, align 8
%21 = fmul double %17, %20
%22 = call double @llvm.fmuladd.f64(double %11, double %14, double %21)
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds double, ptr %23, i64 2
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 2
%28 = load double, ptr %27, align 8
%29 = call double @llvm.fmuladd.f64(double %25, double %28, double %22)
%30 = call double @sqrt(double noundef %29) #3
store double %30, ptr %5, align 8
%31 = load double, ptr %5, align 8
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds double, ptr %32, i64 2
%34 = load double, ptr %33, align 8
%35 = fdiv double %31, %34
store double %35, ptr %6, align 8
%36 = load double, ptr %5, align 8
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds double, ptr %37, i64 3
%39 = load double, ptr %38, align 8
%40 = fdiv double %36, %39
store double %40, ptr %7, align 8
%41 = load double, ptr @M_PI, align 8
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds double, ptr %42, i64 3
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds double, ptr %45, i64 3
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds double, ptr %48, i64 2
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %3, align 8
%52 = getelementptr inbounds double, ptr %51, i64 2
%53 = load double, ptr %52, align 8
%54 = fmul double %50, %53
%55 = fneg double %54
%56 = call double @llvm.fmuladd.f64(double %44, double %47, double %55)
%57 = fmul double %41, %56
%58 = load ptr, ptr %3, align 8
%59 = getelementptr inbounds double, ptr %58, i64 2
%60 = load double, ptr %59, align 8
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds double, ptr %61, i64 3
%63 = load double, ptr %62, align 8
%64 = fadd double %60, %63
%65 = fdiv double %57, %64
store double %65, ptr %8, align 8
%66 = load ptr, ptr %3, align 8
%67 = getelementptr inbounds double, ptr %66, i64 0
%68 = load double, ptr %67, align 8
%69 = fneg double %68
%70 = load ptr, ptr %3, align 8
%71 = getelementptr inbounds double, ptr %70, i64 1
%72 = load double, ptr %71, align 8
%73 = fmul double %69, %72
%74 = load double, ptr %8, align 8
%75 = fdiv double %73, %74
%76 = load double, ptr %7, align 8
%77 = call double @atan(double noundef %76) #3
%78 = load double, ptr %7, align 8
%79 = fdiv double %77, %78
%80 = load double, ptr %6, align 8
%81 = call double @atan(double noundef %80) #3
%82 = load double, ptr %6, align 8
%83 = fdiv double %81, %82
%84 = fsub double %79, %83
%85 = load double, ptr %5, align 8
%86 = load double, ptr %5, align 8
%87 = load ptr, ptr %3, align 8
%88 = getelementptr inbounds double, ptr %87, i64 3
%89 = load double, ptr %88, align 8
%90 = load ptr, ptr %3, align 8
%91 = getelementptr inbounds double, ptr %90, i64 3
%92 = load double, ptr %91, align 8
%93 = fmul double %89, %92
%94 = call double @llvm.fmuladd.f64(double %85, double %86, double %93)
%95 = load double, ptr %5, align 8
%96 = load double, ptr %5, align 8
%97 = load ptr, ptr %3, align 8
%98 = getelementptr inbounds double, ptr %97, i64 2
%99 = load double, ptr %98, align 8
%100 = load ptr, ptr %3, align 8
%101 = getelementptr inbounds double, ptr %100, i64 2
%102 = load double, ptr %101, align 8
%103 = fmul double %99, %102
%104 = call double @llvm.fmuladd.f64(double %95, double %96, double %103)
%105 = fdiv double %94, %104
%106 = call double @log(double noundef %105) #3
%107 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %106, double %84)
%108 = fmul double %75, %107
ret double %108
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @atan(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpey8_ko12.c'
source_filename = "/tmp/tmpey8_ko12.c"
target datalayout = "e-m:e-p270: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/tmpey8_ko12.c"
target datalayout = "e-m:e-p270: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/tmpqsjjt7qf.c'
source_filename = "/tmp/tmpqsjjt7qf.c"
target datalayout = "e-m:e-p270: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/tmpqsjjt7qf.c"
target datalayout = "e-m:e-p270: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/tmp5toc8d2o.c'
source_filename = "/tmp/tmp5toc8d2o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alaw_enc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [2 x i8], align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = sdiv i32 %10, 2
store i32 %11, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %34, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %37
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
store i8 %19, ptr %20, align 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 1
store i8 %23, ptr %24, align 1
%25 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%26 = load i16, ptr %25, align 1
%27 = call signext i8 @s16_to_alaw(i16 noundef signext %26)
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 %27, ptr %31, align 1
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 2
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %16
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %12, !llvm.loop !6
37: ; preds = %12
ret void
}
declare signext i8 @s16_to_alaw(i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5toc8d2o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alaw_enc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [2 x i8], align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = sdiv i32 %10, 2
store i32 %11, ptr %8, align 4
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %39
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %33
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 1
%18 = load i8, ptr %17, align 1
%19 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
store i8 %18, ptr %19, align 1
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 1
store i8 %22, ptr %23, align 1
%24 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%25 = load i16, ptr %24, align 1
%26 = call signext i8 @s16_to_alaw(i16 noundef signext %25)
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 2
store ptr %32, ptr %4, align 8
br label %33
33: ; preds = %15
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %3
ret void
}
declare signext i8 @s16_to_alaw(i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprd4jalsa.c'
source_filename = "/tmp/tmprd4jalsa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @crl_init_screen() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @raw()
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr @TRUE, align 4
%5 = call i32 @keypad(i32 noundef %3, i32 noundef %4)
%6 = call i32 @curs_set(i32 noundef 0)
%7 = call i32 (...) @noecho()
ret void
}
declare i32 @initscr(...) #1
declare i32 @raw(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @noecho(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprd4jalsa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @crl_init_screen() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @raw()
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr @TRUE, align 4
%5 = call i32 @keypad(i32 noundef %3, i32 noundef %4)
%6 = call i32 @curs_set(i32 noundef 0)
%7 = call i32 (...) @noecho()
ret void
}
declare i32 @initscr(...) #1
declare i32 @raw(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @noecho(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnn9nnmcv.c'
source_filename = "/tmp/tmpnn9nnmcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @setbuf(i32 noundef %7, ptr noundef null)
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @parseOptions(i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %6, align 4
br label %12
12: ; preds = %28, %2
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %31
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %22, %23
%25 = icmp ne i32 %24, 1
%26 = zext i1 %25 to i32
%27 = call i32 @evaluate(ptr noundef %21, i32 noundef %26)
br label %28
28: ; preds = %16
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %12, !llvm.loop !6
31: ; preds = %12
%32 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @parseOptions(i32 noundef, ptr noundef) #1
declare i32 @evaluate(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnn9nnmcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @setbuf(i32 noundef %7, ptr noundef null)
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @parseOptions(i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %27
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %6, align 4
%23 = sub nsw i32 %21, %22
%24 = icmp ne i32 %23, 1
%25 = zext i1 %24 to i32
%26 = call i32 @evaluate(ptr noundef %20, i32 noundef %25)
br label %27
27: ; preds = %15
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @parseOptions(i32 noundef, ptr noundef) #1
declare i32 @evaluate(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9ld65vq1.c'
source_filename = "/tmp/tmp9ld65vq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isAbsolute(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @prefixLength(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 92
br i1 %13, label %17, label %14
14: ; preds = %8, %1
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, 3
br label %17
17: ; preds = %14, %8
%18 = phi i1 [ true, %8 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i32 @prefixLength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ld65vq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isAbsolute(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @prefixLength(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 92
br i1 %13, label %17, label %14
14: ; preds = %8, %1
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, 3
br label %17
17: ; preds = %14, %8
%18 = phi i1 [ true, %8 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
ret i32 %19
}
declare i32 @prefixLength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmv1_k16b.c'
source_filename = "/tmp/tmpmv1_k16b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"\1B!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmv1_k16b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"\1B!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp975vo2y3.c'
source_filename = "/tmp/tmp975vo2y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @invbinocdf(double noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store double %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
%11 = load double, ptr %4, align 8
%12 = fcmp oeq double %11, 1.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %7, align 4
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 0
%18 = zext i1 %17 to i32
%19 = load double, ptr %6, align 8
%20 = fcmp olt double %19, 0.000000e+00
%21 = zext i1 %20 to i32
%22 = or i32 %18, %21
%23 = load double, ptr %6, align 8
%24 = fcmp ogt double %23, 1.000000e+00
%25 = zext i1 %24 to i32
%26 = or i32 %22, %25
%27 = load double, ptr %4, align 8
%28 = fcmp olt double %27, 0.000000e+00
%29 = zext i1 %28 to i32
%30 = or i32 %26, %29
%31 = load double, ptr %4, align 8
%32 = fcmp ogt double %31, 1.000000e+00
%33 = zext i1 %32 to i32
%34 = or i32 %30, %33
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %15
store i32 -1, ptr %7, align 4
br label %37
37: ; preds = %36, %15
%38 = load i32, ptr %7, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %56
40: ; preds = %37
store i32 -1, ptr %7, align 4
br label %41
41: ; preds = %45, %40
%42 = load double, ptr %8, align 8
%43 = load double, ptr %4, align 8
%44 = fcmp olt double %42, %43
br i1 %44, label %45, label %55
45: ; preds = %41
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %7, align 4
%50 = load double, ptr %6, align 8
%51 = call double @binopdf_mat(i32 noundef %48, i32 noundef %49, double noundef %50)
store double %51, ptr %9, align 8
%52 = load double, ptr %9, align 8
%53 = load double, ptr %8, align 8
%54 = fadd double %53, %52
store double %54, ptr %8, align 8
br label %41, !llvm.loop !6
55: ; preds = %41
br label %56
56: ; preds = %55, %37
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare double @binopdf_mat(i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp975vo2y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @invbinocdf(double noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store double %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %8, align 8
%11 = load double, ptr %4, align 8
%12 = fcmp oeq double %11, 1.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %7, align 4
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 0
%18 = zext i1 %17 to i32
%19 = load double, ptr %6, align 8
%20 = fcmp olt double %19, 0.000000e+00
%21 = zext i1 %20 to i32
%22 = or i32 %18, %21
%23 = load double, ptr %6, align 8
%24 = fcmp ogt double %23, 1.000000e+00
%25 = zext i1 %24 to i32
%26 = or i32 %22, %25
%27 = load double, ptr %4, align 8
%28 = fcmp olt double %27, 0.000000e+00
%29 = zext i1 %28 to i32
%30 = or i32 %26, %29
%31 = load double, ptr %4, align 8
%32 = fcmp ogt double %31, 1.000000e+00
%33 = zext i1 %32 to i32
%34 = or i32 %30, %33
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %15
store i32 -1, ptr %7, align 4
br label %37
37: ; preds = %36, %15
%38 = load i32, ptr %7, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %58
40: ; preds = %37
store i32 -1, ptr %7, align 4
%41 = load double, ptr %8, align 8
%42 = load double, ptr %4, align 8
%43 = fcmp olt double %41, %42
br i1 %43, label %.lr.ph, label %57
.lr.ph: ; preds = %40
br label %44
44: ; preds = %.lr.ph, %44
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %7, align 4
%49 = load double, ptr %6, align 8
%50 = call double @binopdf_mat(i32 noundef %47, i32 noundef %48, double noundef %49)
store double %50, ptr %9, align 8
%51 = load double, ptr %9, align 8
%52 = load double, ptr %8, align 8
%53 = fadd double %52, %51
store double %53, ptr %8, align 8
%54 = load double, ptr %8, align 8
%55 = load double, ptr %4, align 8
%56 = fcmp olt double %54, %55
br i1 %56, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %57
57: ; preds = %._crit_edge, %40
br label %58
58: ; preds = %57, %37
%59 = load i32, ptr %7, align 4
ret i32 %59
}
declare double @binopdf_mat(i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph61uhk_d.c'
source_filename = "/tmp/tmph61uhk_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCSPTLCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @unlockpt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @TIOCSPTLCK, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
ret i32 %6
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph61uhk_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCSPTLCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @unlockpt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @TIOCSPTLCK, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
ret i32 %6
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc5k9c1qt.c'
source_filename = "/tmp/tmpc5k9c1qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Card #%d: %5s of %-8s%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deal(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 1, ptr %9, align 4
br label %10
10: ; preds = %60, %3
%11 = load i32, ptr %9, align 4
%12 = icmp sle i32 %11, 52
br i1 %12, label %13, label %63
13: ; preds = %10
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %56, %13
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %59
17: ; preds = %14
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %52, %17
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 13
br i1 %20, label %21, label %55
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [13 x i32], ptr %22, i64 %24
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [13 x i32], ptr %25, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %51
32: ; preds = %21
%33 = load i32, ptr %9, align 4
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %9, align 4
%45 = srem i32 %44, 2
%46 = icmp eq i32 %45, 0
%47 = zext i1 %46 to i64
%48 = select i1 %46, i32 10, i32 9
%49 = trunc i32 %48 to i8
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %33, ptr noundef %38, ptr noundef %43, i8 noundef signext %49)
br label %51
51: ; preds = %32, %21
br label %52
52: ; preds = %51
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %8, align 4
br label %18, !llvm.loop !6
55: ; preds = %18
br label %56
56: ; preds = %55
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %14, !llvm.loop !8
59: ; preds = %14
br label %60
60: ; preds = %59
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
br label %10, !llvm.loop !9
63: ; preds = %10
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5k9c1qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Card #%d: %5s of %-8s%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @deal(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 1, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = icmp sle i32 %10, 52
br i1 %11, label %.lr.ph5, label %66
.lr.ph5: ; preds = %3
br label %12
12: ; preds = %.lr.ph5, %61
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %.lr.ph2, label %60
.lr.ph2: ; preds = %12
br label %15
15: ; preds = %.lr.ph2, %55
store i32 0, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %16, 13
br i1 %17, label %.lr.ph, label %54
.lr.ph: ; preds = %15
br label %18
18: ; preds = %.lr.ph, %49
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [13 x i32], ptr %19, i64 %21
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [13 x i32], ptr %22, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %48
29: ; preds = %18
%30 = load i32, ptr %9, align 4
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %9, align 4
%42 = srem i32 %41, 2
%43 = icmp eq i32 %42, 0
%44 = zext i1 %43 to i64
%45 = select i1 %43, i32 10, i32 9
%46 = trunc i32 %45 to i8
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %30, ptr noundef %35, ptr noundef %40, i8 noundef signext %46)
br label %48
48: ; preds = %29, %18
br label %49
49: ; preds = %48
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %52, 13
br i1 %53, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %54
54: ; preds = %._crit_edge, %15
br label %55
55: ; preds = %54
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp slt i32 %58, 4
br i1 %59, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %60
60: ; preds = %._crit_edge3, %12
br label %61
61: ; preds = %60
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = icmp sle i32 %64, 52
br i1 %65, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %61
br label %66
66: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_924ogcr.c'
source_filename = "/tmp/tmp_924ogcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Reading array....\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"\0D\0D\0D\0D%d%%\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [11 x i8] c"\0D\0D\0D\0DDone!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readArray(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %11
11: ; preds = %41, %3
%12 = load ptr, ptr %4, align 8
%13 = call i64 @fscanf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %8)
%14 = load i64, ptr @EOF, align 8
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %42
16: ; preds = %11
%17 = load double, ptr %8, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
store double %17, ptr %21, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = sitofp i32 %24 to double
%26 = load i32, ptr %6, align 4
%27 = sitofp i32 %26 to double
%28 = fadd double %27, 0.000000e+00
%29 = fdiv double %25, %28
%30 = fmul double 1.000000e+02, %29
%31 = fptosi double %30 to i32
%32 = load i32, ptr %9, align 4
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %41
34: ; preds = %16
%35 = load i32, ptr %9, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @fflush(i32 noundef %37)
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %34, %16
br label %11, !llvm.loop !6
42: ; preds = %11
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_924ogcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Reading array....\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"\0D\0D\0D\0D%d%%\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [11 x i8] c"\0D\0D\0D\0DDone!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readArray(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = load ptr, ptr %4, align 8
%12 = call i64 @fscanf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %8)
%13 = load i64, ptr @EOF, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %40
%16 = load double, ptr %8, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
store double %16, ptr %20, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = sitofp i32 %23 to double
%25 = load i32, ptr %6, align 4
%26 = sitofp i32 %25 to double
%27 = fadd double %26, 0.000000e+00
%28 = fdiv double %24, %27
%29 = fmul double 1.000000e+02, %28
%30 = fptosi double %29 to i32
%31 = load i32, ptr %9, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %40
33: ; preds = %15
%34 = load i32, ptr %9, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
%36 = load i32, ptr @stdout, align 4
%37 = call i32 @fflush(i32 noundef %36)
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %33, %15
%41 = load ptr, ptr %4, align 8
%42 = call i64 @fscanf(ptr noundef %41, ptr noundef @.str.1, ptr noundef %8)
%43 = load i64, ptr @EOF, align 8
%44 = icmp ne i64 %42, %43
br i1 %44, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %3
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkhv8_fgl.c'
source_filename = "/tmp/tmpkhv8_fgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Invalid k test failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Non-repeating test failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Repeating test failed!\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%d tests failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @test_invalid_k()
%4 = icmp ne i32 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %5, %0
%10 = call i32 (...) @test_non_repeating()
%11 = icmp ne i32 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %9
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %9
%17 = call i32 (...) @test_repeating()
%18 = icmp ne i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %16
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %19, %16
%24 = load i32, ptr %2, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @test_invalid_k(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @test_non_repeating(...) #1
declare i32 @test_repeating(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkhv8_fgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Invalid k test failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Non-repeating test failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Repeating test failed!\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%d tests failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @test_invalid_k()
%4 = icmp ne i32 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %5, %0
%10 = call i32 (...) @test_non_repeating()
%11 = icmp ne i32 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %9
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %9
%17 = call i32 (...) @test_repeating()
%18 = icmp ne i32 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %16
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %19, %16
%24 = load i32, ptr %2, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @test_invalid_k(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @test_non_repeating(...) #1
declare i32 @test_repeating(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbn8uf77x.c'
source_filename = "/tmp/tmpbn8uf77x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRSETCOLORSPACE_swap(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 @core3_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @core3_swap(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/tmpbn8uf77x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRSETCOLORSPACE_swap(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 @core3_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @core3_swap(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/tmp8qvmb8ke.c'
source_filename = "/tmp/tmp8qvmb8ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@xorshift.y = internal global i32 -1831433054, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xorshift() #0 {
%1 = load i32, ptr @xorshift.y, align 4
%2 = load i32, ptr @xorshift.y, align 4
%3 = shl i32 %2, 13
%4 = xor i32 %1, %3
store i32 %4, ptr @xorshift.y, align 4
%5 = load i32, ptr @xorshift.y, align 4
%6 = load i32, ptr @xorshift.y, align 4
%7 = ashr i32 %6, 17
%8 = xor i32 %5, %7
store i32 %8, ptr @xorshift.y, align 4
%9 = load i32, ptr @xorshift.y, align 4
%10 = load i32, ptr @xorshift.y, align 4
%11 = shl i32 %10, 5
%12 = xor i32 %9, %11
store i32 %12, ptr @xorshift.y, align 4
%13 = load i32, ptr @xorshift.y, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8qvmb8ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@xorshift.y = internal global i32 -1831433054, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xorshift() #0 {
%1 = load i32, ptr @xorshift.y, align 4
%2 = load i32, ptr @xorshift.y, align 4
%3 = shl i32 %2, 13
%4 = xor i32 %1, %3
store i32 %4, ptr @xorshift.y, align 4
%5 = load i32, ptr @xorshift.y, align 4
%6 = load i32, ptr @xorshift.y, align 4
%7 = ashr i32 %6, 17
%8 = xor i32 %5, %7
store i32 %8, ptr @xorshift.y, align 4
%9 = load i32, ptr @xorshift.y, align 4
%10 = load i32, ptr @xorshift.y, align 4
%11 = shl i32 %10, 5
%12 = xor i32 %9, %11
store i32 %12, ptr @xorshift.y, align 4
%13 = load i32, ptr @xorshift.y, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe2_lmdsh.c'
source_filename = "/tmp/tmpe2_lmdsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @onewire_reset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @pinPUD(i32 noundef %6, i32 noundef 0)
%8 = load i32, ptr %3, align 4
%9 = call i32 @pinModeOut(i32 noundef %8)
%10 = load i32, ptr %3, align 4
%11 = call i32 @pinLow(i32 noundef %10)
%12 = call i32 @delayUsBusy(i32 noundef 640)
%13 = load i32, ptr %3, align 4
%14 = call i32 @pinHigh(i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = call i32 @pinModeIn(i32 noundef %15)
store i32 80, ptr %4, align 4
br label %17
17: ; preds = %41, %1
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %44
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = call i64 @pinRead(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %39, label %24
24: ; preds = %20
store i32 250, ptr %5, align 4
br label %25
25: ; preds = %35, %24
%26 = load i32, ptr %5, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %38
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = call i64 @pinRead(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 1, ptr %2, align 4
br label %46
33: ; preds = %28
%34 = call i32 @delayUsBusy(i32 noundef 1)
br label %35
35: ; preds = %33
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %5, align 4
br label %25, !llvm.loop !6
38: ; preds = %25
store i32 0, ptr %2, align 4
br label %46
39: ; preds = %20
%40 = call i32 @delayUsBusy(i32 noundef 1)
br label %41
41: ; preds = %39
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %4, align 4
br label %17, !llvm.loop !8
44: ; preds = %17
%45 = call i32 @delayUsBusy(i32 noundef 1)
store i32 0, ptr %2, align 4
br label %46
46: ; preds = %44, %38, %32
%47 = load i32, ptr %2, align 4
ret i32 %47
}
declare i32 @pinPUD(i32 noundef, i32 noundef) #1
declare i32 @pinModeOut(i32 noundef) #1
declare i32 @pinLow(i32 noundef) #1
declare i32 @delayUsBusy(i32 noundef) #1
declare i32 @pinHigh(i32 noundef) #1
declare i32 @pinModeIn(i32 noundef) #1
declare i64 @pinRead(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/tmpe2_lmdsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @onewire_reset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @pinPUD(i32 noundef %6, i32 noundef 0)
%8 = load i32, ptr %3, align 4
%9 = call i32 @pinModeOut(i32 noundef %8)
%10 = load i32, ptr %3, align 4
%11 = call i32 @pinLow(i32 noundef %10)
%12 = call i32 @delayUsBusy(i32 noundef 640)
%13 = load i32, ptr %3, align 4
%14 = call i32 @pinHigh(i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = call i32 @pinModeIn(i32 noundef %15)
store i32 80, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %19
19: ; preds = %.lr.ph, %41
%20 = load i32, ptr %3, align 4
%21 = call i64 @pinRead(i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %39, label %23
23: ; preds = %19
store i32 250, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %.lr.ph2, label %38
.lr.ph2: ; preds = %23
br label %26
26: ; preds = %.lr.ph2, %33
%27 = load i32, ptr %3, align 4
%28 = call i64 @pinRead(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %26
store i32 1, ptr %2, align 4
br label %48
31: ; preds = %26
%32 = call i32 @delayUsBusy(i32 noundef 1)
br label %33
33: ; preds = %31
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %26, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %23
store i32 0, ptr %2, align 4
br label %48
39: ; preds = %19
%40 = call i32 @delayUsBusy(i32 noundef 1)
br label %41
41: ; preds = %39
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %19, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %1
%47 = call i32 @delayUsBusy(i32 noundef 1)
store i32 0, ptr %2, align 4
br label %48
48: ; preds = %46, %38, %30
%49 = load i32, ptr %2, align 4
ret i32 %49
}
declare i32 @pinPUD(i32 noundef, i32 noundef) #1
declare i32 @pinModeOut(i32 noundef) #1
declare i32 @pinLow(i32 noundef) #1
declare i32 @delayUsBusy(i32 noundef) #1
declare i32 @pinHigh(i32 noundef) #1
declare i32 @pinModeIn(i32 noundef) #1
declare i64 @pinRead(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/tmpujsq42kp.c'
source_filename = "/tmp/tmpujsq42kp.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"mibtable [-d][-i ifname][-m mibtable.dat][-o format] oid...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 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/tmpujsq42kp.c"
target datalayout = "e-m:e-p270: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 [61 x i8] c"mibtable [-d][-i ifname][-m mibtable.dat][-o format] oid...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 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/tmphnthwwp5.c'
source_filename = "/tmp/tmphnthwwp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"The value of X inside passbyvalue\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"value of x is %d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_passbyvalue(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %3, %4
store i32 %5, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr %2, align 4
ret i32 %9
}
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/tmphnthwwp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"The value of X inside passbyvalue\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"value of x is %d\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_passbyvalue(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %3, %4
store i32 %5, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr %2, align 4
ret i32 %9
}
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/tmpnib53b3u.c'
source_filename = "/tmp/tmpnib53b3u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"%d blanks, tabs, or new lines\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 0, ptr %3, align 4
br label %4
4: ; preds = %24, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %25
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 10
%11 = zext i1 %10 to i32
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 32
%14 = zext i1 %13 to i32
%15 = or i32 %11, %14
%16 = load i32, ptr %2, align 4
%17 = icmp eq i32 %16, 9
%18 = zext i1 %17 to i32
%19 = or i32 %15, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %8
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %21, %8
br label %4, !llvm.loop !6
25: ; preds = %4
%26 = load i32, ptr %3, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @getchar(...) #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/tmpnib53b3u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"%d blanks, tabs, or new lines\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 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %23
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 10
%10 = zext i1 %9 to i32
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 32
%13 = zext i1 %12 to i32
%14 = or i32 %10, %13
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 9
%17 = zext i1 %16 to i32
%18 = or i32 %14, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %7
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %7
%24 = call i32 (...) @getchar()
store i32 %24, ptr %2, align 4
%25 = load i32, ptr @EOF, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %3, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @getchar(...) #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/tmp7anw5mb1.c'
source_filename = "/tmp/tmp7anw5mb1.c"
target datalayout = "e-m:e-p270: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/tmp7anw5mb1.c"
target datalayout = "e-m:e-p270: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/tmpv01zyuyw.c'
source_filename = "/tmp/tmpv01zyuyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar2() #0 {
%1 = call i32 (...) @bar3()
ret i32 %1
}
declare i32 @bar3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv01zyuyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar2() #0 {
%1 = call i32 (...) @bar3()
ret i32 %1
}
declare i32 @bar3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjaddeg_a.c'
source_filename = "/tmp/tmpjaddeg_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_main(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
store ptr %0, ptr %2, align 8
store double 1.000000e+00, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = call i32 @printf(ptr noundef @.str, double noundef %4)
%6 = call i32 @pthread_exit(ptr noundef null)
ret ptr null
}
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjaddeg_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thread_main(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
store ptr %0, ptr %2, align 8
store double 1.000000e+00, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = call i32 @printf(ptr noundef @.str, double noundef %4)
%6 = call i32 @pthread_exit(ptr noundef null)
ret ptr null
}
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiv3ljnqh.c'
source_filename = "/tmp/tmpiv3ljnqh.c"
target datalayout = "e-m:e-p270: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/tmpiv3ljnqh.c"
target datalayout = "e-m:e-p270: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/tmpy3a0ckkv.c'
source_filename = "/tmp/tmpy3a0ckkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inv_dcache_range(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @maint_inv_range(i64 noundef %5, i64 noundef %6)
%8 = load i64, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = call i32 @outer_inv_range(i64 noundef %8, i64 noundef %9)
ret void
}
declare i32 @maint_inv_range(i64 noundef, i64 noundef) #1
declare i32 @outer_inv_range(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy3a0ckkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inv_dcache_range(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @maint_inv_range(i64 noundef %5, i64 noundef %6)
%8 = load i64, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = call i32 @outer_inv_range(i64 noundef %8, i64 noundef %9)
ret void
}
declare i32 @maint_inv_range(i64 noundef, i64 noundef) #1
declare i32 @outer_inv_range(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppjmpn8t8.c'
source_filename = "/tmp/tmppjmpn8t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"nfibs(%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %7
7: ; preds = %11, %2
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i32 1
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @atoi(ptr noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @fibs(i32 noundef %17)
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %18)
br label %7, !llvm.loop !6
20: ; preds = %7
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fibs(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/tmppjmpn8t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"nfibs(%d) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @fibs(i32 noundef %16)
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %4, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %22
22: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fibs(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/tmptgdc5hkt.c'
source_filename = "/tmp/tmptgdc5hkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptgdc5hkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx6xh1gou.c'
source_filename = "/tmp/tmpx6xh1gou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%s\09: %d\09:\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_flags(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6)
%8 = load i32, ptr %4, align 4
%9 = call i32 @binary_print(i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @binary_print(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/tmpx6xh1gou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%s\09: %d\09:\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_flags(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6)
%8 = load i32, ptr %4, align 4
%9 = call i32 @binary_print(i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @binary_print(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/tmpj4t05oxm.c'
source_filename = "/tmp/tmpj4t05oxm.c"
target datalayout = "e-m:e-p270: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/tmpj4t05oxm.c"
target datalayout = "e-m:e-p270: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/tmp1yzz7ff_.c'
source_filename = "/tmp/tmp1yzz7ff_.c"
target datalayout = "e-m:e-p270: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/tmp1yzz7ff_.c"
target datalayout = "e-m:e-p270: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/tmpc4t0qc55.c'
source_filename = "/tmp/tmpc4t0qc55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateIntDisable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store volatile i64 %0, ptr %2, align 8
%3 = load volatile i64, ptr %2, align 8
%4 = xor i64 %3, -1
%5 = load volatile i64, ptr inttoptr (i64 1074774036 to ptr), align 8
%6 = and i64 %5, %4
store volatile i64 %6, ptr inttoptr (i64 1074774036 to ptr), align 8
%7 = call i32 (...) @_HibernateWriteComplete()
ret void
}
declare i32 @_HibernateWriteComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc4t0qc55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateIntDisable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store volatile i64 %0, ptr %2, align 8
%3 = load volatile i64, ptr %2, align 8
%4 = xor i64 %3, -1
%5 = load volatile i64, ptr inttoptr (i64 1074774036 to ptr), align 8
%6 = and i64 %5, %4
store volatile i64 %6, ptr inttoptr (i64 1074774036 to ptr), align 8
%7 = call i32 (...) @_HibernateWriteComplete()
ret void
}
declare i32 @_HibernateWriteComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw8x4bpie.c'
source_filename = "/tmp/tmpw8x4bpie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ss_sort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = 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 ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %4
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %54, %11
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 32
br i1 %14, label %15, label %57
15: ; preds = %12
%16 = load ptr, ptr %7, align 8
%17 = call i32 @init(ptr noundef %16)
%18 = load i32, ptr %10, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = call i32 @hist(ptr noundef %21, ptr noundef %22, i32 noundef %23)
br label %30
25: ; preds = %15
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %9, align 4
%29 = call i32 @hist(ptr noundef %26, ptr noundef %27, i32 noundef %28)
br label %30
30: ; preds = %25, %20
%31 = load ptr, ptr %7, align 8
%32 = call i32 @local_scan(ptr noundef %31)
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %7, align 8
%35 = call i32 @sum_scan(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %8, align 8
%38 = call i32 @last_step_scan(ptr noundef %36, ptr noundef %37)
%39 = load i32, ptr %10, align 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %30
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %7, align 8
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %9, align 4
%46 = call i32 @update(ptr noundef %42, ptr noundef %43, ptr noundef %44, i32 noundef %45)
store i32 1, ptr %10, align 4
br label %53
47: ; preds = %30
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %9, align 4
%52 = call i32 @update(ptr noundef %48, ptr noundef %49, ptr noundef %50, i32 noundef %51)
store i32 0, ptr %10, align 4
br label %53
53: ; preds = %47, %41
br label %54
54: ; preds = %53
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 2
store i32 %56, ptr %9, align 4
br label %12, !llvm.loop !6
57: ; preds = %12
ret void
}
declare i32 @init(ptr noundef) #1
declare i32 @hist(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @local_scan(ptr noundef) #1
declare i32 @sum_scan(ptr noundef, ptr noundef) #1
declare i32 @last_step_scan(ptr noundef, ptr noundef) #1
declare i32 @update(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw8x4bpie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ss_sort(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = 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 ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %4
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp slt i32 %12, 32
br i1 %13, label %.lr.ph, label %58
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %53
%15 = load ptr, ptr %7, align 8
%16 = call i32 @init(ptr noundef %15)
%17 = load i32, ptr %10, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %9, align 4
%23 = call i32 @hist(ptr noundef %20, ptr noundef %21, i32 noundef %22)
br label %29
24: ; preds = %14
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = call i32 @hist(ptr noundef %25, ptr noundef %26, i32 noundef %27)
br label %29
29: ; preds = %24, %19
%30 = load ptr, ptr %7, align 8
%31 = call i32 @local_scan(ptr noundef %30)
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 @sum_scan(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = call i32 @last_step_scan(ptr noundef %35, ptr noundef %36)
%38 = load i32, ptr %10, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %29
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %9, align 4
%45 = call i32 @update(ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %44)
store i32 1, ptr %10, align 4
br label %52
46: ; preds = %29
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %9, align 4
%51 = call i32 @update(ptr noundef %47, ptr noundef %48, ptr noundef %49, i32 noundef %50)
store i32 0, ptr %10, align 4
br label %52
52: ; preds = %46, %40
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 2
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp slt i32 %56, 32
br i1 %57, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %11
ret void
}
declare i32 @init(ptr noundef) #1
declare i32 @hist(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @local_scan(ptr noundef) #1
declare i32 @sum_scan(ptr noundef, ptr noundef) #1
declare i32 @last_step_scan(ptr noundef, ptr noundef) #1
declare i32 @update(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpss6aqr6b.c'
source_filename = "/tmp/tmpss6aqr6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gapAdjustFold(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 ptr @projectString(ptr noundef %5, ptr noundef %6, i8 noundef signext 45, i8 noundef signext 32)
ret ptr %7
}
declare ptr @projectString(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpss6aqr6b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gapAdjustFold(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 ptr @projectString(ptr noundef %5, ptr noundef %6, i8 noundef signext 45, i8 noundef signext 32)
ret ptr %7
}
declare ptr @projectString(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo3dzq_zc.c'
source_filename = "/tmp/tmpo3dzq_zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"1. Cargar notas\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"2. Mostrar notas\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"3. Salir\0A\0AOpcion: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @menu() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @puts(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/tmpo3dzq_zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"1. Cargar notas\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"2. Mostrar notas\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"3. Salir\0A\0AOpcion: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @menu() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @puts(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/tmpsppye0kt.c'
source_filename = "/tmp/tmpsppye0kt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"asd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [100 x i8], align 16
%3 = alloca ptr, align 8
%4 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @f(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp eq i32 %7, 3
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 2
store i8 0, ptr %11, align 2
%12 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp eq i32 %13, 2
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @f(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @strlen(ptr noundef %20)
%22 = icmp eq i32 %21, 2
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
ret i32 0
}
declare i32 @f(ptr noundef, ptr noundef) #1
declare i32 @assert(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsppye0kt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"asd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [100 x i8], align 16
%3 = alloca ptr, align 8
%4 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @f(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp eq i32 %7, 3
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 2
store i8 0, ptr %11, align 2
%12 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp eq i32 %13, 2
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @f(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @strlen(ptr noundef %20)
%22 = icmp eq i32 %21, 2
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
ret i32 0
}
declare i32 @f(ptr noundef, ptr noundef) #1
declare i32 @assert(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"}
|
; ModuleID = '/tmp/tmphiezpbgf.c'
source_filename = "/tmp/tmphiezpbgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_matchn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %3, align 4
br label %94
15: ; preds = %9, %2
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %3, align 4
br label %94
24: ; preds = %18, %15
br label %25
25: ; preds = %24
%26 = load ptr, ptr %4, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %45
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %34, %37
br i1 %38, label %39, label %45
39: ; preds = %31
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 42
br i1 %43, label %44, label %45
44: ; preds = %39
store i32 0, ptr %3, align 4
br label %94
45: ; preds = %39, %31, %28, %25
%46 = load ptr, ptr %4, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %65
48: ; preds = %45
%49 = load ptr, ptr %5, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %65
51: ; preds = %48
%52 = load ptr, ptr %4, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = load ptr, ptr %5, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %54, %57
br i1 %58, label %59, label %65
59: ; preds = %51
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 1
%64 = call i32 @ft_matchn(ptr noundef %61, ptr noundef %63)
store i32 %64, ptr %3, align 4
br label %94
65: ; preds = %51, %48, %45
br label %66
66: ; preds = %65
%67 = load ptr, ptr %5, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %88
69: ; preds = %66
%70 = load ptr, ptr %5, align 8
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 42
br i1 %73, label %74, label %88
74: ; preds = %69
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 1
%77 = load ptr, ptr %5, align 8
%78 = call i32 @ft_matchn(ptr noundef %76, ptr noundef %77)
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, %78
store i32 %80, ptr %6, align 4
%81 = load ptr, ptr %4, align 8
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 1
%84 = call i32 @ft_matchn(ptr noundef %81, ptr noundef %83)
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %6, align 4
%87 = load i32, ptr %6, align 4
store i32 %87, ptr %3, align 4
br label %94
88: ; preds = %69, %66
%89 = load ptr, ptr %5, align 8
%90 = call i64 @end_star(ptr noundef %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i32 1, ptr %3, align 4
br label %94
93: ; preds = %88
store i32 0, ptr %3, align 4
br label %94
94: ; preds = %93, %92, %74, %59, %44, %23, %14
%95 = load i32, ptr %3, align 4
ret i32 %95
}
declare i64 @end_star(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphiezpbgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_matchn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %3, align 4
br label %94
15: ; preds = %9, %2
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %3, align 4
br label %94
24: ; preds = %18, %15
br label %25
25: ; preds = %24
%26 = load ptr, ptr %4, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %45
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %34, %37
br i1 %38, label %39, label %45
39: ; preds = %31
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 42
br i1 %43, label %44, label %45
44: ; preds = %39
store i32 0, ptr %3, align 4
br label %94
45: ; preds = %39, %31, %28, %25
%46 = load ptr, ptr %4, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %65
48: ; preds = %45
%49 = load ptr, ptr %5, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %65
51: ; preds = %48
%52 = load ptr, ptr %4, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = load ptr, ptr %5, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %54, %57
br i1 %58, label %59, label %65
59: ; preds = %51
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 1
%64 = call i32 @ft_matchn(ptr noundef %61, ptr noundef %63)
store i32 %64, ptr %3, align 4
br label %94
65: ; preds = %51, %48, %45
br label %66
66: ; preds = %65
%67 = load ptr, ptr %5, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %88
69: ; preds = %66
%70 = load ptr, ptr %5, align 8
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 42
br i1 %73, label %74, label %88
74: ; preds = %69
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 1
%77 = load ptr, ptr %5, align 8
%78 = call i32 @ft_matchn(ptr noundef %76, ptr noundef %77)
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, %78
store i32 %80, ptr %6, align 4
%81 = load ptr, ptr %4, align 8
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 1
%84 = call i32 @ft_matchn(ptr noundef %81, ptr noundef %83)
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %6, align 4
%87 = load i32, ptr %6, align 4
store i32 %87, ptr %3, align 4
br label %94
88: ; preds = %69, %66
%89 = load ptr, ptr %5, align 8
%90 = call i64 @end_star(ptr noundef %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i32 1, ptr %3, align 4
br label %94
93: ; preds = %88
store i32 0, ptr %3, align 4
br label %94
94: ; preds = %93, %92, %74, %59, %44, %23, %14
%95 = load i32, ptr %3, align 4
ret i32 %95
}
declare i64 @end_star(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf5ju7imn.c'
source_filename = "/tmp/tmpf5ju7imn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @a(i32 noundef 42)
ret i32 0
}
declare i32 @a(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/tmpf5ju7imn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @a(i32 noundef 42)
ret i32 0
}
declare i32 @a(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/tmp0qurflh7.c'
source_filename = "/tmp/tmp0qurflh7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_098(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @i_abs(ptr noundef %2)
ret i32 %3
}
declare i32 @i_abs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qurflh7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_098(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @i_abs(ptr noundef %2)
ret i32 %3
}
declare i32 @i_abs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.