llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpasxbnsxp.c'
source_filename = "/tmp/tmpasxbnsxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.frame = private unnamed_addr constant [25 x i8] c"000101011010110010101010\00", align 16
@.str = private unnamed_addr constant [39 x i8] c"/sys/devices/virtual/gpio/gpio44/value\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"%s: failed to open '%s':\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"0\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 [25 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.frame, i64 25, i1 false)
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %21, label %13
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.2, ptr noundef %17, ptr noundef @.str)
%19 = call i32 @perror(ptr noundef null)
%20 = call i32 @exit(i32 noundef 1) #4
unreachable
21: ; preds = %2
store i32 0, ptr %8, align 4
br label %22
22: ; preds = %40, %21
%23 = load i32, ptr %8, align 4
%24 = zext i32 %23 to i64
%25 = icmp ult i64 %24, 24
br i1 %25, label %26, label %43
26: ; preds = %22
%27 = load i32, ptr %8, align 4
%28 = zext i32 %27 to i64
%29 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = xor i32 %31, 1
%33 = trunc i32 %32 to i8
store i8 %33, ptr %9, align 1
%34 = load i8, ptr %9, align 1
%35 = load ptr, ptr %7, align 8
%36 = call i32 @fputc(i8 noundef zeroext %34, ptr noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = call i32 @fflush(ptr noundef %37)
%39 = call i32 @usleep(i32 noundef 1800)
br label %40
40: ; preds = %26
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, 1
store i32 %42, ptr %8, align 4
br label %22, !llvm.loop !6
43: ; preds = %22
%44 = load ptr, ptr %7, align 8
%45 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %44)
%46 = load ptr, ptr %7, align 8
%47 = call i32 @fclose(ptr noundef %46)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @fputc(i8 noundef zeroext, ptr noundef) #2
declare i32 @fflush(ptr noundef) #2
declare i32 @usleep(i32 noundef) #2
declare i32 @fputs(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpasxbnsxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.frame = private unnamed_addr constant [25 x i8] c"000101011010110010101010\00", align 16
@.str = private unnamed_addr constant [39 x i8] c"/sys/devices/virtual/gpio/gpio44/value\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"%s: failed to open '%s':\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"0\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 [25 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.frame, i64 25, i1 false)
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %21, label %13
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.2, ptr noundef %17, ptr noundef @.str)
%19 = call i32 @perror(ptr noundef null)
%20 = call i32 @exit(i32 noundef 1) #4
unreachable
21: ; preds = %2
store i32 0, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = zext i32 %22 to i64
%24 = icmp ult i64 %23, 24
br i1 %24, label %.lr.ph, label %45
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %39
%26 = load i32, ptr %8, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = xor i32 %30, 1
%32 = trunc i32 %31 to i8
store i8 %32, ptr %9, align 1
%33 = load i8, ptr %9, align 1
%34 = load ptr, ptr %7, align 8
%35 = call i32 @fputc(i8 noundef zeroext %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = call i32 @fflush(ptr noundef %36)
%38 = call i32 @usleep(i32 noundef 1800)
br label %39
39: ; preds = %25
%40 = load i32, ptr %8, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = zext i32 %42 to i64
%44 = icmp ult i64 %43, 24
br i1 %44, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %21
%46 = load ptr, ptr %7, align 8
%47 = call i32 @fputs(ptr noundef @.str.3, ptr noundef %46)
%48 = load ptr, ptr %7, align 8
%49 = call i32 @fclose(ptr noundef %48)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @fputc(i8 noundef zeroext, ptr noundef) #2
declare i32 @fflush(ptr noundef) #2
declare i32 @usleep(i32 noundef) #2
declare i32 @fputs(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2geeqwan.c'
source_filename = "/tmp/tmp2geeqwan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"the second exit handler\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2geeqwan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"the second exit handler\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppuye7ejd.c'
source_filename = "/tmp/tmppuye7ejd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_MODELVIEW_MATRIX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_vGLTranslate(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 i32, ptr @GL_MODELVIEW_MATRIX, align 4
%6 = call i32 @glMatrixMode(i32 noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @glLoadMatrixf(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 2
%17 = load i32, ptr %16, align 4
%18 = call i32 @glTranslatef(i32 noundef %11, i32 noundef %14, i32 noundef %17)
%19 = load i32, ptr @GL_MODELVIEW_MATRIX, align 4
%20 = load ptr, ptr %3, align 8
%21 = call i32 @glGetFloatv(i32 noundef %19, ptr noundef %20)
ret void
}
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadMatrixf(ptr noundef) #1
declare i32 @glTranslatef(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glGetFloatv(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/tmppuye7ejd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_MODELVIEW_MATRIX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_vGLTranslate(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 i32, ptr @GL_MODELVIEW_MATRIX, align 4
%6 = call i32 @glMatrixMode(i32 noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @glLoadMatrixf(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 2
%17 = load i32, ptr %16, align 4
%18 = call i32 @glTranslatef(i32 noundef %11, i32 noundef %14, i32 noundef %17)
%19 = load i32, ptr @GL_MODELVIEW_MATRIX, align 4
%20 = load ptr, ptr %3, align 8
%21 = call i32 @glGetFloatv(i32 noundef %19, ptr noundef %20)
ret void
}
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadMatrixf(ptr noundef) #1
declare i32 @glTranslatef(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glGetFloatv(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/tmpd67081fe.c'
source_filename = "/tmp/tmpd67081fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.string = private unnamed_addr constant [12 x i8] c"foobar12345\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string, i64 12, i1 false)
%3 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @my_strrev(ptr noundef %3)
%5 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @my_strrev(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd67081fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.string = private unnamed_addr constant [12 x i8] c"foobar12345\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string, i64 12, i1 false)
%3 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @my_strrev(ptr noundef %3)
%5 = getelementptr inbounds [12 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @my_strrev(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr1u1rx8d.c'
source_filename = "/tmp/tmpr1u1rx8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_pid(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @unlink(ptr noundef %7)
br label %9
9: ; preds = %6, %1
ret void
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1u1rx8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_pid(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @unlink(ptr noundef %7)
br label %9
9: ; preds = %6, %1
ret void
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpue_0bttq.c'
source_filename = "/tmp/tmpue_0bttq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_all_permutation(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
9: ; preds = %2
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
br label %20
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @permutation(ptr noundef %16, i32 noundef 0, i32 noundef %18)
br label %20
20: ; preds = %15, %12
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %8
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @permutation(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpue_0bttq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_all_permutation(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
9: ; preds = %2
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
br label %20
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @permutation(ptr noundef %16, i32 noundef 0, i32 noundef %18)
br label %20
20: ; preds = %15, %12
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %20, %8
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @permutation(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8etkrl2w.c'
source_filename = "/tmp/tmp8etkrl2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"About to start countdown...\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Counting down...%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"0 - countdown over!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @timer_start(i32 noundef 1, i32 noundef 1)
store i32 10, ptr %2, align 4
br label %5
5: ; preds = %12, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = call i32 (...) @pause()
%10 = load i32, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
br label %12
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = call i32 (...) @timer_stop()
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @timer_start(i32 noundef, i32 noundef) #1
declare i32 @pause(...) #1
declare i32 @timer_stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8etkrl2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"About to start countdown...\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Counting down...%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"0 - countdown over!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @timer_start(i32 noundef 1, i32 noundef 1)
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %11
%8 = call i32 (...) @pause()
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
br label %11
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = call i32 (...) @timer_stop()
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @timer_start(i32 noundef, i32 noundef) #1
declare i32 @pause(...) #1
declare i32 @timer_stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl46bc_tj.c'
source_filename = "/tmp/tmpl46bc_tj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl46bc_tj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcy7s0j9l.c'
source_filename = "/tmp/tmpcy7s0j9l.c"
target datalayout = "e-m:e-p270: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/tmpcy7s0j9l.c"
target datalayout = "e-m:e-p270: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/tmptbf512wk.c'
source_filename = "/tmp/tmptbf512wk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"thread #%ld!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @function(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i64
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = call i32 @printf(ptr noundef @.str, i64 noundef %7)
%9 = call i32 @pthread_exit(ptr noundef null)
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare i32 @printf(ptr noundef, i64 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/tmptbf512wk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"thread #%ld!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @function(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i64
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = call i32 @printf(ptr noundef @.str, i64 noundef %7)
%9 = call i32 @pthread_exit(ptr noundef null)
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare i32 @printf(ptr noundef, i64 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/tmpy2h0srx0.c'
source_filename = "/tmp/tmpy2h0srx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
@FTS_AGAIN = dso_local global i32 0, align 4
@FTS_FOLLOW = dso_local global i32 0, align 4
@FTS_NOINSTR = dso_local global i32 0, align 4
@FTS_SKIP = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fts_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %28
10: ; preds = %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr @FTS_AGAIN, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr @FTS_FOLLOW, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %28
18: ; preds = %14
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr @FTS_NOINSTR, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %28
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @FTS_SKIP, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = load i32, ptr @EINVAL, align 4
store i32 %27, ptr @errno, align 4
store i32 1, ptr %4, align 4
br label %32
28: ; preds = %22, %18, %14, %10, %3
%29 = load i32, ptr %7, align 4
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0
store i32 %29, ptr %31, align 4
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %28, %26
%33 = load i32, ptr %4, align 4
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy2h0srx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
@FTS_AGAIN = dso_local global i32 0, align 4
@FTS_FOLLOW = dso_local global i32 0, align 4
@FTS_NOINSTR = dso_local global i32 0, align 4
@FTS_SKIP = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fts_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %28
10: ; preds = %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr @FTS_AGAIN, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr @FTS_FOLLOW, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %28
18: ; preds = %14
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr @FTS_NOINSTR, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %28
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @FTS_SKIP, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = load i32, ptr @EINVAL, align 4
store i32 %27, ptr @errno, align 4
store i32 1, ptr %4, align 4
br label %32
28: ; preds = %22, %18, %14, %10, %3
%29 = load i32, ptr %7, align 4
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0
store i32 %29, ptr %31, align 4
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %28, %26
%33 = load i32, ptr %4, align 4
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4acy9tqc.c'
source_filename = "/tmp/tmp4acy9tqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compound_return_no_leak() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 4)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4acy9tqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compound_return_no_leak() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 4)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy8_zu563.c'
source_filename = "/tmp/tmpy8_zu563.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_08() #0 {
%1 = call i32 (...) @ld_nn_sp()
ret void
}
declare i32 @ld_nn_sp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy8_zu563.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_08() #0 {
%1 = call i32 (...) @ld_nn_sp()
ret void
}
declare i32 @ld_nn_sp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc_5o1jnq.c'
source_filename = "/tmp/tmpc_5o1jnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibAddRequest(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
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
%17 = load ptr, ptr %9, align 8
%18 = call i32 @ILibGetRawPacket(ptr noundef %17, ptr noundef %16)
store i32 %18, ptr %15, align 4
%19 = load ptr, ptr %9, align 8
%20 = call i32 @ILibDestructPacket(ptr noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %16, align 8
%23 = load i32, ptr %15, align 4
%24 = load ptr, ptr %10, align 8
%25 = load ptr, ptr %11, align 8
%26 = load ptr, ptr %12, align 8
%27 = load ptr, ptr %13, align 8
%28 = load ptr, ptr %14, align 8
%29 = call i32 @ILibAddRequest_DirectEx(ptr noundef %21, ptr noundef %22, i32 noundef %23, ptr noundef null, i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
ret void
}
declare i32 @ILibGetRawPacket(ptr noundef, ptr noundef) #1
declare i32 @ILibDestructPacket(ptr noundef) #1
declare i32 @ILibAddRequest_DirectEx(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_5o1jnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibAddRequest(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
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
%17 = load ptr, ptr %9, align 8
%18 = call i32 @ILibGetRawPacket(ptr noundef %17, ptr noundef %16)
store i32 %18, ptr %15, align 4
%19 = load ptr, ptr %9, align 8
%20 = call i32 @ILibDestructPacket(ptr noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %16, align 8
%23 = load i32, ptr %15, align 4
%24 = load ptr, ptr %10, align 8
%25 = load ptr, ptr %11, align 8
%26 = load ptr, ptr %12, align 8
%27 = load ptr, ptr %13, align 8
%28 = load ptr, ptr %14, align 8
%29 = call i32 @ILibAddRequest_DirectEx(ptr noundef %21, ptr noundef %22, i32 noundef %23, ptr noundef null, i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
ret void
}
declare i32 @ILibGetRawPacket(ptr noundef, ptr noundef) #1
declare i32 @ILibDestructPacket(ptr noundef) #1
declare i32 @ILibAddRequest_DirectEx(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpitjdgv18.c'
source_filename = "/tmp/tmpitjdgv18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tt_process(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 @tt_process_monsters(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @tt_process_items(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @dm_process_tiles(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @ge_process(ptr noundef %9)
%11 = call i32 (...) @tt_process_status_effects()
ret void
}
declare i32 @tt_process_monsters(ptr noundef) #1
declare i32 @tt_process_items(ptr noundef) #1
declare i32 @dm_process_tiles(ptr noundef) #1
declare i32 @ge_process(ptr noundef) #1
declare i32 @tt_process_status_effects(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpitjdgv18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tt_process(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 @tt_process_monsters(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @tt_process_items(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @dm_process_tiles(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @ge_process(ptr noundef %9)
%11 = call i32 (...) @tt_process_status_effects()
ret void
}
declare i32 @tt_process_monsters(ptr noundef) #1
declare i32 @tt_process_items(ptr noundef) #1
declare i32 @dm_process_tiles(ptr noundef) #1
declare i32 @ge_process(ptr noundef) #1
declare i32 @tt_process_status_effects(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdhtz3_2h.c'
source_filename = "/tmp/tmpdhtz3_2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFREG = 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/tmpdhtz3_2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFREG = 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/tmpmuv6orbp.c'
source_filename = "/tmp/tmpmuv6orbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i64 }
@.str = private unnamed_addr constant [16 x i8] c"timezone offset\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @guess_by_timezone_offset() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca float, align 4
%6 = call i32 @time(ptr noundef null)
store i32 %6, ptr %1, align 4
%7 = call ptr @localtime(ptr noundef %1)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %11, 60
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %12, %15
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = mul nsw i32 %17, 60
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 2
%21 = load i32, ptr %20, align 8
%22 = add nsw i32 %18, %21
store i32 %22, ptr %2, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3
%25 = load i64, ptr %24, align 8
%26 = icmp sgt i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %0
%28 = load i32, ptr %2, align 4
%29 = sub nsw i32 %28, 3600
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %0
%31 = load i32, ptr %1, align 4
%32 = srem i32 %31, 86400
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %1, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 30
%38 = sdiv i32 %37, 60
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 15
%41 = sdiv i32 %40, 30
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = sitofp i32 %42 to float
%44 = fmul float %43, 1.800000e+02
%45 = fdiv float %44, 1.200000e+01
%46 = fdiv float %45, 2.000000e+00
store float %46, ptr %5, align 4
%47 = load float, ptr %5, align 4
%48 = fcmp ogt float %47, 1.800000e+02
br i1 %48, label %49, label %52
49: ; preds = %30
%50 = load float, ptr %5, align 4
%51 = fsub float %50, 3.600000e+02
store float %51, ptr %5, align 4
br label %52
52: ; preds = %49, %30
%53 = load float, ptr %5, align 4
%54 = fcmp olt float %53, -1.800000e+02
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load float, ptr %5, align 4
%57 = fadd float %56, 3.600000e+02
store float %57, ptr %5, align 4
br label %58
58: ; preds = %55, %52
%59 = load float, ptr %5, align 4
%60 = call i32 @report(float noundef 0.000000e+00, float noundef %59, ptr noundef @.str, i32 noundef 0, i32 noundef 0)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @report(float noundef, float noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmuv6orbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i64 }
@.str = private unnamed_addr constant [16 x i8] c"timezone offset\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @guess_by_timezone_offset() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca float, align 4
%6 = call i32 @time(ptr noundef null)
store i32 %6, ptr %1, align 4
%7 = call ptr @localtime(ptr noundef %1)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %11, 60
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %12, %15
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = mul nsw i32 %17, 60
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 2
%21 = load i32, ptr %20, align 8
%22 = add nsw i32 %18, %21
store i32 %22, ptr %2, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3
%25 = load i64, ptr %24, align 8
%26 = icmp sgt i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %0
%28 = load i32, ptr %2, align 4
%29 = sub nsw i32 %28, 3600
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %0
%31 = load i32, ptr %1, align 4
%32 = srem i32 %31, 86400
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %1, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 30
%38 = sdiv i32 %37, 60
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 15
%41 = sdiv i32 %40, 30
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = sitofp i32 %42 to float
%44 = fmul float %43, 1.800000e+02
%45 = fdiv float %44, 1.200000e+01
%46 = fdiv float %45, 2.000000e+00
store float %46, ptr %5, align 4
%47 = load float, ptr %5, align 4
%48 = fcmp ogt float %47, 1.800000e+02
br i1 %48, label %49, label %52
49: ; preds = %30
%50 = load float, ptr %5, align 4
%51 = fsub float %50, 3.600000e+02
store float %51, ptr %5, align 4
br label %52
52: ; preds = %49, %30
%53 = load float, ptr %5, align 4
%54 = fcmp olt float %53, -1.800000e+02
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load float, ptr %5, align 4
%57 = fadd float %56, 3.600000e+02
store float %57, ptr %5, align 4
br label %58
58: ; preds = %55, %52
%59 = load float, ptr %5, align 4
%60 = call i32 @report(float noundef 0.000000e+00, float noundef %59, ptr noundef @.str, i32 noundef 0, i32 noundef 0)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @report(float noundef, float noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnh5xqs40.c'
source_filename = "/tmp/tmpnh5xqs40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DTV_DELIVERY_SYSTEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dvbfe_get_delsys(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @DTV_DELIVERY_SYSTEM, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @get_property(i32 noundef %6, i32 noundef %7, ptr noundef %5, ptr noundef %8)
ret i32 %9
}
declare i32 @get_property(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnh5xqs40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DTV_DELIVERY_SYSTEM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dvbfe_get_delsys(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @DTV_DELIVERY_SYSTEM, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @get_property(i32 noundef %6, i32 noundef %7, ptr noundef %5, ptr noundef %8)
ret i32 %9
}
declare i32 @get_property(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsk83w1gf.c'
source_filename = "/tmp/tmpsk83w1gf.c"
target datalayout = "e-m:e-p270: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/tmpsk83w1gf.c"
target datalayout = "e-m:e-p270: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/tmpx7my5ccc.c'
source_filename = "/tmp/tmpx7my5ccc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getparm(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
%12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 62)
store ptr %12, ptr %7, align 8
br label %13
13: ; preds = %2, %29
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @strstr(ptr noundef %14, ptr noundef %15)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %13
store ptr null, ptr %3, align 8
br label %57
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i32 @isalnum(i8 noundef signext %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %20
br label %30
29: ; preds = %20
br label %13
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
%36 = icmp uge ptr %34, %35
br i1 %36, label %37, label %38
37: ; preds = %33
store ptr null, ptr %3, align 8
br label %57
38: ; preds = %33, %30
%39 = load i32, ptr %8, align 4
%40 = load ptr, ptr %6, align 8
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store ptr %42, ptr %6, align 8
br label %43
43: ; preds = %49, %38
%44 = load ptr, ptr %6, align 8
%45 = load i8, ptr %44, align 1
%46 = icmp ne i8 %45, 0
br i1 %46, label %48, label %47
47: ; preds = %43
store ptr null, ptr %3, align 8
br label %57
48: ; preds = %43
br label %49
49: ; preds = %48
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
%52 = load i8, ptr %50, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 34
br i1 %54, label %43, label %55, !llvm.loop !6
55: ; preds = %49
%56 = load ptr, ptr %6, align 8
store ptr %56, ptr %3, align 8
br label %57
57: ; preds = %55, %47, %37, %19
%58 = load ptr, ptr %3, align 8
ret ptr %58
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @isalnum(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx7my5ccc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getparm(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
%12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 62)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @strstr(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %24, label %.lr.ph
.lr.ph: ; preds = %2
br label %25
18: ; preds = %25
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = call ptr @strstr(ptr noundef %19, ptr noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %._crit_edge, label %25
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %61
25: ; preds = %.lr.ph, %18
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = call i32 @isalnum(i8 noundef signext %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %18, label %33
33: ; preds = %25
br label %34
34: ; preds = %33
%35 = load ptr, ptr %7, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %7, align 8
%40 = icmp uge ptr %38, %39
br i1 %40, label %41, label %42
41: ; preds = %37
store ptr null, ptr %3, align 8
br label %61
42: ; preds = %37, %34
%43 = load i32, ptr %8, align 4
%44 = load ptr, ptr %6, align 8
%45 = sext i32 %43 to i64
%46 = getelementptr inbounds i8, ptr %44, i64 %45
store ptr %46, ptr %6, align 8
br label %47
47: ; preds = %53, %42
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = icmp ne i8 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47
store ptr null, ptr %3, align 8
br label %61
52: ; preds = %47
br label %53
53: ; preds = %52
%54 = load ptr, ptr %6, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %6, align 8
%56 = load i8, ptr %54, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 34
br i1 %58, label %47, label %59, !llvm.loop !6
59: ; preds = %53
%60 = load ptr, ptr %6, align 8
store ptr %60, ptr %3, align 8
br label %61
61: ; preds = %59, %51, %41, %24
%62 = load ptr, ptr %3, align 8
ret ptr %62
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @isalnum(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphv2pdm7t.c'
source_filename = "/tmp/tmphv2pdm7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abac_get_issuer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @X509_get_issuer_name(ptr noundef %4)
%6 = call ptr @X509_NAME_oneline(i32 noundef %5, i32 noundef 0, i32 noundef 0)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare ptr @X509_NAME_oneline(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @X509_get_issuer_name(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphv2pdm7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abac_get_issuer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @X509_get_issuer_name(ptr noundef %4)
%6 = call ptr @X509_NAME_oneline(i32 noundef %5, i32 noundef 0, i32 noundef 0)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare ptr @X509_NAME_oneline(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @X509_get_issuer_name(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8yqfcri1.c'
source_filename = "/tmp/tmp8yqfcri1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_time_string(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.tm, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 0
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %12, align 4
%14 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1
%15 = load i32, ptr %7, align 4
store i32 %15, ptr %14, align 4
%16 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 2
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %16, align 4
%18 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 3
%19 = load i32, ptr %9, align 4
store i32 %19, ptr %18, align 4
%20 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 4
store i32 0, ptr %20, align 4
%21 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 5
%22 = load i32, ptr %10, align 4
%23 = add nsw i32 100, %22
store i32 %23, ptr %21, align 4
%24 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 6
store i32 0, ptr %24, align 4
%25 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 7
store i32 0, ptr %25, align 4
%26 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 8
store i32 -1, ptr %26, align 4
%27 = call i32 @mktime(ptr noundef %11)
%28 = call ptr @asctime(ptr noundef %11)
ret ptr %28
}
declare i32 @mktime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yqfcri1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_time_string(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.tm, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 0
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %12, align 4
%14 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1
%15 = load i32, ptr %7, align 4
store i32 %15, ptr %14, align 4
%16 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 2
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %16, align 4
%18 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 3
%19 = load i32, ptr %9, align 4
store i32 %19, ptr %18, align 4
%20 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 4
store i32 0, ptr %20, align 4
%21 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 5
%22 = load i32, ptr %10, align 4
%23 = add nsw i32 100, %22
store i32 %23, ptr %21, align 4
%24 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 6
store i32 0, ptr %24, align 4
%25 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 7
store i32 0, ptr %25, align 4
%26 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 8
store i32 -1, ptr %26, align 4
%27 = call i32 @mktime(ptr noundef %11)
%28 = call ptr @asctime(ptr noundef %11)
ret ptr %28
}
declare i32 @mktime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppkx6233r.c'
source_filename = "/tmp/tmppkx6233r.c"
target datalayout = "e-m:e-p270: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/tmppkx6233r.c"
target datalayout = "e-m:e-p270: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/tmpzc4volef.c'
source_filename = "/tmp/tmpzc4volef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlwrap_dlsym(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 @dlsym(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @dlsym(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/tmpzc4volef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlwrap_dlsym(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 @dlsym(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
ret ptr %9
}
declare ptr @dlsym(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/tmp4vaf9wbs.c'
source_filename = "/tmp/tmp4vaf9wbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"compress BMP file into JPEG file.\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c" cjpeg {BMP} {JPEG}\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Author: Yu, Le <yeolar@gmail.com>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4vaf9wbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"compress BMP file into JPEG file.\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c" cjpeg {BMP} {JPEG}\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Author: Yu, Le <yeolar@gmail.com>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp3frzje3.c'
source_filename = "/tmp/tmpp3frzje3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bla1ge(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 10
%5 = load i32, ptr @INT_MIN, align 4
%6 = add nsw i32 %5, 10
%7 = icmp sge i32 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @this_comparison_is_true()
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @this_comparison_is_true(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp3frzje3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bla1ge(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 10
%5 = load i32, ptr @INT_MIN, align 4
%6 = add nsw i32 %5, 10
%7 = icmp sge i32 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @this_comparison_is_true()
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @this_comparison_is_true(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyyh4i1l7.c'
source_filename = "/tmp/tmpyyh4i1l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"enter the no of array elements\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"enter the elements\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"enter the element to be searched\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"element found at position %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"element not found\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 [50 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %20, %0
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %17
%19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %39, %23
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %42
30: ; preds = %26
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %38
37: ; preds = %30
store i32 1, ptr %6, align 4
br label %43
38: ; preds = %30
br label %39
39: ; preds = %38
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %26, !llvm.loop !8
42: ; preds = %26
br label %43
43: ; preds = %42, %37
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 1
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %48)
br label %52
50: ; preds = %43
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %52
52: ; preds = %50, %46
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyyh4i1l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"enter the no of array elements\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"enter the elements\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"enter the element to be searched\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"element found at position %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"element not found\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 [50 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %19
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %16
%18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %17)
br label %19
19: ; preds = %14
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
store i32 0, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %46
.lr.ph2: ; preds = %25
br label %31
31: ; preds = %.lr.ph2, %40
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [50 x i32], ptr %4, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %31
store i32 1, ptr %6, align 4
br label %47
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %25
br label %47
47: ; preds = %46, %38
%48 = load i32, ptr %6, align 4
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %54
50: ; preds = %47
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %52)
br label %56
54: ; preds = %47
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %56
56: ; preds = %54, %50
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuja2n6g6.c'
source_filename = "/tmp/tmpuja2n6g6.c"
target datalayout = "e-m:e-p270: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/tmpuja2n6g6.c"
target datalayout = "e-m:e-p270: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/tmp127wuvpt.c'
source_filename = "/tmp/tmp127wuvpt.c"
target datalayout = "e-m:e-p270: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
; 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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %39, %0
%6 = call i32 (...) @getchar()
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %40
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 9
br i1 %11, label %12, label %27
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
%15 = srem i32 %14, 5
%16 = sub nsw i32 5, %15
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %20, %12
%18 = load i32, ptr %3, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = call i32 @putchar(i32 noundef 32)
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %3, align 4
br label %17, !llvm.loop !6
26: ; preds = %17
br label %39
27: ; preds = %9
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 10
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = call i32 @putchar(i32 noundef %31)
store i32 1, ptr %4, align 4
br label %38
33: ; preds = %27
%34 = load i32, ptr %2, align 4
%35 = call i32 @putchar(i32 noundef %34)
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %33, %30
br label %39
39: ; preds = %38, %26
br label %5, !llvm.loop !8
40: ; preds = %5
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(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/tmp127wuvpt.c"
target datalayout = "e-m:e-p270: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
; 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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
%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 %.lr.ph2, label %43
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %39
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 9
br i1 %10, label %11, label %27
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = srem i32 %13, 5
%15 = sub nsw i32 5, %14
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %.lr.ph, label %26
.lr.ph: ; preds = %11
br label %18
18: ; preds = %.lr.ph, %18
%19 = call i32 @putchar(i32 noundef 32)
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %26
26: ; preds = %._crit_edge, %11
br label %39
27: ; preds = %8
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 10
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = call i32 @putchar(i32 noundef %31)
store i32 1, ptr %4, align 4
br label %38
33: ; preds = %27
%34 = load i32, ptr %2, align 4
%35 = call i32 @putchar(i32 noundef %34)
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %33, %30
br label %39
39: ; preds = %38, %26
%40 = call i32 (...) @getchar()
store i32 %40, ptr %2, align 4
%41 = load i32, ptr @EOF, align 4
%42 = icmp ne i32 %40, %41
br i1 %42, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %43
43: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(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/tmp0wkdoc9j.c'
source_filename = "/tmp/tmp0wkdoc9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/securedir\00", align 1
@__const.main.sfn = private unnamed_addr constant [23 x i8] c"/securedir/temp-XXXXXX\00", align 16
@.str.1 = private unnamed_addr constant [33 x i8] c"Could not create temporary file\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Could not open temp file to write\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [23 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.sfn, i64 23, i1 false)
%6 = getelementptr inbounds [23 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @mkstemp(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %0
%13 = load i32, ptr %5, align 4
%14 = call ptr @fdopen(i32 noundef %13, ptr noundef @.str.2)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %17, %12
%22 = load ptr, ptr %4, align 8
%23 = call i32 @fwrite(ptr noundef @.str.4, i32 noundef 10, i32 noundef 1, ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fclose(ptr noundef %24)
%26 = getelementptr inbounds [23 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @unlink(ptr noundef %26)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @mkstemp(ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare ptr @fdopen(i32 noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @unlink(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0wkdoc9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/securedir\00", align 1
@__const.main.sfn = private unnamed_addr constant [23 x i8] c"/securedir/temp-XXXXXX\00", align 16
@.str.1 = private unnamed_addr constant [33 x i8] c"Could not create temporary file\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Could not open temp file to write\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [23 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.sfn, i64 23, i1 false)
%6 = getelementptr inbounds [23 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @mkstemp(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %0
%13 = load i32, ptr %5, align 4
%14 = call ptr @fdopen(i32 noundef %13, ptr noundef @.str.2)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = call i32 @close(i32 noundef %18)
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %17, %12
%22 = load ptr, ptr %4, align 8
%23 = call i32 @fwrite(ptr noundef @.str.4, i32 noundef 10, i32 noundef 1, ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fclose(ptr noundef %24)
%26 = getelementptr inbounds [23 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @unlink(ptr noundef %26)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @mkstemp(ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare ptr @fdopen(i32 noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @unlink(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp15lj9jif.c'
source_filename = "/tmp/tmp15lj9jif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Asum: %llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %16, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2000000
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = call i64 @isPrime(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = load i64, ptr %2, align 8
%15 = add i64 %14, %13
store i64 %15, ptr %2, align 8
br label %16
16: ; preds = %11, %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
%20 = load i64, ptr %2, align 8
%21 = call i32 @printf(ptr noundef @.str, i64 noundef %20)
ret i32 0
}
declare i64 @isPrime(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp15lj9jif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Asum: %llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 2000000
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i32, ptr %3, align 4
%8 = call i64 @isPrime(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = load i64, ptr %2, align 8
%14 = add i64 %13, %12
store i64 %14, ptr %2, align 8
br label %15
15: ; preds = %10, %6
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 2000000
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = load i64, ptr %2, align 8
%22 = call i32 @printf(ptr noundef @.str, i64 noundef %21)
ret i32 0
}
declare i64 @isPrime(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp92ud_3vz.c'
source_filename = "/tmp/tmp92ud_3vz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp92ud_3vz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptxek7zug.c'
source_filename = "/tmp/tmptxek7zug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@tochar.s = internal global [20 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [7 x i8] c"%12.5E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tochar(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = load float, ptr %3, align 4
%9 = call i32 @sprintf(ptr noundef @tochar.s, ptr noundef @.str, float noundef %8)
store i32 9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 2
store i32 %11, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %27, %2
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %30
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [20 x i8], ptr @tochar.s, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [20 x i8], ptr @tochar.s, i64 0, i64 %25
store i8 %21, ptr %26, align 1
br label %27
27: ; preds = %15
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %12, !llvm.loop !6
30: ; preds = %12
ret ptr getelementptr inbounds (i8, ptr @tochar.s, i64 1)
}
declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxek7zug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@tochar.s = internal global [20 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [7 x i8] c"%12.5E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tochar(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = load float, ptr %3, align 4
%9 = call i32 @sprintf(ptr noundef @tochar.s, ptr noundef @.str, float noundef %8)
store i32 9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 2
store i32 %11, ptr %6, align 4
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %26
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %15, %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i8], ptr @tochar.s, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [20 x i8], ptr @tochar.s, i64 0, i64 %24
store i8 %20, ptr %25, align 1
br label %26
26: ; preds = %14
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 4
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %2
ret ptr getelementptr inbounds (i8, ptr @tochar.s, i64 1)
}
declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo8ap8mxd.c'
source_filename = "/tmp/tmpo8ap8mxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"vmq_passwd is a tool for managing password files for VerneMQ.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Usage: vmq_passwd [-c | -D] passwordfile username\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c" vmq_passwd -U passwordfile\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" -c : create a new password file. This will overwrite existing files.\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c" -D : delete the username rather than adding/updating its password.\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" -U : update a plain text password file to use hashed passwords.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8ap8mxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"vmq_passwd is a tool for managing password files for VerneMQ.\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Usage: vmq_passwd [-c | -D] passwordfile username\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c" vmq_passwd -U passwordfile\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" -c : create a new password file. This will overwrite existing files.\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c" -D : delete the username rather than adding/updating its password.\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c" -U : update a plain text password file to use hashed passwords.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpov1mtywf.c'
source_filename = "/tmp/tmpov1mtywf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%H/1,%M/1,%S/1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ert_exif_format_time(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @ert_format_timestamp(ptr noundef %7, ptr noundef @.str, i64 noundef %8, ptr noundef %9)
ret void
}
declare i32 @ert_format_timestamp(ptr noundef, ptr noundef, i64 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/tmpov1mtywf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%H/1,%M/1,%S/1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ert_exif_format_time(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @ert_format_timestamp(ptr noundef %7, ptr noundef @.str, i64 noundef %8, ptr noundef %9)
ret void
}
declare i32 @ert_format_timestamp(ptr noundef, ptr noundef, i64 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/tmpedgoc6ig.c'
source_filename = "/tmp/tmpedgoc6ig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toktype_infer_narrowest_type(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @toktype_is_na_marker(ptr noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call i64 @_is_valid_octal(ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
store i32 8, ptr %19, align 4
br label %20
20: ; preds = %18, %15
store i32 2, ptr %3, align 4
br label %50
21: ; preds = %2
%22 = load ptr, ptr %4, align 8
%23 = call i64 @_is_valid_decimal(ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
store i32 10, ptr %29, align 4
br label %30
30: ; preds = %28, %25
store i32 2, ptr %3, align 4
br label %50
31: ; preds = %21
%32 = load ptr, ptr %4, align 8
%33 = call i64 @_is_valid_hexadecimal(ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load ptr, ptr %5, align 8
store i32 16, ptr %39, align 4
br label %40
40: ; preds = %38, %35
store i32 2, ptr %3, align 4
br label %50
41: ; preds = %31
%42 = load ptr, ptr %4, align 8
%43 = call i64 @_is_valid_fp(ptr noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %41
store i32 4, ptr %3, align 4
br label %50
46: ; preds = %41
br label %47
47: ; preds = %46
br label %48
48: ; preds = %47
br label %49
49: ; preds = %48
store i32 1, ptr %3, align 4
br label %50
50: ; preds = %49, %45, %40, %30, %20
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @assert(i32 noundef) #1
declare i32 @toktype_is_na_marker(ptr noundef) #1
declare i64 @_is_valid_octal(ptr noundef) #1
declare i64 @_is_valid_decimal(ptr noundef) #1
declare i64 @_is_valid_hexadecimal(ptr noundef) #1
declare i64 @_is_valid_fp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedgoc6ig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toktype_infer_narrowest_type(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @toktype_is_na_marker(ptr noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call i64 @_is_valid_octal(ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
store i32 8, ptr %19, align 4
br label %20
20: ; preds = %18, %15
store i32 2, ptr %3, align 4
br label %50
21: ; preds = %2
%22 = load ptr, ptr %4, align 8
%23 = call i64 @_is_valid_decimal(ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
store i32 10, ptr %29, align 4
br label %30
30: ; preds = %28, %25
store i32 2, ptr %3, align 4
br label %50
31: ; preds = %21
%32 = load ptr, ptr %4, align 8
%33 = call i64 @_is_valid_hexadecimal(ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %41
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = load ptr, ptr %5, align 8
store i32 16, ptr %39, align 4
br label %40
40: ; preds = %38, %35
store i32 2, ptr %3, align 4
br label %50
41: ; preds = %31
%42 = load ptr, ptr %4, align 8
%43 = call i64 @_is_valid_fp(ptr noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %41
store i32 4, ptr %3, align 4
br label %50
46: ; preds = %41
br label %47
47: ; preds = %46
br label %48
48: ; preds = %47
br label %49
49: ; preds = %48
store i32 1, ptr %3, align 4
br label %50
50: ; preds = %49, %45, %40, %30, %20
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @assert(i32 noundef) #1
declare i32 @toktype_is_na_marker(ptr noundef) #1
declare i64 @_is_valid_octal(ptr noundef) #1
declare i64 @_is_valid_decimal(ptr noundef) #1
declare i64 @_is_valid_hexadecimal(ptr noundef) #1
declare i64 @_is_valid_fp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk7r99w5l.c'
source_filename = "/tmp/tmpk7r99w5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AArray initialized.\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%#x\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x [3 x [5 x i32]]], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%8 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds [3 x [5 x i32]], ptr %8, i64 0, i64 0
%10 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0
store ptr %10, ptr %3, align 8
br label %11
11: ; preds = %20, %0
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 1
%14 = getelementptr inbounds [3 x [5 x i32]], ptr %13, i64 0, i64 2
%15 = getelementptr inbounds [5 x i32], ptr %14, i64 0, i64 4
%16 = icmp ule ptr %12, %15
br i1 %16, label %17, label %25
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
store i32 %18, ptr %19, align 4
br label %20
20: ; preds = %17
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i32, ptr %21, i32 1
store ptr %22, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %11, !llvm.loop !6
25: ; preds = %11
%26 = call i32 @puts(ptr noundef @.str)
%27 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 0
store ptr %27, ptr %5, align 8
%28 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [3 x [5 x i32]], ptr %28, i64 0, i64 0
store ptr %29, ptr %6, align 8
%30 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 2
%31 = getelementptr inbounds [3 x [5 x i32]], ptr %30, i64 0, i64 3
%32 = getelementptr inbounds [5 x i32], ptr %31, i64 0, i64 0
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %5, align 8
%34 = ptrtoint ptr %33 to i32
%35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = ptrtoint ptr %36 to i32
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37)
%39 = load ptr, ptr %7, align 8
%40 = ptrtoint ptr %39 to i32
%41 = sub i32 %40, 180
%42 = call i32 @printf(ptr noundef @.str.1, i32 noundef %41)
%43 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %43
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk7r99w5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AArray initialized.\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%#x\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x [3 x [5 x i32]]], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%8 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds [3 x [5 x i32]], ptr %8, i64 0, i64 0
%10 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 1
%13 = getelementptr inbounds [3 x [5 x i32]], ptr %12, i64 0, i64 2
%14 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4
%15 = icmp ule ptr %11, %14
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %19
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %3, align 8
store i32 %17, ptr %18, align 4
br label %19
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i32, ptr %20, i32 1
store ptr %21, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load ptr, ptr %3, align 8
%25 = icmp ule ptr %24, %14
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %0
%27 = call i32 @puts(ptr noundef @.str)
%28 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 0
store ptr %28, ptr %5, align 8
%29 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 0
%30 = getelementptr inbounds [3 x [5 x i32]], ptr %29, i64 0, i64 0
store ptr %30, ptr %6, align 8
%31 = getelementptr inbounds [2 x [3 x [5 x i32]]], ptr %2, i64 0, i64 2
%32 = getelementptr inbounds [3 x [5 x i32]], ptr %31, i64 0, i64 3
%33 = getelementptr inbounds [5 x i32], ptr %32, i64 0, i64 0
store ptr %33, ptr %7, align 8
%34 = load ptr, ptr %5, align 8
%35 = ptrtoint ptr %34 to i32
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = ptrtoint ptr %37 to i32
%39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38)
%40 = load ptr, ptr %7, align 8
%41 = ptrtoint ptr %40 to i32
%42 = sub i32 %41, 180
%43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42)
%44 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %44
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprznxb8ge.c'
source_filename = "/tmp/tmprznxb8ge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local double @fabs(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__nv_fabs(double noundef %3)
ret double %4
}
declare double @__nv_fabs(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprznxb8ge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local double @fabs(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__nv_fabs(double noundef %3)
ret double %4
}
declare double @__nv_fabs(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfyi1ivbe.c'
source_filename = "/tmp/tmpfyi1ivbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_option_code(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sscanf(ptr noundef %10, ptr noundef %11, ptr noundef %9)
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %26
14: ; preds = %4
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %9, align 4
%19 = load ptr, ptr %7, align 8
store i32 %18, ptr %19, align 4
br label %25
20: ; preds = %14
%21 = load i32, ptr %9, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %22, align 4
%24 = or i32 %23, %21
store i32 %24, ptr %22, align 4
br label %25
25: ; preds = %20, %17
br label %26
26: ; preds = %25, %4
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfyi1ivbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_option_code(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sscanf(ptr noundef %10, ptr noundef %11, ptr noundef %9)
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %26
14: ; preds = %4
%15 = load i32, ptr %8, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %9, align 4
%19 = load ptr, ptr %7, align 8
store i32 %18, ptr %19, align 4
br label %25
20: ; preds = %14
%21 = load i32, ptr %9, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %22, align 4
%24 = or i32 %23, %21
store i32 %24, ptr %22, align 4
br label %25
25: ; preds = %20, %17
br label %26
26: ; preds = %25, %4
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_ug2l4k.c'
source_filename = "/tmp/tmpy_ug2l4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_timeout(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = call i32 @FD_ZERO(ptr noundef %10)
%13 = load i32, ptr %6, align 4
%14 = call i32 @FD_SET(i32 noundef %13, ptr noundef %10)
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %9, align 8
%18 = call i32 @select(i32 noundef %16, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %17)
store i32 %18, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %26
21: ; preds = %4
%22 = load i32, ptr %6, align 4
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %8, align 8
%25 = call i32 @read(i32 noundef %22, ptr noundef %23, i64 noundef %24)
store i32 %25, ptr %5, align 4
br label %28
26: ; preds = %4
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %5, align 4
br label %28
28: ; preds = %26, %21
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_ug2l4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_timeout(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = call i32 @FD_ZERO(ptr noundef %10)
%13 = load i32, ptr %6, align 4
%14 = call i32 @FD_SET(i32 noundef %13, ptr noundef %10)
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %9, align 8
%18 = call i32 @select(i32 noundef %16, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %17)
store i32 %18, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %26
21: ; preds = %4
%22 = load i32, ptr %6, align 4
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %8, align 8
%25 = call i32 @read(i32 noundef %22, ptr noundef %23, i64 noundef %24)
store i32 %25, ptr %5, align 4
br label %28
26: ; preds = %4
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %5, align 4
br label %28
28: ; preds = %26, %21
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcdvj8m7z.c'
source_filename = "/tmp/tmpcdvj8m7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callGetCMethod(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 @FASTR_getConnectionChar(ptr noundef %3)
ret i32 %4
}
declare i32 @FASTR_getConnectionChar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcdvj8m7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callGetCMethod(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 @FASTR_getConnectionChar(ptr noundef %3)
ret i32 %4
}
declare i32 @FASTR_getConnectionChar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuseykv55.c'
source_filename = "/tmp/tmpuseykv55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %d %c\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"abc 123 x\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s %s %s %s\00", align 1
@.str.5 = private unnamed_addr constant [108 x i8] c"abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 123, i32 noundef 120)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 9
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %10)
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @free(ptr noundef %15)
store ptr @.str.3, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %3, ptr noundef @.str.4, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 107
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i64 @strcmp(ptr noundef @.str.5, ptr noundef %26)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = load i32, ptr @EXIT_SUCCESS, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
}
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(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/tmpuseykv55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s %d %c\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"abc 123 x\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s %s %s %s\00", align 1
@.str.5 = private unnamed_addr constant [108 x i8] c"abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %3, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 123, i32 noundef 120)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 9
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %10)
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @free(ptr noundef %15)
store ptr @.str.3, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 (ptr, ptr, ptr, ...) @asprintf(ptr noundef %3, ptr noundef @.str.4, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 107
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i64 @strcmp(ptr noundef @.str.5, ptr noundef %26)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = load i32, ptr @EXIT_SUCCESS, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
}
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(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/tmp8v643dhx.c'
source_filename = "/tmp/tmp8v643dhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca 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
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %15, %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = call i32 @rotr(ptr noundef %4, ptr noundef %5, ptr noundef %6)
br label %15
15: ; preds = %13
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %9, !llvm.loop !6
18: ; preds = %9
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8v643dhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca 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
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %14
%13 = call i32 @rotr(ptr noundef %4, ptr noundef %5, ptr noundef %6)
br label %14
14: ; preds = %12
%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 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %0
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd_pm0d1k.c'
source_filename = "/tmp/tmpd_pm0d1k.c"
target datalayout = "e-m:e-p270: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/tmpd_pm0d1k.c"
target datalayout = "e-m:e-p270: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/tmpqtpk6i46.c'
source_filename = "/tmp/tmpqtpk6i46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x05\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x05() #0 {
%1 = call i64 @isprint(i32 noundef 5)
%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 30, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmpqtpk6i46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x05\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x05() #0 {
%1 = call i64 @isprint(i32 noundef 5)
%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 30, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmpy_l188s8.c'
source_filename = "/tmp/tmpy_l188s8.c"
target datalayout = "e-m:e-p270: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/tmpy_l188s8.c"
target datalayout = "e-m:e-p270: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/tmpd4x4se0l.c'
source_filename = "/tmp/tmpd4x4se0l.c"
target datalayout = "e-m:e-p270: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/tmpd4x4se0l.c"
target datalayout = "e-m:e-p270: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/tmp33lkl1yk.c'
source_filename = "/tmp/tmp33lkl1yk.c"
target datalayout = "e-m:e-p270: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/tmp33lkl1yk.c"
target datalayout = "e-m:e-p270: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/tmp6az1zu0z.c'
source_filename = "/tmp/tmp6az1zu0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"%s have to be started with the address and the port number of the server\0A\00", align 1
@.str.1 = private unnamed_addr constant [93 x i8] c"example: %s \22127.0.0.1\22 10000 will start a client connected on the server 127.0.0.1:10000\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6az1zu0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"%s have to be started with the address and the port number of the server\0A\00", align 1
@.str.1 = private unnamed_addr constant [93 x i8] c"example: %s \22127.0.0.1\22 10000 will start a client connected on the server 127.0.0.1:10000\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcvk4emu1.c'
source_filename = "/tmp/tmpcvk4emu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @payload_deploy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 -1, ptr %6, align 4
%7 = call ptr @create_tmp(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10)
%12 = load i32, ptr %6, align 4
%13 = call i32 @close(i32 noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @create_tmp(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcvk4emu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @payload_deploy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 -1, ptr %6, align 4
%7 = call ptr @create_tmp(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10)
%12 = load i32, ptr %6, align 4
%13 = call i32 @close(i32 noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @create_tmp(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6su81ol3.c'
source_filename = "/tmp/tmp6su81ol3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [87 x i8] c"CREATE TABLE IF NOT EXISTS connections(address TEXT NOT NULL, time DATETIME NOT NULL);\00", align 1
@SQLITE_OK = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Failed to create database: %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createTable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @sqlite3_exec(ptr noundef %5, ptr noundef %6, ptr noundef null, ptr noundef null, ptr noundef %4)
%8 = load i64, ptr @SQLITE_OK, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @sqlite3_free(ptr noundef %14)
br label %16
16: ; preds = %10, %1
ret void
}
declare i64 @sqlite3_exec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sqlite3_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/tmp6su81ol3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [87 x i8] c"CREATE TABLE IF NOT EXISTS connections(address TEXT NOT NULL, time DATETIME NOT NULL);\00", align 1
@SQLITE_OK = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Failed to create database: %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createTable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @sqlite3_exec(ptr noundef %5, ptr noundef %6, ptr noundef null, ptr noundef null, ptr noundef %4)
%8 = load i64, ptr @SQLITE_OK, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @sqlite3_free(ptr noundef %14)
br label %16
16: ; preds = %10, %1
ret void
}
declare i64 @sqlite3_exec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sqlite3_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/tmpy_t6n0wr.c'
source_filename = "/tmp/tmpy_t6n0wr.c"
target datalayout = "e-m:e-p270: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/tmpy_t6n0wr.c"
target datalayout = "e-m:e-p270: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/tmpawsz__u9.c'
source_filename = "/tmp/tmpawsz__u9.c"
target datalayout = "e-m:e-p270: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/tmpawsz__u9.c"
target datalayout = "e-m:e-p270: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/tmp79e7kbfq.c'
source_filename = "/tmp/tmp79e7kbfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A file opening failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Data_Read(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [2048 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %10, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %10, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %54
21: ; preds = %4
br label %22
22: ; preds = %47, %21
%23 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 0
%24 = load ptr, ptr %10, align 8
%25 = call ptr @fgets(ptr noundef %23, i32 noundef 2048, ptr noundef %24)
store ptr %25, ptr %13, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %50
27: ; preds = %22
%28 = load ptr, ptr %13, align 8
%29 = call ptr @strtok(ptr noundef %28, ptr noundef @.str.1)
store ptr %29, ptr %12, align 8
store i32 0, ptr %15, align 4
br label %30
30: ; preds = %33, %27
%31 = load ptr, ptr %12, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %47
33: ; preds = %30
%34 = load ptr, ptr %12, align 8
%35 = call double @atof(ptr noundef %34)
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %15, align 4
%38 = load i32, ptr %14, align 4
%39 = load i32, ptr %8, align 4
%40 = mul nsw i32 %38, %39
%41 = add nsw i32 %37, %40
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %36, i64 %42
store double %35, ptr %43, align 8
%44 = load i32, ptr %15, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %15, align 4
%46 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %46, ptr %12, align 8
br label %30, !llvm.loop !6
47: ; preds = %30
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
br label %22, !llvm.loop !8
50: ; preds = %22
%51 = call i32 @printf(ptr noundef @.str.2)
%52 = load ptr, ptr %10, align 8
%53 = call i32 @rewind(ptr noundef %52)
store i32 0, ptr %5, align 4
br label %54
54: ; preds = %50, %19
%55 = load i32, ptr %5, align 4
ret i32 %55
}
declare i32 @printf(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79e7kbfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A file opening failed\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Data_Read(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [2048 x i8], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %10, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %10, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %57
21: ; preds = %4
%22 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 0
%23 = load ptr, ptr %10, align 8
%24 = call ptr @fgets(ptr noundef %22, i32 noundef 2048, ptr noundef %23)
store ptr %24, ptr %13, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %.lr.ph2, label %53
.lr.ph2: ; preds = %21
br label %26
26: ; preds = %.lr.ph2, %47
%27 = load ptr, ptr %13, align 8
%28 = call ptr @strtok(ptr noundef %27, ptr noundef @.str.1)
store ptr %28, ptr %12, align 8
store i32 0, ptr %15, align 4
%29 = load ptr, ptr %12, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %.lr.ph, label %47
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %31
%32 = load ptr, ptr %12, align 8
%33 = call double @atof(ptr noundef %32)
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %15, align 4
%36 = load i32, ptr %14, align 4
%37 = load i32, ptr %8, align 4
%38 = mul nsw i32 %36, %37
%39 = add nsw i32 %35, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %34, i64 %40
store double %33, ptr %41, align 8
%42 = load i32, ptr %15, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %15, align 4
%44 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %44, ptr %12, align 8
%45 = load ptr, ptr %12, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %47
47: ; preds = %._crit_edge, %26
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
%50 = load ptr, ptr %10, align 8
%51 = call ptr @fgets(ptr noundef %22, i32 noundef 2048, ptr noundef %50)
store ptr %51, ptr %13, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %53
53: ; preds = %._crit_edge3, %21
%54 = call i32 @printf(ptr noundef @.str.2)
%55 = load ptr, ptr %10, align 8
%56 = call i32 @rewind(ptr noundef %55)
store i32 0, ptr %5, align 4
br label %57
57: ; preds = %53, %19
%58 = load i32, ptr %5, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprm2bu9dk.c'
source_filename = "/tmp/tmprm2bu9dk.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_msg_arg1(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [128 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call ptr @fmsg(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = call i32 @sprintf(ptr noundef %6, ptr noundef %8, i32 noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @fprintf(i32 noundef %11, ptr noundef %12)
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fmsg(i32 noundef) #1
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/tmprm2bu9dk.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_msg_arg1(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [128 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call ptr @fmsg(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = call i32 @sprintf(ptr noundef %6, ptr noundef %8, i32 noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @fprintf(i32 noundef %11, ptr noundef %12)
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fmsg(i32 noundef) #1
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/tmplept89bv.c'
source_filename = "/tmp/tmplept89bv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Answer: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Time: %f\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 float, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call float (...) @timeit()
store float %13, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 -999, ptr %9, align 4
br label %14
14: ; preds = %52, %2
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 1000
br i1 %16, label %17, label %55
17: ; preds = %14
store i32 -999, ptr %10, align 4
br label %18
18: ; preds = %48, %17
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %19, 1000
br i1 %20, label %21, label %51
21: ; preds = %18
store i32 0, ptr %11, align 4
br label %22
22: ; preds = %35, %21
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = mul nsw i32 %23, %24
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %11, align 4
%28 = mul nsw i32 %26, %27
%29 = add nsw i32 %25, %28
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %29, %30
%32 = call i64 @is_prime(i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %11, align 4
br label %22, !llvm.loop !6
38: ; preds = %22
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %47
42: ; preds = %38
%43 = load i32, ptr %11, align 4
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %10, align 4
%46 = mul nsw i32 %44, %45
store i32 %46, ptr %8, align 4
br label %47
47: ; preds = %42, %38
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
br label %18, !llvm.loop !8
51: ; preds = %18
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %14, !llvm.loop !9
55: ; preds = %14
%56 = call float (...) @timeit()
store float %56, ptr %12, align 4
%57 = load i32, ptr %8, align 4
%58 = sitofp i32 %57 to float
%59 = call i32 @printf(ptr noundef @.str, float noundef %58)
%60 = load float, ptr %12, align 4
%61 = load float, ptr %6, align 4
%62 = fsub float %60, %61
%63 = call i32 @printf(ptr noundef @.str.1, float noundef %62)
ret i32 0
}
declare float @timeit(...) #1
declare i64 @is_prime(i32 noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplept89bv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Answer: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Time: %f\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 float, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call float (...) @timeit()
store float %13, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 -999, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp slt i32 %14, 1000
br i1 %15, label %.lr.ph5, label %67
.lr.ph5: ; preds = %2
br label %16
16: ; preds = %.lr.ph5, %62
store i32 -999, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %17, 1000
br i1 %18, label %.lr.ph2, label %61
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %56
store i32 0, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %11, align 4
%22 = mul nsw i32 %20, %21
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %11, align 4
%25 = mul nsw i32 %23, %24
%26 = add nsw i32 %22, %25
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %26, %27
%29 = call i64 @is_prime(i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %.lr.ph, label %46
.lr.ph: ; preds = %19
br label %31
31: ; preds = %.lr.ph, %32
br label %32
32: ; preds = %31
%33 = load i32, ptr %11, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = mul nsw i32 %35, %36
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %11, align 4
%40 = mul nsw i32 %38, %39
%41 = add nsw i32 %37, %40
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %41, %42
%44 = call i64 @is_prime(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %46
46: ; preds = %._crit_edge, %19
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp sgt i32 %47, %48
br i1 %49, label %50, label %55
50: ; preds = %46
%51 = load i32, ptr %11, align 4
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %10, align 4
%54 = mul nsw i32 %52, %53
store i32 %54, ptr %8, align 4
br label %55
55: ; preds = %50, %46
br label %56
56: ; preds = %55
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 1000
br i1 %60, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %61
61: ; preds = %._crit_edge3, %16
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = icmp slt i32 %65, 1000
br i1 %66, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %67
67: ; preds = %._crit_edge6, %2
%68 = call float (...) @timeit()
store float %68, ptr %12, align 4
%69 = load i32, ptr %8, align 4
%70 = sitofp i32 %69 to float
%71 = call i32 @printf(ptr noundef @.str, float noundef %70)
%72 = load float, ptr %12, align 4
%73 = load float, ptr %6, align 4
%74 = fsub float %72, %73
%75 = call i32 @printf(ptr noundef @.str.1, float noundef %74)
ret i32 0
}
declare float @timeit(...) #1
declare i64 @is_prime(i32 noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpi2i0advd.c'
source_filename = "/tmp/tmpi2i0advd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gprcm_equation_dynamic_instruction_set(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 @gprc_equation_dynamic_instruction_set(ptr noundef %3)
ret i32 %4
}
declare i32 @gprc_equation_dynamic_instruction_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi2i0advd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gprcm_equation_dynamic_instruction_set(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 @gprc_equation_dynamic_instruction_set(ptr noundef %3)
ret i32 %4
}
declare i32 @gprc_equation_dynamic_instruction_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk05o6aay.c'
source_filename = "/tmp/tmpk05o6aay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %12, %1
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = call i64 @isspace(i8 noundef signext %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %4, align 8
br label %7, !llvm.loop !6
15: ; preds = %7
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
store ptr %21, ptr %2, align 8
br label %41
22: ; preds = %15
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = getelementptr inbounds i8, ptr %27, i64 -1
store ptr %28, ptr %5, align 8
br label %29
29: ; preds = %34, %22
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = call i64 @isspace(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 -1
store ptr %36, ptr %5, align 8
br label %29, !llvm.loop !8
37: ; preds = %29
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 1
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %4, align 8
store ptr %40, ptr %2, align 8
br label %41
41: ; preds = %37, %20
%42 = load ptr, ptr %2, align 8
ret ptr %42
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk05o6aay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = call i64 @isspace(i8 noundef signext %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %18
18: ; preds = %._crit_edge, %1
%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 %25
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %2, align 8
br label %47
25: ; preds = %18
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %26, i64 %29
%31 = getelementptr inbounds i8, ptr %30, i64 -1
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = call i64 @isspace(i8 noundef signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %.lr.ph2, label %43
.lr.ph2: ; preds = %25
br label %36
36: ; preds = %.lr.ph2, %36
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 -1
store ptr %38, ptr %5, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i8, ptr %39, align 1
%41 = call i64 @isspace(i8 noundef signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %43
43: ; preds = %._crit_edge3, %25
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %4, align 8
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %43, %23
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqxllvi5e.c'
source_filename = "/tmp/tmpqxllvi5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdb_token_parse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @token_parse(ptr noundef %6, i8 noundef signext 34, ptr noundef null)
store ptr %7, ptr %3, align 8
br label %8
8: ; preds = %62, %58, %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds ptr, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %65
15: ; preds = %8
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %52, %15
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, 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 %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %27, label %55
27: ; preds = %16
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 32
br i1 %38, label %52, label %39
39: ; preds = %27
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 9
br i1 %50, label %52, label %51
51: ; preds = %39
store i32 -1, ptr %5, align 4
br label %55
52: ; preds = %39, %27
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
br label %16, !llvm.loop !6
55: ; preds = %51, %16
%56 = load i32, ptr %5, align 4
%57 = icmp ne i32 %56, -1
br i1 %57, label %58, label %62
58: ; preds = %55
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %4, align 4
%61 = call i32 @token_rm_index(ptr noundef %59, i32 noundef %60)
br label %8, !llvm.loop !8
62: ; preds = %55
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
br label %8, !llvm.loop !8
65: ; preds = %8
%66 = load ptr, ptr %3, align 8
ret ptr %66
}
declare ptr @token_parse(ptr noundef, i8 noundef signext, ptr noundef) #1
declare i32 @token_rm_index(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqxllvi5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdb_token_parse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @token_parse(ptr noundef %6, i8 noundef signext 34, ptr noundef null)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph1, label %79
.lr.ph1: ; preds = %1
br label %14
14: ; preds = %.lr.ph1, %.backedge
store i32 0, ptr %5, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %14
br label %25
25: ; preds = %.lr.ph, %50
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 32
br i1 %36, label %50, label %37
37: ; preds = %25
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 9
br i1 %48, label %50, label %49
49: ; preds = %37
store i32 -1, ptr %5, align 4
br label %63
50: ; preds = %37, %25
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = icmp ne i8 %61, 0
br i1 %62, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %50
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %14
br label %63
63: ; preds = %.loopexit, %49
%64 = load i32, ptr %5, align 4
%65 = icmp ne i32 %64, -1
br i1 %65, label %66, label %76
66: ; preds = %63
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %4, align 4
%69 = call i32 @token_rm_index(ptr noundef %67, i32 noundef %68)
br label %.backedge
.backedge: ; preds = %66, %76
%70 = load ptr, ptr %3, align 8
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = icmp ne ptr %74, null
br i1 %75, label %14, label %._crit_edge, !llvm.loop !8
76: ; preds = %63
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %4, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %79
79: ; preds = %._crit_edge, %1
%80 = load ptr, ptr %3, align 8
ret ptr %80
}
declare ptr @token_parse(ptr noundef, i8 noundef signext, ptr noundef) #1
declare i32 @token_rm_index(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgl0vwbtq.c'
source_filename = "/tmp/tmpgl0vwbtq.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"Ninguno de los canales puede ser NULL\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"La anchura y la altura del canal deben ser mayores que 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aan_normalizar_imagen_unsigned_char(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %5
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %23, label %20
20: ; preds = %17, %14, %5
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
br label %89
23: ; preds = %17
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %24, 1
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = load i32, ptr %10, align 4
%28 = icmp slt i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %26, %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
br label %89
32: ; preds = %26
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 1, %34
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 %35, %37
%39 = trunc i64 %38 to i32
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %11, align 8
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %11, align 8
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %10, align 4
%46 = call i32 @aan_normalizar_canal_unsigned_char(ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = mul i64 1, %50
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = mul i64 %51, %53
%55 = trunc i64 %54 to i32
%56 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i32 noundef %55)
%57 = load ptr, ptr %7, align 8
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @aan_normalizar_canal_unsigned_char(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
%62 = load ptr, ptr %7, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = mul i64 1, %65
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = mul i64 %66, %68
%70 = trunc i64 %69 to i32
%71 = call i32 @memcpy(ptr noundef %62, ptr noundef %63, i32 noundef %70)
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %11, align 8
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr %10, align 4
%76 = call i32 @aan_normalizar_canal_unsigned_char(ptr noundef %72, ptr noundef %73, i32 noundef %74, i32 noundef %75)
%77 = load ptr, ptr %8, align 8
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = mul i64 1, %80
%82 = load i32, ptr %10, align 4
%83 = sext i32 %82 to i64
%84 = mul i64 %81, %83
%85 = trunc i64 %84 to i32
%86 = call i32 @memcpy(ptr noundef %77, ptr noundef %78, i32 noundef %85)
%87 = load ptr, ptr %11, align 8
%88 = call i32 @free(ptr noundef %87)
br label %89
89: ; preds = %32, %29, %20
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @aan_normalizar_canal_unsigned_char(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgl0vwbtq.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"Ninguno de los canales puede ser NULL\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"La anchura y la altura del canal deben ser mayores que 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @aan_normalizar_imagen_unsigned_char(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %20
14: ; preds = %5
%15 = load ptr, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %23, label %20
20: ; preds = %17, %14, %5
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
br label %89
23: ; preds = %17
%24 = load i32, ptr %9, align 4
%25 = icmp slt i32 %24, 1
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = load i32, ptr %10, align 4
%28 = icmp slt i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %26, %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
br label %89
32: ; preds = %26
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 1, %34
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 %35, %37
%39 = trunc i64 %38 to i32
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %11, align 8
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %11, align 8
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %10, align 4
%46 = call i32 @aan_normalizar_canal_unsigned_char(ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = mul i64 1, %50
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = mul i64 %51, %53
%55 = trunc i64 %54 to i32
%56 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i32 noundef %55)
%57 = load ptr, ptr %7, align 8
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @aan_normalizar_canal_unsigned_char(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
%62 = load ptr, ptr %7, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = mul i64 1, %65
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = mul i64 %66, %68
%70 = trunc i64 %69 to i32
%71 = call i32 @memcpy(ptr noundef %62, ptr noundef %63, i32 noundef %70)
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %11, align 8
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr %10, align 4
%76 = call i32 @aan_normalizar_canal_unsigned_char(ptr noundef %72, ptr noundef %73, i32 noundef %74, i32 noundef %75)
%77 = load ptr, ptr %8, align 8
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = mul i64 1, %80
%82 = load i32, ptr %10, align 4
%83 = sext i32 %82 to i64
%84 = mul i64 %81, %83
%85 = trunc i64 %84 to i32
%86 = call i32 @memcpy(ptr noundef %77, ptr noundef %78, i32 noundef %85)
%87 = load ptr, ptr %11, align 8
%88 = call i32 @free(ptr noundef %87)
br label %89
89: ; preds = %32, %29, %20
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @aan_normalizar_canal_unsigned_char(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4vrag4bf.c'
source_filename = "/tmp/tmp4vrag4bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"10.151.12.112\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"socket failed\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"bind failed\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"errno = %d(%s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_DEBUG = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [11 x i8] c"set failed\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"get failed\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"val = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"set2 failed\00", align 1
@SO_SNDBUF = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [17 x i8] c"SNDBUF val = %d\0A\00", align 1
@SO_RCVBUF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [17 x i8] c"REVBUF val = %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 %struct.sockaddr_in, 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
%7 = load i32, ptr @AF_INET, align 4
%8 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %7, ptr %8, align 4
%9 = call i32 @inet_addr(ptr noundef @.str)
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i32 0, i32 0
store i32 %9, ptr %11, align 4
%12 = call i32 @htons(i32 noundef 10292)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
store i32 %12, ptr %13, align 4
%14 = load i32, ptr @AF_INET, align 4
%15 = load i32, ptr @SOCK_STREAM, align 4
%16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %0
%23 = load i32, ptr %2, align 4
%24 = call i32 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 12)
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %34
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str.2)
%29 = load i32, ptr @errno, align 4
%30 = load i32, ptr @errno, align 4
%31 = call ptr @strerror(i32 noundef %30)
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %29, ptr noundef %31)
%33 = call i32 @exit(i32 noundef -1) #3
unreachable
34: ; preds = %22
store i32 0, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr @SOL_SOCKET, align 4
%37 = load i32, ptr @SO_DEBUG, align 4
%38 = call i32 @setsockopt(i32 noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %4, i32 noundef 4)
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %48
41: ; preds = %34
%42 = call i32 @perror(ptr noundef @.str.4)
%43 = load i32, ptr @errno, align 4
%44 = load i32, ptr @errno, align 4
%45 = call ptr @strerror(i32 noundef %44)
%46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %43, ptr noundef %45)
%47 = call i32 @exit(i32 noundef -1) #3
unreachable
48: ; preds = %34
store i32 100, ptr %6, align 4
store i32 -1, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr @SOL_SOCKET, align 4
%51 = load i32, ptr @SO_DEBUG, align 4
%52 = call i32 @getsockopt(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %4, ptr noundef %6)
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %62
55: ; preds = %48
%56 = call i32 @perror(ptr noundef @.str.5)
%57 = load i32, ptr @errno, align 4
%58 = load i32, ptr @errno, align 4
%59 = call ptr @strerror(i32 noundef %58)
%60 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %57, ptr noundef %59)
%61 = call i32 @exit(i32 noundef -1) #3
unreachable
62: ; preds = %48
%63 = load i32, ptr %4, align 4
%64 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %63)
store i32 1, ptr %4, align 4
%65 = load i32, ptr %2, align 4
%66 = load i32, ptr @SOL_SOCKET, align 4
%67 = load i32, ptr @SO_DEBUG, align 4
%68 = call i32 @setsockopt(i32 noundef %65, i32 noundef %66, i32 noundef %67, ptr noundef %4, i32 noundef 4)
store i32 %68, ptr %3, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %77
71: ; preds = %62
%72 = call i32 @perror(ptr noundef @.str.7)
%73 = load i32, ptr @errno, align 4
%74 = load i32, ptr @errno, align 4
%75 = call ptr @strerror(i32 noundef %74)
%76 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %73, ptr noundef %75)
br label %77
77: ; preds = %71, %62
store i32 128, ptr %4, align 4
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr @SOL_SOCKET, align 4
%80 = load i32, ptr @SO_SNDBUF, align 4
%81 = call i32 @setsockopt(i32 noundef %78, i32 noundef %79, i32 noundef %80, ptr noundef %4, i32 noundef 4)
store i32 %81, ptr %3, align 4
%82 = load i32, ptr %3, align 4
%83 = icmp eq i32 %82, -1
br i1 %83, label %84, label %91
84: ; preds = %77
%85 = call i32 @perror(ptr noundef @.str.4)
%86 = load i32, ptr @errno, align 4
%87 = load i32, ptr @errno, align 4
%88 = call ptr @strerror(i32 noundef %87)
%89 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %86, ptr noundef %88)
%90 = call i32 @exit(i32 noundef -1) #3
unreachable
91: ; preds = %77
store i32 100, ptr %6, align 4
store i32 -1, ptr %4, align 4
%92 = load i32, ptr %2, align 4
%93 = load i32, ptr @SOL_SOCKET, align 4
%94 = load i32, ptr @SO_SNDBUF, align 4
%95 = call i32 @getsockopt(i32 noundef %92, i32 noundef %93, i32 noundef %94, ptr noundef %4, ptr noundef %6)
store i32 %95, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %104
98: ; preds = %91
%99 = call i32 @perror(ptr noundef @.str.5)
%100 = load i32, ptr @errno, align 4
%101 = load i32, ptr @errno, align 4
%102 = call ptr @strerror(i32 noundef %101)
%103 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %100, ptr noundef %102)
br label %104
104: ; preds = %98, %91
%105 = load i32, ptr %4, align 4
%106 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %105)
store i32 128, ptr %4, align 4
%107 = load i32, ptr %2, align 4
%108 = load i32, ptr @SOL_SOCKET, align 4
%109 = load i32, ptr @SO_RCVBUF, align 4
%110 = call i32 @setsockopt(i32 noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %4, i32 noundef 4)
store i32 %110, ptr %3, align 4
%111 = load i32, ptr %3, align 4
%112 = icmp eq i32 %111, -1
br i1 %112, label %113, label %119
113: ; preds = %104
%114 = call i32 @perror(ptr noundef @.str.4)
%115 = load i32, ptr @errno, align 4
%116 = load i32, ptr @errno, align 4
%117 = call ptr @strerror(i32 noundef %116)
%118 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %115, ptr noundef %117)
br label %119
119: ; preds = %113, %104
store i32 100, ptr %6, align 4
store i32 -1, ptr %4, align 4
%120 = load i32, ptr %2, align 4
%121 = load i32, ptr @SOL_SOCKET, align 4
%122 = load i32, ptr @SO_RCVBUF, align 4
%123 = call i32 @getsockopt(i32 noundef %120, i32 noundef %121, i32 noundef %122, ptr noundef %4, ptr noundef %6)
store i32 %123, ptr %3, align 4
%124 = load i32, ptr %3, align 4
%125 = icmp eq i32 %124, -1
br i1 %125, label %126, label %132
126: ; preds = %119
%127 = call i32 @perror(ptr noundef @.str.5)
%128 = load i32, ptr @errno, align 4
%129 = load i32, ptr @errno, align 4
%130 = call ptr @strerror(i32 noundef %129)
%131 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %128, ptr noundef %130)
br label %132
132: ; preds = %126, %119
%133 = load i32, ptr %4, align 4
%134 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %133)
ret i32 0
}
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp4vrag4bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"10.151.12.112\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"socket failed\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"bind failed\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"errno = %d(%s)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_DEBUG = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [11 x i8] c"set failed\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"get failed\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"val = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"set2 failed\00", align 1
@SO_SNDBUF = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [17 x i8] c"SNDBUF val = %d\0A\00", align 1
@SO_RCVBUF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [17 x i8] c"REVBUF val = %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 %struct.sockaddr_in, 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
%7 = load i32, ptr @AF_INET, align 4
%8 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %7, ptr %8, align 4
%9 = call i32 @inet_addr(ptr noundef @.str)
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i32 0, i32 0
store i32 %9, ptr %11, align 4
%12 = call i32 @htons(i32 noundef 10292)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
store i32 %12, ptr %13, align 4
%14 = load i32, ptr @AF_INET, align 4
%15 = load i32, ptr @SOCK_STREAM, align 4
%16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %0
%23 = load i32, ptr %2, align 4
%24 = call i32 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 12)
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %34
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str.2)
%29 = load i32, ptr @errno, align 4
%30 = load i32, ptr @errno, align 4
%31 = call ptr @strerror(i32 noundef %30)
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %29, ptr noundef %31)
%33 = call i32 @exit(i32 noundef -1) #3
unreachable
34: ; preds = %22
store i32 0, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr @SOL_SOCKET, align 4
%37 = load i32, ptr @SO_DEBUG, align 4
%38 = call i32 @setsockopt(i32 noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %4, i32 noundef 4)
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp eq i32 %39, -1
br i1 %40, label %41, label %48
41: ; preds = %34
%42 = call i32 @perror(ptr noundef @.str.4)
%43 = load i32, ptr @errno, align 4
%44 = load i32, ptr @errno, align 4
%45 = call ptr @strerror(i32 noundef %44)
%46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %43, ptr noundef %45)
%47 = call i32 @exit(i32 noundef -1) #3
unreachable
48: ; preds = %34
store i32 100, ptr %6, align 4
store i32 -1, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr @SOL_SOCKET, align 4
%51 = load i32, ptr @SO_DEBUG, align 4
%52 = call i32 @getsockopt(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %4, ptr noundef %6)
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %62
55: ; preds = %48
%56 = call i32 @perror(ptr noundef @.str.5)
%57 = load i32, ptr @errno, align 4
%58 = load i32, ptr @errno, align 4
%59 = call ptr @strerror(i32 noundef %58)
%60 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %57, ptr noundef %59)
%61 = call i32 @exit(i32 noundef -1) #3
unreachable
62: ; preds = %48
%63 = load i32, ptr %4, align 4
%64 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %63)
store i32 1, ptr %4, align 4
%65 = load i32, ptr %2, align 4
%66 = load i32, ptr @SOL_SOCKET, align 4
%67 = load i32, ptr @SO_DEBUG, align 4
%68 = call i32 @setsockopt(i32 noundef %65, i32 noundef %66, i32 noundef %67, ptr noundef %4, i32 noundef 4)
store i32 %68, ptr %3, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %77
71: ; preds = %62
%72 = call i32 @perror(ptr noundef @.str.7)
%73 = load i32, ptr @errno, align 4
%74 = load i32, ptr @errno, align 4
%75 = call ptr @strerror(i32 noundef %74)
%76 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %73, ptr noundef %75)
br label %77
77: ; preds = %71, %62
store i32 128, ptr %4, align 4
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr @SOL_SOCKET, align 4
%80 = load i32, ptr @SO_SNDBUF, align 4
%81 = call i32 @setsockopt(i32 noundef %78, i32 noundef %79, i32 noundef %80, ptr noundef %4, i32 noundef 4)
store i32 %81, ptr %3, align 4
%82 = load i32, ptr %3, align 4
%83 = icmp eq i32 %82, -1
br i1 %83, label %84, label %91
84: ; preds = %77
%85 = call i32 @perror(ptr noundef @.str.4)
%86 = load i32, ptr @errno, align 4
%87 = load i32, ptr @errno, align 4
%88 = call ptr @strerror(i32 noundef %87)
%89 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %86, ptr noundef %88)
%90 = call i32 @exit(i32 noundef -1) #3
unreachable
91: ; preds = %77
store i32 100, ptr %6, align 4
store i32 -1, ptr %4, align 4
%92 = load i32, ptr %2, align 4
%93 = load i32, ptr @SOL_SOCKET, align 4
%94 = load i32, ptr @SO_SNDBUF, align 4
%95 = call i32 @getsockopt(i32 noundef %92, i32 noundef %93, i32 noundef %94, ptr noundef %4, ptr noundef %6)
store i32 %95, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %104
98: ; preds = %91
%99 = call i32 @perror(ptr noundef @.str.5)
%100 = load i32, ptr @errno, align 4
%101 = load i32, ptr @errno, align 4
%102 = call ptr @strerror(i32 noundef %101)
%103 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %100, ptr noundef %102)
br label %104
104: ; preds = %98, %91
%105 = load i32, ptr %4, align 4
%106 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %105)
store i32 128, ptr %4, align 4
%107 = load i32, ptr %2, align 4
%108 = load i32, ptr @SOL_SOCKET, align 4
%109 = load i32, ptr @SO_RCVBUF, align 4
%110 = call i32 @setsockopt(i32 noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %4, i32 noundef 4)
store i32 %110, ptr %3, align 4
%111 = load i32, ptr %3, align 4
%112 = icmp eq i32 %111, -1
br i1 %112, label %113, label %119
113: ; preds = %104
%114 = call i32 @perror(ptr noundef @.str.4)
%115 = load i32, ptr @errno, align 4
%116 = load i32, ptr @errno, align 4
%117 = call ptr @strerror(i32 noundef %116)
%118 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %115, ptr noundef %117)
br label %119
119: ; preds = %113, %104
store i32 100, ptr %6, align 4
store i32 -1, ptr %4, align 4
%120 = load i32, ptr %2, align 4
%121 = load i32, ptr @SOL_SOCKET, align 4
%122 = load i32, ptr @SO_RCVBUF, align 4
%123 = call i32 @getsockopt(i32 noundef %120, i32 noundef %121, i32 noundef %122, ptr noundef %4, ptr noundef %6)
store i32 %123, ptr %3, align 4
%124 = load i32, ptr %3, align 4
%125 = icmp eq i32 %124, -1
br i1 %125, label %126, label %132
126: ; preds = %119
%127 = call i32 @perror(ptr noundef @.str.5)
%128 = load i32, ptr @errno, align 4
%129 = load i32, ptr @errno, align 4
%130 = call ptr @strerror(i32 noundef %129)
%131 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %128, ptr noundef %130)
br label %132
132: ; preds = %126, %119
%133 = load i32, ptr %4, align 4
%134 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %133)
ret i32 0
}
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmplx2z8p93.c'
source_filename = "/tmp/tmplx2z8p93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_pe() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplx2z8p93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_pe() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppi08tld_.c'
source_filename = "/tmp/tmppi08tld_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iio_create_local_context() #0 {
%1 = load i32, ptr @ENOSYS, align 4
store i32 %1, ptr @errno, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppi08tld_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iio_create_local_context() #0 {
%1 = load i32, ptr @ENOSYS, align 4
store i32 %1, ptr @errno, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptmk4235r.c'
source_filename = "/tmp/tmptmk4235r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hugo_blockalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = mul i64 %3, 1
%5 = call ptr @malloc(i64 noundef %4)
ret ptr %5
}
declare ptr @malloc(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/tmptmk4235r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hugo_blockalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = mul i64 %3, 1
%5 = call ptr @malloc(i64 noundef %4)
ret ptr %5
}
declare ptr @malloc(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/tmpgtnlcqx2.c'
source_filename = "/tmp/tmpgtnlcqx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ProcessPacket(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 @print_ethernet_header(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @print_ethernet_header(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/tmpgtnlcqx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ProcessPacket(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 @print_ethernet_header(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @print_ethernet_header(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/tmpd4egzhf3.c'
source_filename = "/tmp/tmpd4egzhf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"q\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Exiting...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @handle_user() #0 {
%1 = alloca i32, align 4
%2 = alloca [2048 x i8], align 16
%3 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fgets(ptr noundef %3, i32 noundef 2047, i32 noundef %4)
%6 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @util_no_whitespace(ptr noundef %6)
%8 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %14
13: ; preds = %0
store i32 1, ptr %1, align 4
br label %14
14: ; preds = %13, %11
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @util_no_whitespace(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd4egzhf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"q\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Exiting...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @handle_user() #0 {
%1 = alloca i32, align 4
%2 = alloca [2048 x i8], align 16
%3 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fgets(ptr noundef %3, i32 noundef 2047, i32 noundef %4)
%6 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @util_no_whitespace(ptr noundef %6)
%8 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %14
13: ; preds = %0
store i32 1, ptr %1, align 4
br label %14
14: ; preds = %13, %11
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @util_no_whitespace(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6shofz3a.c'
source_filename = "/tmp/tmp6shofz3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpu_draw_texmask(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
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
%9 = load i32, ptr %5, align 4
%10 = and i32 %9, -8
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %13, 1
%15 = ashr i32 %14, 3
%16 = xor i32 %15, -1
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %12, %4
%18 = load i32, ptr %6, align 4
%19 = and i32 %18, -8
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = sub nsw i32 %22, 1
%24 = ashr i32 %23, 3
%25 = xor i32 %24, -1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %21, %17
%27 = load i32, ptr %7, align 4
%28 = ashr i32 %27, 3
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = ashr i32 %29, 3
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %5, align 4
%32 = and i32 %31, 31
%33 = shl i32 %32, 0
%34 = or i32 -503316480, %33
%35 = load i32, ptr %6, align 4
%36 = and i32 %35, 31
%37 = shl i32 %36, 5
%38 = or i32 %34, %37
%39 = load i32, ptr %7, align 4
%40 = and i32 %39, 31
%41 = shl i32 %40, 10
%42 = or i32 %38, %41
%43 = load i32, ptr %8, align 4
%44 = and i32 %43, 31
%45 = shl i32 %44, 15
%46 = or i32 %42, %45
%47 = call i32 @gpu_send_control_gp0(i32 noundef %46)
ret void
}
declare i32 @gpu_send_control_gp0(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/tmp6shofz3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpu_draw_texmask(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
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
%9 = load i32, ptr %5, align 4
%10 = and i32 %9, -8
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %13, 1
%15 = ashr i32 %14, 3
%16 = xor i32 %15, -1
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %12, %4
%18 = load i32, ptr %6, align 4
%19 = and i32 %18, -8
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = sub nsw i32 %22, 1
%24 = ashr i32 %23, 3
%25 = xor i32 %24, -1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %21, %17
%27 = load i32, ptr %7, align 4
%28 = ashr i32 %27, 3
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = ashr i32 %29, 3
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %5, align 4
%32 = and i32 %31, 31
%33 = shl i32 %32, 0
%34 = or i32 -503316480, %33
%35 = load i32, ptr %6, align 4
%36 = and i32 %35, 31
%37 = shl i32 %36, 5
%38 = or i32 %34, %37
%39 = load i32, ptr %7, align 4
%40 = and i32 %39, 31
%41 = shl i32 %40, 10
%42 = or i32 %38, %41
%43 = load i32, ptr %8, align 4
%44 = and i32 %43, 31
%45 = shl i32 %44, 15
%46 = or i32 %42, %45
%47 = call i32 @gpu_send_control_gp0(i32 noundef %46)
ret void
}
declare i32 @gpu_send_control_gp0(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/tmpnwyk2dxr.c'
source_filename = "/tmp/tmpnwyk2dxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_multi_input_line(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 @read_multiple_input_lines(ptr noundef %5, ptr noundef null, i32 noundef %6)
ret i32 %7
}
declare i32 @read_multiple_input_lines(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnwyk2dxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_multi_input_line(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 @read_multiple_input_lines(ptr noundef %5, ptr noundef null, i32 noundef %6)
ret i32 %7
}
declare i32 @read_multiple_input_lines(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe89ax004.c'
source_filename = "/tmp/tmpe89ax004.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVBUF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_recv_window(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @SOL_SOCKET, align 4
%7 = load i32, ptr @SO_RCVBUF, align 4
%8 = call i32 @setsockopt(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %4, i32 noundef 4)
ret void
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe89ax004.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVBUF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_recv_window(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @SOL_SOCKET, align 4
%7 = load i32, ptr @SO_RCVBUF, align 4
%8 = call i32 @setsockopt(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %4, i32 noundef 4)
ret void
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjy6a7bj7.c'
source_filename = "/tmp/tmpjy6a7bj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"fool llvm\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
ret i32 %4
}
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/tmpjy6a7bj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"fool llvm\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
ret i32 %4
}
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/tmpasifq51n.c'
source_filename = "/tmp/tmpasifq51n.c"
target datalayout = "e-m:e-p270: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/tmpasifq51n.c"
target datalayout = "e-m:e-p270: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/tmpvx1blmcx.c'
source_filename = "/tmp/tmpvx1blmcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @output_in_clause_parameter(ptr noundef %11)
br label %15
13: ; preds = %2
%14 = call i32 (...) @output_in_clause_stdin()
br label %15
15: ; preds = %13, %8
ret i32 0
}
declare i32 @output_in_clause_parameter(ptr noundef) #1
declare i32 @output_in_clause_stdin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvx1blmcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @output_in_clause_parameter(ptr noundef %11)
br label %15
13: ; preds = %2
%14 = call i32 (...) @output_in_clause_stdin()
br label %15
15: ; preds = %13, %8
ret i32 0
}
declare i32 @output_in_clause_parameter(ptr noundef) #1
declare i32 @output_in_clause_stdin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3swrp7sn.c'
source_filename = "/tmp/tmp3swrp7sn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Argh, malloc failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"half-sign: Failed to read SHA256 from input\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [44 x i8] c"Error, more than %d bytes fed to half-sign\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Last byte was :%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
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 sgt i32 %10, 3
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %17
15: ; preds = %12, %2
%16 = call i32 (...) @usage()
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 3
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20, %17
%27 = load ptr, ptr @stdin, align 8
store ptr %27, ptr %6, align 8
br label %38
28: ; preds = %20
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %37, label %35
35: ; preds = %28
%36 = call i32 (...) @usage()
br label %37
37: ; preds = %35, %28
br label %38
38: ; preds = %37, %26
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call ptr @read_private_key(ptr noundef %41)
store ptr %42, ptr %9, align 8
%43 = call ptr @malloc(i32 noundef 32)
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %50, label %46
46: ; preds = %38
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2)
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
50: ; preds = %38
%51 = load ptr, ptr %7, align 8
%52 = load ptr, ptr %6, align 8
%53 = call i32 @fread(ptr noundef %51, i32 noundef 32, i32 noundef 1, ptr noundef %52)
%54 = icmp ne i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %50
%56 = call i32 @perror(ptr noundef @.str.3)
%57 = call i32 @exit(i32 noundef 1) #3
unreachable
58: ; preds = %50
%59 = load ptr, ptr %6, align 8
%60 = call i32 @fgetc(ptr noundef %59)
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr @EOF, align 4
%63 = icmp ne i32 %61, %62
br i1 %63, label %64, label %74
64: ; preds = %58
%65 = load i32, ptr %8, align 4
%66 = icmp ne i32 %65, 10
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = load i32, ptr @stderr, align 4
%69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.4, i32 noundef 32)
%70 = load i32, ptr @stderr, align 4
%71 = load i32, ptr %8, align 4
%72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.5, i32 noundef %71)
%73 = call i32 @exit(i32 noundef 1) #3
unreachable
74: ; preds = %64, %58
%75 = load ptr, ptr %9, align 8
%76 = load ptr, ptr %7, align 8
%77 = call i32 @sign_hashed_data(ptr noundef %75, ptr noundef %76, i32 noundef 32)
ret i32 0
}
declare i32 @usage(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @read_private_key(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @sign_hashed_data(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3swrp7sn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Argh, malloc failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"half-sign: Failed to read SHA256 from input\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [44 x i8] c"Error, more than %d bytes fed to half-sign\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Last byte was :%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
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 sgt i32 %10, 3
br i1 %11, label %15, label %12
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %17
15: ; preds = %12, %2
%16 = call i32 (...) @usage()
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 3
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20, %17
%27 = load ptr, ptr @stdin, align 8
store ptr %27, ptr %6, align 8
br label %38
28: ; preds = %20
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %37, label %35
35: ; preds = %28
%36 = call i32 (...) @usage()
br label %37
37: ; preds = %35, %28
br label %38
38: ; preds = %37, %26
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call ptr @read_private_key(ptr noundef %41)
store ptr %42, ptr %9, align 8
%43 = call ptr @malloc(i32 noundef 32)
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %50, label %46
46: ; preds = %38
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.2)
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
50: ; preds = %38
%51 = load ptr, ptr %7, align 8
%52 = load ptr, ptr %6, align 8
%53 = call i32 @fread(ptr noundef %51, i32 noundef 32, i32 noundef 1, ptr noundef %52)
%54 = icmp ne i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %50
%56 = call i32 @perror(ptr noundef @.str.3)
%57 = call i32 @exit(i32 noundef 1) #3
unreachable
58: ; preds = %50
%59 = load ptr, ptr %6, align 8
%60 = call i32 @fgetc(ptr noundef %59)
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr @EOF, align 4
%63 = icmp ne i32 %61, %62
br i1 %63, label %64, label %74
64: ; preds = %58
%65 = load i32, ptr %8, align 4
%66 = icmp ne i32 %65, 10
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = load i32, ptr @stderr, align 4
%69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.4, i32 noundef 32)
%70 = load i32, ptr @stderr, align 4
%71 = load i32, ptr %8, align 4
%72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.5, i32 noundef %71)
%73 = call i32 @exit(i32 noundef 1) #3
unreachable
74: ; preds = %64, %58
%75 = load ptr, ptr %9, align 8
%76 = load ptr, ptr %7, align 8
%77 = call i32 @sign_hashed_data(ptr noundef %75, ptr noundef %76, i32 noundef 32)
ret i32 0
}
declare i32 @usage(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @read_private_key(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @sign_hashed_data(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpasju2a84.c'
source_filename = "/tmp/tmpasju2a84.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Le joueur 2 a gagne !\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"32\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Le joueur 1 a gagne\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"\0AMatch nul !\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"Appuyez sur ENTREE pour revenir au menu : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @afficherGagnantPuissance4Multi() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @gagnerPuissance4(i32 noundef 1)
switch i32 %2, label %11 [
i32 3, label %3
i32 5, label %3
i32 4, label %5
i32 0, label %7
]
3: ; preds = %0, %0
%4 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.2)
br label %11
5: ; preds = %0
%6 = call i32 @coloration(ptr noundef @.str.3, ptr noundef @.str.2)
br label %11
7: ; preds = %0
%8 = call i32 @system(ptr noundef @.str.4)
%9 = call i32 (...) @afficherPuissance4()
%10 = call i32 @printf(ptr noundef @.str.5)
br label %11
11: ; preds = %0, %7, %5, %3
%12 = call i32 @appuyezEntree(ptr noundef @.str.6)
%13 = call i32 (...) @multi()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gagnerPuissance4(i32 noundef) #1
declare i32 @coloration(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @afficherPuissance4(...) #1
declare i32 @appuyezEntree(ptr noundef) #1
declare i32 @multi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpasju2a84.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Le joueur 2 a gagne !\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"32\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Le joueur 1 a gagne\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"\0AMatch nul !\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"Appuyez sur ENTREE pour revenir au menu : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @afficherGagnantPuissance4Multi() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @gagnerPuissance4(i32 noundef 1)
switch i32 %2, label %11 [
i32 3, label %3
i32 5, label %3
i32 4, label %5
i32 0, label %7
]
3: ; preds = %0, %0
%4 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.2)
br label %11
5: ; preds = %0
%6 = call i32 @coloration(ptr noundef @.str.3, ptr noundef @.str.2)
br label %11
7: ; preds = %0
%8 = call i32 @system(ptr noundef @.str.4)
%9 = call i32 (...) @afficherPuissance4()
%10 = call i32 @printf(ptr noundef @.str.5)
br label %11
11: ; preds = %7, %5, %3, %0
%12 = call i32 @appuyezEntree(ptr noundef @.str.6)
%13 = call i32 (...) @multi()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gagnerPuissance4(i32 noundef) #1
declare i32 @coloration(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @afficherPuissance4(...) #1
declare i32 @appuyezEntree(ptr noundef) #1
declare i32 @multi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptznxy8ce.c'
source_filename = "/tmp/tmptznxy8ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.png\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
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 32, ptr %8, align 4
store i32 32, ptr %7, align 4
%14 = call ptr (...) @nvmap_open()
store ptr %14, ptr %12, align 8
%15 = load ptr, ptr %12, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %2
store i32 1, ptr %3, align 4
br label %70
18: ; preds = %2
%19 = call ptr (...) @nvhost_ctrl_open()
store ptr %19, ptr %11, align 8
%20 = load ptr, ptr %11, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %18
store i32 1, ptr %3, align 4
br label %70
23: ; preds = %18
%24 = load ptr, ptr %12, align 8
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = call ptr @nvmap_framebuffer_create(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 32)
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %23
store i32 1, ptr %3, align 4
br label %70
31: ; preds = %23
%32 = load ptr, ptr %12, align 8
%33 = load ptr, ptr %11, align 8
%34 = call ptr @nvhost_gr2d_open(ptr noundef %32, ptr noundef %33)
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %9, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %38, label %37
37: ; preds = %31
store i32 1, ptr %3, align 4
br label %70
38: ; preds = %31
%39 = load ptr, ptr %12, align 8
%40 = load ptr, ptr %11, align 8
%41 = call ptr @nvhost_gr3d_open(ptr noundef %39, ptr noundef %40)
store ptr %41, ptr %10, align 8
%42 = load ptr, ptr %10, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %45, label %44
44: ; preds = %38
store i32 1, ptr %3, align 4
br label %70
45: ; preds = %38
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %6, align 8
%48 = call i32 @nvhost_gr2d_clear(ptr noundef %46, ptr noundef %47, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %45
store i32 1, ptr %3, align 4
br label %70
52: ; preds = %45
%53 = load ptr, ptr %10, align 8
%54 = load ptr, ptr %6, align 8
%55 = call i32 @nvhost_gr3d_triangle(ptr noundef %53, ptr noundef %54)
store i32 %55, ptr %13, align 4
%56 = load i32, ptr %13, align 4
%57 = icmp slt i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %52
store i32 1, ptr %3, align 4
br label %70
59: ; preds = %52
%60 = load ptr, ptr %6, align 8
%61 = call i32 @nvmap_framebuffer_save(ptr noundef %60, ptr noundef @.str)
%62 = load ptr, ptr %6, align 8
%63 = call i32 @nvmap_framebuffer_free(ptr noundef %62)
%64 = load ptr, ptr %10, align 8
%65 = call i32 @nvhost_gr3d_close(ptr noundef %64)
%66 = load ptr, ptr %11, align 8
%67 = call i32 @nvhost_ctrl_close(ptr noundef %66)
%68 = load ptr, ptr %12, align 8
%69 = call i32 @nvmap_close(ptr noundef %68)
store i32 0, ptr %3, align 4
br label %70
70: ; preds = %59, %58, %51, %44, %37, %30, %22, %17
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare ptr @nvmap_open(...) #1
declare ptr @nvhost_ctrl_open(...) #1
declare ptr @nvmap_framebuffer_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @nvhost_gr2d_open(ptr noundef, ptr noundef) #1
declare ptr @nvhost_gr3d_open(ptr noundef, ptr noundef) #1
declare i32 @nvhost_gr2d_clear(ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef) #1
declare i32 @nvhost_gr3d_triangle(ptr noundef, ptr noundef) #1
declare i32 @nvmap_framebuffer_save(ptr noundef, ptr noundef) #1
declare i32 @nvmap_framebuffer_free(ptr noundef) #1
declare i32 @nvhost_gr3d_close(ptr noundef) #1
declare i32 @nvhost_ctrl_close(ptr noundef) #1
declare i32 @nvmap_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/tmptznxy8ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.png\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
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 32, ptr %8, align 4
store i32 32, ptr %7, align 4
%14 = call ptr (...) @nvmap_open()
store ptr %14, ptr %12, align 8
%15 = load ptr, ptr %12, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %2
store i32 1, ptr %3, align 4
br label %70
18: ; preds = %2
%19 = call ptr (...) @nvhost_ctrl_open()
store ptr %19, ptr %11, align 8
%20 = load ptr, ptr %11, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %18
store i32 1, ptr %3, align 4
br label %70
23: ; preds = %18
%24 = load ptr, ptr %12, align 8
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = call ptr @nvmap_framebuffer_create(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 32)
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %23
store i32 1, ptr %3, align 4
br label %70
31: ; preds = %23
%32 = load ptr, ptr %12, align 8
%33 = load ptr, ptr %11, align 8
%34 = call ptr @nvhost_gr2d_open(ptr noundef %32, ptr noundef %33)
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %9, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %38, label %37
37: ; preds = %31
store i32 1, ptr %3, align 4
br label %70
38: ; preds = %31
%39 = load ptr, ptr %12, align 8
%40 = load ptr, ptr %11, align 8
%41 = call ptr @nvhost_gr3d_open(ptr noundef %39, ptr noundef %40)
store ptr %41, ptr %10, align 8
%42 = load ptr, ptr %10, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %45, label %44
44: ; preds = %38
store i32 1, ptr %3, align 4
br label %70
45: ; preds = %38
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %6, align 8
%48 = call i32 @nvhost_gr2d_clear(ptr noundef %46, ptr noundef %47, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %45
store i32 1, ptr %3, align 4
br label %70
52: ; preds = %45
%53 = load ptr, ptr %10, align 8
%54 = load ptr, ptr %6, align 8
%55 = call i32 @nvhost_gr3d_triangle(ptr noundef %53, ptr noundef %54)
store i32 %55, ptr %13, align 4
%56 = load i32, ptr %13, align 4
%57 = icmp slt i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %52
store i32 1, ptr %3, align 4
br label %70
59: ; preds = %52
%60 = load ptr, ptr %6, align 8
%61 = call i32 @nvmap_framebuffer_save(ptr noundef %60, ptr noundef @.str)
%62 = load ptr, ptr %6, align 8
%63 = call i32 @nvmap_framebuffer_free(ptr noundef %62)
%64 = load ptr, ptr %10, align 8
%65 = call i32 @nvhost_gr3d_close(ptr noundef %64)
%66 = load ptr, ptr %11, align 8
%67 = call i32 @nvhost_ctrl_close(ptr noundef %66)
%68 = load ptr, ptr %12, align 8
%69 = call i32 @nvmap_close(ptr noundef %68)
store i32 0, ptr %3, align 4
br label %70
70: ; preds = %59, %58, %51, %44, %37, %30, %22, %17
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare ptr @nvmap_open(...) #1
declare ptr @nvhost_ctrl_open(...) #1
declare ptr @nvmap_framebuffer_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @nvhost_gr2d_open(ptr noundef, ptr noundef) #1
declare ptr @nvhost_gr3d_open(ptr noundef, ptr noundef) #1
declare i32 @nvhost_gr2d_clear(ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef) #1
declare i32 @nvhost_gr3d_triangle(ptr noundef, ptr noundef) #1
declare i32 @nvmap_framebuffer_save(ptr noundef, ptr noundef) #1
declare i32 @nvmap_framebuffer_free(ptr noundef) #1
declare i32 @nvhost_gr3d_close(ptr noundef) #1
declare i32 @nvhost_ctrl_close(ptr noundef) #1
declare i32 @nvmap_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/tmpa05yol0u.c'
source_filename = "/tmp/tmpa05yol0u.c"
target datalayout = "e-m:e-p270: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/tmpa05yol0u.c"
target datalayout = "e-m:e-p270: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/tmp1864wgox.c'
source_filename = "/tmp/tmp1864wgox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @PointNormal(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %3, align 8
store double 0xBFD49F74C64EF237, ptr %4, align 8
store double -1.000000e+00, ptr %5, align 8
store double 0xBFD5E74B5C67F146, ptr %6, align 8
store double 0xBF94E9CC7387A830, ptr %7, align 8
store double 0xBF07C8AEC3ED1A62, ptr %8, align 8
store double 0x3FB96EE69DCCF754, ptr %9, align 8
store double 0x3FE2D5A90489BD2F, ptr %10, align 8
store double 0x3FE0FECCB034F054, ptr %11, align 8
store double 0x3FBA81733E645F68, ptr %12, align 8
store double 0x3F6F96C3DA074588, ptr %13, align 8
store double 0.000000e+00, ptr %15, align 8
%18 = load double, ptr %3, align 8
store double %18, ptr %16, align 8
%19 = load double, ptr %16, align 8
%20 = fcmp olt double %19, 5.000000e-01
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = load double, ptr %16, align 8
br label %26
23: ; preds = %1
%24 = load double, ptr %16, align 8
%25 = fsub double 1.000000e+00, %24
br label %26
26: ; preds = %23, %21
%27 = phi double [ %22, %21 ], [ %25, %23 ]
store double %27, ptr %17, align 8
%28 = load double, ptr %17, align 8
%29 = fcmp olt double %28, 0x3BC79CA10C924223
br i1 %29, label %30, label %31
30: ; preds = %26
store double -9.999000e+03, ptr %2, align 8
br label %77
31: ; preds = %26
%32 = load double, ptr %17, align 8
%33 = load double, ptr %17, align 8
%34 = fmul double %32, %33
%35 = fdiv double 1.000000e+00, %34
%36 = fptosi double %35 to i32
%37 = call i32 @log(i32 noundef %36)
%38 = call double @sqrt(i32 noundef %37)
store double %38, ptr %14, align 8
%39 = load double, ptr %14, align 8
%40 = load double, ptr %14, align 8
%41 = load double, ptr %8, align 8
%42 = load double, ptr %7, align 8
%43 = call double @llvm.fmuladd.f64(double %40, double %41, double %42)
%44 = load double, ptr %14, align 8
%45 = load double, ptr %6, align 8
%46 = call double @llvm.fmuladd.f64(double %43, double %44, double %45)
%47 = load double, ptr %14, align 8
%48 = load double, ptr %5, align 8
%49 = call double @llvm.fmuladd.f64(double %46, double %47, double %48)
%50 = load double, ptr %14, align 8
%51 = load double, ptr %4, align 8
%52 = call double @llvm.fmuladd.f64(double %49, double %50, double %51)
%53 = load double, ptr %14, align 8
%54 = load double, ptr %13, align 8
%55 = load double, ptr %12, align 8
%56 = call double @llvm.fmuladd.f64(double %53, double %54, double %55)
%57 = load double, ptr %14, align 8
%58 = load double, ptr %11, align 8
%59 = call double @llvm.fmuladd.f64(double %56, double %57, double %58)
%60 = load double, ptr %14, align 8
%61 = load double, ptr %10, align 8
%62 = call double @llvm.fmuladd.f64(double %59, double %60, double %61)
%63 = load double, ptr %14, align 8
%64 = load double, ptr %9, align 8
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
%66 = fdiv double %52, %65
%67 = fadd double %39, %66
store double %67, ptr %15, align 8
%68 = load double, ptr %16, align 8
%69 = fcmp olt double %68, 5.000000e-01
br i1 %69, label %70, label %73
70: ; preds = %31
%71 = load double, ptr %15, align 8
%72 = fneg double %71
br label %75
73: ; preds = %31
%74 = load double, ptr %15, align 8
br label %75
75: ; preds = %73, %70
%76 = phi double [ %72, %70 ], [ %74, %73 ]
store double %76, ptr %2, align 8
br label %77
77: ; preds = %75, %30
%78 = load double, ptr %2, align 8
ret double %78
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp1864wgox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @PointNormal(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %3, align 8
store double 0xBFD49F74C64EF237, ptr %4, align 8
store double -1.000000e+00, ptr %5, align 8
store double 0xBFD5E74B5C67F146, ptr %6, align 8
store double 0xBF94E9CC7387A830, ptr %7, align 8
store double 0xBF07C8AEC3ED1A62, ptr %8, align 8
store double 0x3FB96EE69DCCF754, ptr %9, align 8
store double 0x3FE2D5A90489BD2F, ptr %10, align 8
store double 0x3FE0FECCB034F054, ptr %11, align 8
store double 0x3FBA81733E645F68, ptr %12, align 8
store double 0x3F6F96C3DA074588, ptr %13, align 8
store double 0.000000e+00, ptr %15, align 8
%18 = load double, ptr %3, align 8
store double %18, ptr %16, align 8
%19 = load double, ptr %16, align 8
%20 = fcmp olt double %19, 5.000000e-01
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = load double, ptr %16, align 8
br label %26
23: ; preds = %1
%24 = load double, ptr %16, align 8
%25 = fsub double 1.000000e+00, %24
br label %26
26: ; preds = %23, %21
%27 = phi double [ %22, %21 ], [ %25, %23 ]
store double %27, ptr %17, align 8
%28 = load double, ptr %17, align 8
%29 = fcmp olt double %28, 0x3BC79CA10C924223
br i1 %29, label %30, label %31
30: ; preds = %26
store double -9.999000e+03, ptr %2, align 8
br label %77
31: ; preds = %26
%32 = load double, ptr %17, align 8
%33 = load double, ptr %17, align 8
%34 = fmul double %32, %33
%35 = fdiv double 1.000000e+00, %34
%36 = fptosi double %35 to i32
%37 = call i32 @log(i32 noundef %36)
%38 = call double @sqrt(i32 noundef %37)
store double %38, ptr %14, align 8
%39 = load double, ptr %14, align 8
%40 = load double, ptr %14, align 8
%41 = load double, ptr %8, align 8
%42 = load double, ptr %7, align 8
%43 = call double @llvm.fmuladd.f64(double %40, double %41, double %42)
%44 = load double, ptr %14, align 8
%45 = load double, ptr %6, align 8
%46 = call double @llvm.fmuladd.f64(double %43, double %44, double %45)
%47 = load double, ptr %14, align 8
%48 = load double, ptr %5, align 8
%49 = call double @llvm.fmuladd.f64(double %46, double %47, double %48)
%50 = load double, ptr %14, align 8
%51 = load double, ptr %4, align 8
%52 = call double @llvm.fmuladd.f64(double %49, double %50, double %51)
%53 = load double, ptr %14, align 8
%54 = load double, ptr %13, align 8
%55 = load double, ptr %12, align 8
%56 = call double @llvm.fmuladd.f64(double %53, double %54, double %55)
%57 = load double, ptr %14, align 8
%58 = load double, ptr %11, align 8
%59 = call double @llvm.fmuladd.f64(double %56, double %57, double %58)
%60 = load double, ptr %14, align 8
%61 = load double, ptr %10, align 8
%62 = call double @llvm.fmuladd.f64(double %59, double %60, double %61)
%63 = load double, ptr %14, align 8
%64 = load double, ptr %9, align 8
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
%66 = fdiv double %52, %65
%67 = fadd double %39, %66
store double %67, ptr %15, align 8
%68 = load double, ptr %16, align 8
%69 = fcmp olt double %68, 5.000000e-01
br i1 %69, label %70, label %73
70: ; preds = %31
%71 = load double, ptr %15, align 8
%72 = fneg double %71
br label %75
73: ; preds = %31
%74 = load double, ptr %15, align 8
br label %75
75: ; preds = %73, %70
%76 = phi double [ %72, %70 ], [ %74, %73 ]
store double %76, ptr %2, align 8
br label %77
77: ; preds = %75, %30
%78 = load double, ptr %2, align 8
ret double %78
}
declare double @sqrt(i32 noundef) #1
declare i32 @log(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp2x03c6x5.c'
source_filename = "/tmp/tmp2x03c6x5.c"
target datalayout = "e-m:e-p270: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/tmp2x03c6x5.c"
target datalayout = "e-m:e-p270: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/tmpaxun7kp2.c'
source_filename = "/tmp/tmpaxun7kp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"All assertions correct - success!\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 @Fib(i32 noundef 8)
%7 = icmp eq i32 %6, 21
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i32 @Fib(i32 noundef 12)
%11 = icmp eq i32 %10, 144
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @Fib(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxun7kp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"All assertions correct - success!\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 @Fib(i32 noundef 8)
%7 = icmp eq i32 %6, 21
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i32 @Fib(i32 noundef 12)
%11 = icmp eq i32 %10, 144
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @Fib(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3zgobz_s.c'
source_filename = "/tmp/tmp3zgobz_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_attr_setinheritsched(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
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zgobz_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_attr_setinheritsched(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
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpemidapxf.c'
source_filename = "/tmp/tmpemidapxf.c"
target datalayout = "e-m:e-p270: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/tmpemidapxf.c"
target datalayout = "e-m:e-p270: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/tmp0kma8evs.c'
source_filename = "/tmp/tmp0kma8evs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Ok dude, let's take a look at this machine...\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"I see that there are %d bits in a char\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Woooha, this is a %s architecture!\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"big endian\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"little endian\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"It looks like there are %d bits in a machine word\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"Let's see how -1 is represented: \00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"Nice! What about %d (INT_MAX)?\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"What about %d (INT_MIN)?\0A\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"What about abs(INT_MIN)?\0A\00", align 1
@.str.10 = private unnamed_addr constant [137 x i8] c"Oops! That's the case where x = -x for x != 0, which theoretically and mathematically speaking can't happen, but it does in real world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i64 (...) @size_t_unit()
%8 = trunc i64 %7 to i32
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = call i64 (...) @is_bigendian()
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.3, ptr @.str.4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = call i32 (...) @wordlength()
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%18 = call i32 @printbinary(i32 noundef -1)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 2147483647)
%20 = call i32 @printbinary(i32 noundef 2147483647)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef -2147483648)
%22 = call i32 @printbinary(i32 noundef -2147483648)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%24 = call i32 @printbinary(i32 noundef -2147483648)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @size_t_unit(...) #1
declare i64 @is_bigendian(...) #1
declare i32 @wordlength(...) #1
declare i32 @printbinary(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/tmp0kma8evs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Ok dude, let's take a look at this machine...\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"I see that there are %d bits in a char\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Woooha, this is a %s architecture!\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"big endian\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"little endian\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"It looks like there are %d bits in a machine word\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"Let's see how -1 is represented: \00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"Nice! What about %d (INT_MAX)?\0A\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"What about %d (INT_MIN)?\0A\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"What about abs(INT_MIN)?\0A\00", align 1
@.str.10 = private unnamed_addr constant [137 x i8] c"Oops! That's the case where x = -x for x != 0, which theoretically and mathematically speaking can't happen, but it does in real world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i64 (...) @size_t_unit()
%8 = trunc i64 %7 to i32
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = call i64 (...) @is_bigendian()
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.3, ptr @.str.4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = call i32 (...) @wordlength()
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%18 = call i32 @printbinary(i32 noundef -1)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 2147483647)
%20 = call i32 @printbinary(i32 noundef 2147483647)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef -2147483648)
%22 = call i32 @printbinary(i32 noundef -2147483648)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%24 = call i32 @printbinary(i32 noundef -2147483648)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @size_t_unit(...) #1
declare i64 @is_bigendian(...) #1
declare i32 @wordlength(...) #1
declare i32 @printbinary(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/tmpdi9_x5v2.c'
source_filename = "/tmp/tmpdi9_x5v2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdi9_x5v2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphlr6t580.c'
source_filename = "/tmp/tmphlr6t580.c"
target datalayout = "e-m:e-p270: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/tmphlr6t580.c"
target datalayout = "e-m:e-p270: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/tmp3k1_lduv.c'
source_filename = "/tmp/tmp3k1_lduv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c" str=(%s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @charElement(ptr noundef %0, ptr noundef %1, i32 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 ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %10, 1
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %8, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %14, i64 %18
store i8 0, ptr %19, align 1
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%21 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %21)
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3k1_lduv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c" str=(%s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @charElement(ptr noundef %0, ptr noundef %1, i32 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 ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %10, 1
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %8, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %14, i64 %18
store i8 0, ptr %19, align 1
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%21 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %21)
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5k_b4l39.c'
source_filename = "/tmp/tmp5k_b4l39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_blank(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @str_length(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %30
11: ; preds = %1
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %26, %11
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = call i32 @isspace(i8 noundef signext %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %16
store i32 0, ptr %2, align 4
br label %30
25: ; preds = %16
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %29, %24, %10
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @str_length(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5k_b4l39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_blank(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @str_length(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %32
11: ; preds = %1
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %25
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @isspace(i8 noundef signext %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %15
store i32 0, ptr %2, align 4
br label %32
24: ; preds = %15
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %11
store i32 1, ptr %2, align 4
br label %32
32: ; preds = %31, %23, %10
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @str_length(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk1njeq9e.c'
source_filename = "/tmp/tmpk1njeq9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0A\09Digite uma frase: \00", align 1
@.str.1 = private unnamed_addr constant [228 x i8] c"\0A\09A vogal 'a' aparece na frase %d vezes.\0A\09A vogal 'e' aparece na frase %d vezes.\0A\09A vogal 'i' aparece na frase %d vezes.\0A\09A vogal 'o' aparece na frase %d vezes.\0A\09A vogal 'u' aparece na frase %d vezes.\0A\09O total de vogais \C3\A9: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '1' aparece na frase %d vezes.\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '2' aparece na frase %d vezes.\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '3' aparece na frase %d vezes.\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '4' aparece na frase %d vezes.\00", align 1
@.str.6 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '5' aparece na frase %d vezes.\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '6' aparece na frase %d vezes.\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '7' aparece na frase %d vezes.\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '8' aparece na frase %d vezes.\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '9' aparece na frase %d vezes.\00", align 1
@.str.11 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '0' aparece na frase %d vezes.\00", align 1
@.str.12 = private unnamed_addr constant [38 x i8] c"\0A\09O n\C3\BAmero total de d\C3\ADgitos \C3\A9 %d.\0A\00", align 1
@.str.13 = private unnamed_addr constant [117 x i8] c"\0A\09O n\C3\BAmero total de letras \C3\A9 %d.\0A\09O n\C3\BAmero de letras mai\C3\BAsculas \C3\A9 %d.\0A\09O n\C3\BAmero de letras min\C3\BAsculas \C3\A9 %d.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [201 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %22, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %18, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %16, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%25 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @gets(ptr noundef %25)
store i32 0, ptr %23, align 4
br label %27
27: ; preds = %236, %0
%28 = load i32, ptr %23, align 4
%29 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = icmp slt i32 %28, %30
br i1 %31, label %32, label %239
32: ; preds = %27
%33 = load i32, ptr %23, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 97
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %86
42: ; preds = %32
%43 = load i32, ptr %23, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 101
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = load i32, ptr %4, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %4, align 4
br label %85
52: ; preds = %42
%53 = load i32, ptr %23, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 105
br i1 %58, label %59, label %62
59: ; preds = %52
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %84
62: ; preds = %52
%63 = load i32, ptr %23, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 111
br i1 %68, label %69, label %72
69: ; preds = %62
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
br label %83
72: ; preds = %62
%73 = load i32, ptr %23, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 117
br i1 %78, label %79, label %82
79: ; preds = %72
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
br label %82
82: ; preds = %79, %72
br label %83
83: ; preds = %82, %69
br label %84
84: ; preds = %83, %59
br label %85
85: ; preds = %84, %49
br label %86
86: ; preds = %85, %39
%87 = load i32, ptr %23, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %88
%90 = load i8, ptr %89, align 1
%91 = call i64 @isdigit(i8 noundef signext %90)
%92 = icmp ne i64 %91, 0
br i1 %92, label %93, label %205
93: ; preds = %86
%94 = load i32, ptr %19, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %19, align 4
%96 = load i32, ptr %23, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 49
br i1 %101, label %102, label %105
102: ; preds = %93
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %9, align 4
br label %204
105: ; preds = %93
%106 = load i32, ptr %23, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 50
br i1 %111, label %112, label %115
112: ; preds = %105
%113 = load i32, ptr %10, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %10, align 4
br label %203
115: ; preds = %105
%116 = load i32, ptr %23, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %117
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 51
br i1 %121, label %122, label %125
122: ; preds = %115
%123 = load i32, ptr %11, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %11, align 4
br label %202
125: ; preds = %115
%126 = load i32, ptr %23, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %127
%129 = load i8, ptr %128, align 1
%130 = sext i8 %129 to i32
%131 = icmp eq i32 %130, 52
br i1 %131, label %132, label %135
132: ; preds = %125
%133 = load i32, ptr %12, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %12, align 4
br label %201
135: ; preds = %125
%136 = load i32, ptr %23, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %137
%139 = load i8, ptr %138, align 1
%140 = sext i8 %139 to i32
%141 = icmp eq i32 %140, 53
br i1 %141, label %142, label %145
142: ; preds = %135
%143 = load i32, ptr %13, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %13, align 4
br label %200
145: ; preds = %135
%146 = load i32, ptr %23, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %147
%149 = load i8, ptr %148, align 1
%150 = sext i8 %149 to i32
%151 = icmp eq i32 %150, 54
br i1 %151, label %152, label %155
152: ; preds = %145
%153 = load i32, ptr %14, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %14, align 4
br label %199
155: ; preds = %145
%156 = load i32, ptr %23, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %157
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 55
br i1 %161, label %162, label %165
162: ; preds = %155
%163 = load i32, ptr %15, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %15, align 4
br label %198
165: ; preds = %155
%166 = load i32, ptr %23, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %167
%169 = load i8, ptr %168, align 1
%170 = sext i8 %169 to i32
%171 = icmp eq i32 %170, 56
br i1 %171, label %172, label %175
172: ; preds = %165
%173 = load i32, ptr %16, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %16, align 4
br label %197
175: ; preds = %165
%176 = load i32, ptr %23, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %177
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 57
br i1 %181, label %182, label %185
182: ; preds = %175
%183 = load i32, ptr %17, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %17, align 4
br label %196
185: ; preds = %175
%186 = load i32, ptr %23, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %187
%189 = load i8, ptr %188, align 1
%190 = sext i8 %189 to i32
%191 = icmp eq i32 %190, 48
br i1 %191, label %192, label %195
192: ; preds = %185
%193 = load i32, ptr %18, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %18, align 4
br label %195
195: ; preds = %192, %185
br label %196
196: ; preds = %195, %182
br label %197
197: ; preds = %196, %172
br label %198
198: ; preds = %197, %162
br label %199
199: ; preds = %198, %152
br label %200
200: ; preds = %199, %142
br label %201
201: ; preds = %200, %132
br label %202
202: ; preds = %201, %122
br label %203
203: ; preds = %202, %112
br label %204
204: ; preds = %203, %102
br label %205
205: ; preds = %204, %86
%206 = load i32, ptr %23, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %207
%209 = load i8, ptr %208, align 1
%210 = call i64 @isalpha(i8 noundef signext %209)
%211 = icmp ne i64 %210, 0
br i1 %211, label %212, label %235
212: ; preds = %205
%213 = load i32, ptr %20, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %20, align 4
%215 = load i32, ptr %23, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %216
%218 = load i8, ptr %217, align 1
%219 = call i64 @isupper(i8 noundef signext %218)
%220 = icmp ne i64 %219, 0
br i1 %220, label %221, label %224
221: ; preds = %212
%222 = load i32, ptr %21, align 4
%223 = add nsw i32 %222, 1
store i32 %223, ptr %21, align 4
br label %224
224: ; preds = %221, %212
%225 = load i32, ptr %23, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %226
%228 = load i8, ptr %227, align 1
%229 = call i64 @islower(i8 noundef signext %228)
%230 = icmp ne i64 %229, 0
br i1 %230, label %231, label %234
231: ; preds = %224
%232 = load i32, ptr %22, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %22, align 4
br label %234
234: ; preds = %231, %224
br label %235
235: ; preds = %234, %205
br label %236
236: ; preds = %235
%237 = load i32, ptr %23, align 4
%238 = add nsw i32 %237, 1
store i32 %238, ptr %23, align 4
br label %27, !llvm.loop !6
239: ; preds = %27
%240 = load i32, ptr %3, align 4
%241 = load i32, ptr %4, align 4
%242 = add nsw i32 %240, %241
%243 = load i32, ptr %5, align 4
%244 = add nsw i32 %242, %243
%245 = load i32, ptr %6, align 4
%246 = add nsw i32 %244, %245
%247 = load i32, ptr %7, align 4
%248 = add nsw i32 %246, %247
store i32 %248, ptr %8, align 4
%249 = load i32, ptr %3, align 4
%250 = load i32, ptr %4, align 4
%251 = load i32, ptr %5, align 4
%252 = load i32, ptr %6, align 4
%253 = load i32, ptr %7, align 4
%254 = load i32, ptr %8, align 4
%255 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254)
%256 = load i32, ptr %9, align 4
%257 = icmp sgt i32 %256, 0
br i1 %257, label %258, label %261
258: ; preds = %239
%259 = load i32, ptr %9, align 4
%260 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %259)
br label %261
261: ; preds = %258, %239
%262 = load i32, ptr %10, align 4
%263 = icmp sgt i32 %262, 0
br i1 %263, label %264, label %267
264: ; preds = %261
%265 = load i32, ptr %10, align 4
%266 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %265)
br label %267
267: ; preds = %264, %261
%268 = load i32, ptr %11, align 4
%269 = icmp sgt i32 %268, 0
br i1 %269, label %270, label %273
270: ; preds = %267
%271 = load i32, ptr %11, align 4
%272 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %271)
br label %273
273: ; preds = %270, %267
%274 = load i32, ptr %12, align 4
%275 = icmp sgt i32 %274, 0
br i1 %275, label %276, label %279
276: ; preds = %273
%277 = load i32, ptr %12, align 4
%278 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %277)
br label %279
279: ; preds = %276, %273
%280 = load i32, ptr %13, align 4
%281 = icmp sgt i32 %280, 0
br i1 %281, label %282, label %285
282: ; preds = %279
%283 = load i32, ptr %13, align 4
%284 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %283)
br label %285
285: ; preds = %282, %279
%286 = load i32, ptr %14, align 4
%287 = icmp sgt i32 %286, 0
br i1 %287, label %288, label %291
288: ; preds = %285
%289 = load i32, ptr %14, align 4
%290 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %289)
br label %291
291: ; preds = %288, %285
%292 = load i32, ptr %15, align 4
%293 = icmp sgt i32 %292, 0
br i1 %293, label %294, label %297
294: ; preds = %291
%295 = load i32, ptr %15, align 4
%296 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %295)
br label %297
297: ; preds = %294, %291
%298 = load i32, ptr %16, align 4
%299 = icmp sgt i32 %298, 0
br i1 %299, label %300, label %303
300: ; preds = %297
%301 = load i32, ptr %16, align 4
%302 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %301)
br label %303
303: ; preds = %300, %297
%304 = load i32, ptr %17, align 4
%305 = icmp sgt i32 %304, 0
br i1 %305, label %306, label %309
306: ; preds = %303
%307 = load i32, ptr %17, align 4
%308 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %307)
br label %309
309: ; preds = %306, %303
%310 = load i32, ptr %18, align 4
%311 = icmp sgt i32 %310, 0
br i1 %311, label %312, label %315
312: ; preds = %309
%313 = load i32, ptr %18, align 4
%314 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %313)
br label %315
315: ; preds = %312, %309
%316 = load i32, ptr %19, align 4
%317 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %316)
%318 = load i32, ptr %20, align 4
%319 = load i32, ptr %21, align 4
%320 = load i32, ptr %22, align 4
%321 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %318, i32 noundef %319, i32 noundef %320)
%322 = load i32, ptr %1, align 4
ret i32 %322
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isalpha(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk1njeq9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0A\09Digite uma frase: \00", align 1
@.str.1 = private unnamed_addr constant [228 x i8] c"\0A\09A vogal 'a' aparece na frase %d vezes.\0A\09A vogal 'e' aparece na frase %d vezes.\0A\09A vogal 'i' aparece na frase %d vezes.\0A\09A vogal 'o' aparece na frase %d vezes.\0A\09A vogal 'u' aparece na frase %d vezes.\0A\09O total de vogais \C3\A9: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '1' aparece na frase %d vezes.\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '2' aparece na frase %d vezes.\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '3' aparece na frase %d vezes.\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '4' aparece na frase %d vezes.\00", align 1
@.str.6 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '5' aparece na frase %d vezes.\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '6' aparece na frase %d vezes.\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '7' aparece na frase %d vezes.\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '8' aparece na frase %d vezes.\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '9' aparece na frase %d vezes.\00", align 1
@.str.11 = private unnamed_addr constant [42 x i8] c"\0A\09O digito '0' aparece na frase %d vezes.\00", align 1
@.str.12 = private unnamed_addr constant [38 x i8] c"\0A\09O n\C3\BAmero total de d\C3\ADgitos \C3\A9 %d.\0A\00", align 1
@.str.13 = private unnamed_addr constant [117 x i8] c"\0A\09O n\C3\BAmero total de letras \C3\A9 %d.\0A\09O n\C3\BAmero de letras mai\C3\BAsculas \C3\A9 %d.\0A\09O n\C3\BAmero de letras min\C3\BAsculas \C3\A9 %d.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [201 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %22, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %18, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %16, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%25 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @gets(ptr noundef %25)
store i32 0, ptr %23, align 4
%27 = load i32, ptr %23, align 4
%28 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 0
%29 = call i32 @strlen(ptr noundef %28)
%30 = icmp slt i32 %27, %29
br i1 %30, label %.lr.ph, label %241
.lr.ph: ; preds = %0
br label %31
31: ; preds = %.lr.ph, %235
%32 = load i32, ptr %23, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 97
br i1 %37, label %38, label %41
38: ; preds = %31
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %85
41: ; preds = %31
%42 = load i32, ptr %23, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 101
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
br label %84
51: ; preds = %41
%52 = load i32, ptr %23, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 105
br i1 %57, label %58, label %61
58: ; preds = %51
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %83
61: ; preds = %51
%62 = load i32, ptr %23, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 111
br i1 %67, label %68, label %71
68: ; preds = %61
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
br label %82
71: ; preds = %61
%72 = load i32, ptr %23, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 117
br i1 %77, label %78, label %81
78: ; preds = %71
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %81
81: ; preds = %78, %71
br label %82
82: ; preds = %81, %68
br label %83
83: ; preds = %82, %58
br label %84
84: ; preds = %83, %48
br label %85
85: ; preds = %84, %38
%86 = load i32, ptr %23, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %87
%89 = load i8, ptr %88, align 1
%90 = call i64 @isdigit(i8 noundef signext %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %204
92: ; preds = %85
%93 = load i32, ptr %19, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %19, align 4
%95 = load i32, ptr %23, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %96
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 49
br i1 %100, label %101, label %104
101: ; preds = %92
%102 = load i32, ptr %9, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %9, align 4
br label %203
104: ; preds = %92
%105 = load i32, ptr %23, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 50
br i1 %110, label %111, label %114
111: ; preds = %104
%112 = load i32, ptr %10, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %10, align 4
br label %202
114: ; preds = %104
%115 = load i32, ptr %23, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %116
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 51
br i1 %120, label %121, label %124
121: ; preds = %114
%122 = load i32, ptr %11, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %11, align 4
br label %201
124: ; preds = %114
%125 = load i32, ptr %23, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %126
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 52
br i1 %130, label %131, label %134
131: ; preds = %124
%132 = load i32, ptr %12, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %12, align 4
br label %200
134: ; preds = %124
%135 = load i32, ptr %23, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %136
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %139, 53
br i1 %140, label %141, label %144
141: ; preds = %134
%142 = load i32, ptr %13, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %13, align 4
br label %199
144: ; preds = %134
%145 = load i32, ptr %23, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %146
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 54
br i1 %150, label %151, label %154
151: ; preds = %144
%152 = load i32, ptr %14, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %14, align 4
br label %198
154: ; preds = %144
%155 = load i32, ptr %23, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %156
%158 = load i8, ptr %157, align 1
%159 = sext i8 %158 to i32
%160 = icmp eq i32 %159, 55
br i1 %160, label %161, label %164
161: ; preds = %154
%162 = load i32, ptr %15, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %15, align 4
br label %197
164: ; preds = %154
%165 = load i32, ptr %23, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %166
%168 = load i8, ptr %167, align 1
%169 = sext i8 %168 to i32
%170 = icmp eq i32 %169, 56
br i1 %170, label %171, label %174
171: ; preds = %164
%172 = load i32, ptr %16, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %16, align 4
br label %196
174: ; preds = %164
%175 = load i32, ptr %23, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %176
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = icmp eq i32 %179, 57
br i1 %180, label %181, label %184
181: ; preds = %174
%182 = load i32, ptr %17, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %17, align 4
br label %195
184: ; preds = %174
%185 = load i32, ptr %23, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %186
%188 = load i8, ptr %187, align 1
%189 = sext i8 %188 to i32
%190 = icmp eq i32 %189, 48
br i1 %190, label %191, label %194
191: ; preds = %184
%192 = load i32, ptr %18, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %18, align 4
br label %194
194: ; preds = %191, %184
br label %195
195: ; preds = %194, %181
br label %196
196: ; preds = %195, %171
br label %197
197: ; preds = %196, %161
br label %198
198: ; preds = %197, %151
br label %199
199: ; preds = %198, %141
br label %200
200: ; preds = %199, %131
br label %201
201: ; preds = %200, %121
br label %202
202: ; preds = %201, %111
br label %203
203: ; preds = %202, %101
br label %204
204: ; preds = %203, %85
%205 = load i32, ptr %23, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %206
%208 = load i8, ptr %207, align 1
%209 = call i64 @isalpha(i8 noundef signext %208)
%210 = icmp ne i64 %209, 0
br i1 %210, label %211, label %234
211: ; preds = %204
%212 = load i32, ptr %20, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %20, align 4
%214 = load i32, ptr %23, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %215
%217 = load i8, ptr %216, align 1
%218 = call i64 @isupper(i8 noundef signext %217)
%219 = icmp ne i64 %218, 0
br i1 %219, label %220, label %223
220: ; preds = %211
%221 = load i32, ptr %21, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %21, align 4
br label %223
223: ; preds = %220, %211
%224 = load i32, ptr %23, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [201 x i8], ptr %2, i64 0, i64 %225
%227 = load i8, ptr %226, align 1
%228 = call i64 @islower(i8 noundef signext %227)
%229 = icmp ne i64 %228, 0
br i1 %229, label %230, label %233
230: ; preds = %223
%231 = load i32, ptr %22, align 4
%232 = add nsw i32 %231, 1
store i32 %232, ptr %22, align 4
br label %233
233: ; preds = %230, %223
br label %234
234: ; preds = %233, %204
br label %235
235: ; preds = %234
%236 = load i32, ptr %23, align 4
%237 = add nsw i32 %236, 1
store i32 %237, ptr %23, align 4
%238 = load i32, ptr %23, align 4
%239 = call i32 @strlen(ptr noundef %28)
%240 = icmp slt i32 %238, %239
br i1 %240, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %235
br label %241
241: ; preds = %._crit_edge, %0
%242 = load i32, ptr %3, align 4
%243 = load i32, ptr %4, align 4
%244 = add nsw i32 %242, %243
%245 = load i32, ptr %5, align 4
%246 = add nsw i32 %244, %245
%247 = load i32, ptr %6, align 4
%248 = add nsw i32 %246, %247
%249 = load i32, ptr %7, align 4
%250 = add nsw i32 %248, %249
store i32 %250, ptr %8, align 4
%251 = load i32, ptr %3, align 4
%252 = load i32, ptr %4, align 4
%253 = load i32, ptr %5, align 4
%254 = load i32, ptr %6, align 4
%255 = load i32, ptr %7, align 4
%256 = load i32, ptr %8, align 4
%257 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256)
%258 = load i32, ptr %9, align 4
%259 = icmp sgt i32 %258, 0
br i1 %259, label %260, label %263
260: ; preds = %241
%261 = load i32, ptr %9, align 4
%262 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %261)
br label %263
263: ; preds = %260, %241
%264 = load i32, ptr %10, align 4
%265 = icmp sgt i32 %264, 0
br i1 %265, label %266, label %269
266: ; preds = %263
%267 = load i32, ptr %10, align 4
%268 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %267)
br label %269
269: ; preds = %266, %263
%270 = load i32, ptr %11, align 4
%271 = icmp sgt i32 %270, 0
br i1 %271, label %272, label %275
272: ; preds = %269
%273 = load i32, ptr %11, align 4
%274 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %273)
br label %275
275: ; preds = %272, %269
%276 = load i32, ptr %12, align 4
%277 = icmp sgt i32 %276, 0
br i1 %277, label %278, label %281
278: ; preds = %275
%279 = load i32, ptr %12, align 4
%280 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %279)
br label %281
281: ; preds = %278, %275
%282 = load i32, ptr %13, align 4
%283 = icmp sgt i32 %282, 0
br i1 %283, label %284, label %287
284: ; preds = %281
%285 = load i32, ptr %13, align 4
%286 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %285)
br label %287
287: ; preds = %284, %281
%288 = load i32, ptr %14, align 4
%289 = icmp sgt i32 %288, 0
br i1 %289, label %290, label %293
290: ; preds = %287
%291 = load i32, ptr %14, align 4
%292 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %291)
br label %293
293: ; preds = %290, %287
%294 = load i32, ptr %15, align 4
%295 = icmp sgt i32 %294, 0
br i1 %295, label %296, label %299
296: ; preds = %293
%297 = load i32, ptr %15, align 4
%298 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %297)
br label %299
299: ; preds = %296, %293
%300 = load i32, ptr %16, align 4
%301 = icmp sgt i32 %300, 0
br i1 %301, label %302, label %305
302: ; preds = %299
%303 = load i32, ptr %16, align 4
%304 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %303)
br label %305
305: ; preds = %302, %299
%306 = load i32, ptr %17, align 4
%307 = icmp sgt i32 %306, 0
br i1 %307, label %308, label %311
308: ; preds = %305
%309 = load i32, ptr %17, align 4
%310 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %309)
br label %311
311: ; preds = %308, %305
%312 = load i32, ptr %18, align 4
%313 = icmp sgt i32 %312, 0
br i1 %313, label %314, label %317
314: ; preds = %311
%315 = load i32, ptr %18, align 4
%316 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %315)
br label %317
317: ; preds = %314, %311
%318 = load i32, ptr %19, align 4
%319 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %318)
%320 = load i32, ptr %20, align 4
%321 = load i32, ptr %21, align 4
%322 = load i32, ptr %22, align 4
%323 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %320, i32 noundef %321, i32 noundef %322)
%324 = load i32, ptr %1, align 4
ret i32 %324
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isalpha(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ox5ov5p.c'
source_filename = "/tmp/tmp5ox5ov5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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">2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @no_return_one_lev(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 2
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%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/tmp5ox5ov5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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">2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @no_return_one_lev(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 2
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%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/tmpbvfac7sa.c'
source_filename = "/tmp/tmpbvfac7sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Error at %d, h = %lf, d = %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Error at A[%d], h = %lf, d = %lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Error at B[%d], h = %lf, d = %lf\0A\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"lastpriv value is %d and should have been %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"Error at (%d,%d), h = %lf, d = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [992 x double], align 16
%3 = alloca [992 x double], align 16
%4 = alloca [992 x double], align 16
%5 = alloca [992 x double], align 16
%6 = alloca [992 x double], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca i32, align 4
%58 = alloca i32, align 4
%59 = alloca i32, align 4
%60 = alloca i32, align 4
%61 = alloca double, align 8
%62 = alloca double, align 8
%63 = alloca i32, align 4
%64 = alloca i32, align 4
%65 = alloca i32, align 4
%66 = alloca i32, align 4
%67 = alloca i32, align 4
%68 = alloca i32, align 4
%69 = alloca i32, align 4
%70 = alloca i32, align 4
%71 = alloca i32, align 4
%72 = alloca i32, align 4
%73 = alloca i32, align 4
%74 = alloca i32, align 4
%75 = alloca i32, align 4
%76 = alloca i32, align 4
%77 = alloca i32, align 4
%78 = alloca i32, align 4
%79 = alloca i32, align 4
%80 = alloca i32, align 4
%81 = alloca i32, align 4
%82 = alloca i32, align 4
%83 = alloca i32, align 4
%84 = alloca i32, align 4
%85 = alloca i32, align 4
%86 = alloca i32, align 4
%87 = alloca i32, align 4
%88 = alloca i32, align 4
%89 = alloca ptr, align 8
%90 = alloca ptr, align 8
%91 = alloca ptr, align 8
%92 = alloca i32, align 4
%93 = alloca i32, align 4
%94 = alloca i32, align 4
%95 = alloca i32, align 4
%96 = alloca i32, align 4
%97 = alloca i32, align 4
%98 = alloca i32, align 4
%99 = alloca i32, align 4
%100 = alloca ptr, align 8
%101 = alloca ptr, align 8
%102 = alloca i32, align 4
%103 = alloca i32, align 4
%104 = alloca i32, align 4
%105 = alloca i32, align 4
%106 = alloca i32, align 4
%107 = alloca i32, align 4
%108 = alloca i32, align 4
%109 = alloca i32, align 4
%110 = alloca i32, align 4
%111 = alloca i32, align 4
store i32 0, ptr %1, align 4
%112 = call i32 (...) @check_offloading()
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %113
113: ; preds = %131, %0
%114 = load i32, ptr %8, align 4
%115 = icmp slt i32 %114, 992
br i1 %115, label %116, label %134
116: ; preds = %113
%117 = load i32, ptr %8, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %118
store double 1.000000e+00, ptr %119, align 8
%120 = load i32, ptr %8, align 4
%121 = sitofp i32 %120 to double
%122 = load i32, ptr %8, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %123
store double %121, ptr %124, align 8
%125 = load i32, ptr %8, align 4
%126 = sub nsw i32 0, %125
%127 = sitofp i32 %126 to double
%128 = load i32, ptr %8, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %129
store double %127, ptr %130, align 8
br label %131
131: ; preds = %116
%132 = load i32, ptr %8, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %8, align 4
br label %113, !llvm.loop !6
134: ; preds = %113
store i32 0, ptr %9, align 4
br label %135
135: ; preds = %142, %134
%136 = load i32, ptr %9, align 4
%137 = icmp slt i32 %136, 992
br i1 %137, label %138, label %145
138: ; preds = %135
%139 = load i32, ptr %9, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %140
store double 0.000000e+00, ptr %141, align 8
br label %142
142: ; preds = %138
%143 = load i32, ptr %9, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %9, align 4
br label %135, !llvm.loop !8
145: ; preds = %135
store i32 0, ptr %10, align 4
br label %146
146: ; preds = %167, %145
%147 = load i32, ptr %10, align 4
%148 = icmp slt i32 %147, 1
br i1 %148, label %149, label %170
149: ; preds = %146
store i32 0, ptr %11, align 4
br label %150
150: ; preds = %163, %149
%151 = load i32, ptr %11, align 4
%152 = icmp slt i32 %151, 512
br i1 %152, label %153, label %166
153: ; preds = %150
%154 = load i32, ptr %11, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %155
%157 = load double, ptr %156, align 8
%158 = load i32, ptr %11, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %159
%161 = load double, ptr %160, align 8
%162 = fadd double %161, %157
store double %162, ptr %160, align 8
br label %163
163: ; preds = %153
%164 = load i32, ptr %11, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %11, align 4
br label %150, !llvm.loop !9
166: ; preds = %150
br label %167
167: ; preds = %166
%168 = load i32, ptr %10, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %10, align 4
br label %146, !llvm.loop !10
170: ; preds = %146
store i32 0, ptr %12, align 4
br label %171
171: ; preds = %188, %170
%172 = load i32, ptr %12, align 4
%173 = icmp slt i32 %172, 512
br i1 %173, label %174, label %191
174: ; preds = %171
%175 = load i32, ptr %12, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %176
%178 = load double, ptr %177, align 8
%179 = fcmp une double %178, 1.000000e+00
br i1 %179, label %180, label %187
180: ; preds = %174
%181 = load i32, ptr %12, align 4
%182 = load i32, ptr %12, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %183
%185 = load double, ptr %184, align 8
%186 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %181, double noundef 1.000000e+00, double noundef %185)
store i32 1, ptr %7, align 4
br label %187
187: ; preds = %180, %174
br label %188
188: ; preds = %187
%189 = load i32, ptr %12, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %12, align 4
br label %171, !llvm.loop !11
191: ; preds = %171
%192 = load i32, ptr %7, align 4
%193 = icmp ne i32 %192, 0
br i1 %193, label %194, label %196
194: ; preds = %191
%195 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %198
196: ; preds = %191
%197 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %198
198: ; preds = %196, %194
store i32 0, ptr %13, align 4
br label %199
199: ; preds = %206, %198
%200 = load i32, ptr %13, align 4
%201 = icmp slt i32 %200, 992
br i1 %201, label %202, label %209
202: ; preds = %199
%203 = load i32, ptr %13, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %204
store double 0.000000e+00, ptr %205, align 8
br label %206
206: ; preds = %202
%207 = load i32, ptr %13, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %13, align 4
br label %199, !llvm.loop !12
209: ; preds = %199
store i32 0, ptr %14, align 4
br label %210
210: ; preds = %231, %209
%211 = load i32, ptr %14, align 4
%212 = icmp slt i32 %211, 1
br i1 %212, label %213, label %234
213: ; preds = %210
store i32 0, ptr %15, align 4
br label %214
214: ; preds = %227, %213
%215 = load i32, ptr %15, align 4
%216 = icmp slt i32 %215, 500
br i1 %216, label %217, label %230
217: ; preds = %214
%218 = load i32, ptr %15, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %219
%221 = load double, ptr %220, align 8
%222 = load i32, ptr %15, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %223
%225 = load double, ptr %224, align 8
%226 = fadd double %225, %221
store double %226, ptr %224, align 8
br label %227
227: ; preds = %217
%228 = load i32, ptr %15, align 4
%229 = add nsw i32 %228, 1
store i32 %229, ptr %15, align 4
br label %214, !llvm.loop !13
230: ; preds = %214
br label %231
231: ; preds = %230
%232 = load i32, ptr %14, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %14, align 4
br label %210, !llvm.loop !14
234: ; preds = %210
store i32 0, ptr %16, align 4
br label %235
235: ; preds = %252, %234
%236 = load i32, ptr %16, align 4
%237 = icmp slt i32 %236, 500
br i1 %237, label %238, label %255
238: ; preds = %235
%239 = load i32, ptr %16, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %240
%242 = load double, ptr %241, align 8
%243 = fcmp une double %242, 1.000000e+00
br i1 %243, label %244, label %251
244: ; preds = %238
%245 = load i32, ptr %16, align 4
%246 = load i32, ptr %16, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %247
%249 = load double, ptr %248, align 8
%250 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %245, double noundef 1.000000e+00, double noundef %249)
store i32 1, ptr %7, align 4
br label %251
251: ; preds = %244, %238
br label %252
252: ; preds = %251
%253 = load i32, ptr %16, align 4
%254 = add nsw i32 %253, 1
store i32 %254, ptr %16, align 4
br label %235, !llvm.loop !15
255: ; preds = %235
%256 = load i32, ptr %7, align 4
%257 = icmp ne i32 %256, 0
br i1 %257, label %258, label %260
258: ; preds = %255
%259 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %262
260: ; preds = %255
%261 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %262
262: ; preds = %260, %258
store i32 0, ptr %17, align 4
br label %263
263: ; preds = %270, %262
%264 = load i32, ptr %17, align 4
%265 = icmp slt i32 %264, 992
br i1 %265, label %266, label %273
266: ; preds = %263
%267 = load i32, ptr %17, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %268
store double 0.000000e+00, ptr %269, align 8
br label %270
270: ; preds = %266
%271 = load i32, ptr %17, align 4
%272 = add nsw i32 %271, 1
store i32 %272, ptr %17, align 4
br label %263, !llvm.loop !16
273: ; preds = %263
store i32 0, ptr %18, align 4
br label %274
274: ; preds = %295, %273
%275 = load i32, ptr %18, align 4
%276 = icmp slt i32 %275, 1
br i1 %276, label %277, label %298
277: ; preds = %274
store i32 0, ptr %19, align 4
br label %278
278: ; preds = %291, %277
%279 = load i32, ptr %19, align 4
%280 = icmp slt i32 %279, 123
br i1 %280, label %281, label %294
281: ; preds = %278
%282 = load i32, ptr %19, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %283
%285 = load double, ptr %284, align 8
%286 = load i32, ptr %19, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %287
%289 = load double, ptr %288, align 8
%290 = fadd double %289, %285
store double %290, ptr %288, align 8
br label %291
291: ; preds = %281
%292 = load i32, ptr %19, align 4
%293 = add nsw i32 %292, 1
store i32 %293, ptr %19, align 4
br label %278, !llvm.loop !17
294: ; preds = %278
br label %295
295: ; preds = %294
%296 = load i32, ptr %18, align 4
%297 = add nsw i32 %296, 1
store i32 %297, ptr %18, align 4
br label %274, !llvm.loop !18
298: ; preds = %274
store i32 0, ptr %20, align 4
br label %299
299: ; preds = %316, %298
%300 = load i32, ptr %20, align 4
%301 = icmp slt i32 %300, 123
br i1 %301, label %302, label %319
302: ; preds = %299
%303 = load i32, ptr %20, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %304
%306 = load double, ptr %305, align 8
%307 = fcmp une double %306, 1.000000e+00
br i1 %307, label %308, label %315
308: ; preds = %302
%309 = load i32, ptr %20, align 4
%310 = load i32, ptr %20, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %311
%313 = load double, ptr %312, align 8
%314 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %309, double noundef 1.000000e+00, double noundef %313)
store i32 1, ptr %7, align 4
br label %315
315: ; preds = %308, %302
br label %316
316: ; preds = %315
%317 = load i32, ptr %20, align 4
%318 = add nsw i32 %317, 1
store i32 %318, ptr %20, align 4
br label %299, !llvm.loop !19
319: ; preds = %299
%320 = load i32, ptr %7, align 4
%321 = icmp ne i32 %320, 0
br i1 %321, label %322, label %324
322: ; preds = %319
%323 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %326
324: ; preds = %319
%325 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %326
326: ; preds = %324, %322
store i32 0, ptr %21, align 4
br label %327
327: ; preds = %334, %326
%328 = load i32, ptr %21, align 4
%329 = icmp slt i32 %328, 992
br i1 %329, label %330, label %337
330: ; preds = %327
%331 = load i32, ptr %21, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %332
store double 0.000000e+00, ptr %333, align 8
br label %334
334: ; preds = %330
%335 = load i32, ptr %21, align 4
%336 = add nsw i32 %335, 1
store i32 %336, ptr %21, align 4
br label %327, !llvm.loop !20
337: ; preds = %327
store i32 0, ptr %22, align 4
br label %338
338: ; preds = %359, %337
%339 = load i32, ptr %22, align 4
%340 = icmp slt i32 %339, 1
br i1 %340, label %341, label %362
341: ; preds = %338
store i32 0, ptr %23, align 4
br label %342
342: ; preds = %355, %341
%343 = load i32, ptr %23, align 4
%344 = icmp slt i32 %343, 512
br i1 %344, label %345, label %358
345: ; preds = %342
%346 = load i32, ptr %23, align 4
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %347
%349 = load double, ptr %348, align 8
%350 = load i32, ptr %23, align 4
%351 = sext i32 %350 to i64
%352 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %351
%353 = load double, ptr %352, align 8
%354 = fadd double %353, %349
store double %354, ptr %352, align 8
br label %355
355: ; preds = %345
%356 = load i32, ptr %23, align 4
%357 = add nsw i32 %356, 1
store i32 %357, ptr %23, align 4
br label %342, !llvm.loop !21
358: ; preds = %342
br label %359
359: ; preds = %358
%360 = load i32, ptr %22, align 4
%361 = add nsw i32 %360, 1
store i32 %361, ptr %22, align 4
br label %338, !llvm.loop !22
362: ; preds = %338
store i32 0, ptr %24, align 4
br label %363
363: ; preds = %380, %362
%364 = load i32, ptr %24, align 4
%365 = icmp slt i32 %364, 512
br i1 %365, label %366, label %383
366: ; preds = %363
%367 = load i32, ptr %24, align 4
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %368
%370 = load double, ptr %369, align 8
%371 = fcmp une double %370, 1.000000e+00
br i1 %371, label %372, label %379
372: ; preds = %366
%373 = load i32, ptr %24, align 4
%374 = load i32, ptr %24, align 4
%375 = sext i32 %374 to i64
%376 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %375
%377 = load double, ptr %376, align 8
%378 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %373, double noundef 1.000000e+00, double noundef %377)
store i32 1, ptr %7, align 4
br label %379
379: ; preds = %372, %366
br label %380
380: ; preds = %379
%381 = load i32, ptr %24, align 4
%382 = add nsw i32 %381, 1
store i32 %382, ptr %24, align 4
br label %363, !llvm.loop !23
383: ; preds = %363
%384 = load i32, ptr %7, align 4
%385 = icmp ne i32 %384, 0
br i1 %385, label %386, label %388
386: ; preds = %383
%387 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %390
388: ; preds = %383
%389 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %390
390: ; preds = %388, %386
store i32 0, ptr %25, align 4
br label %391
391: ; preds = %398, %390
%392 = load i32, ptr %25, align 4
%393 = icmp slt i32 %392, 992
br i1 %393, label %394, label %401
394: ; preds = %391
%395 = load i32, ptr %25, align 4
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %396
store double 0.000000e+00, ptr %397, align 8
br label %398
398: ; preds = %394
%399 = load i32, ptr %25, align 4
%400 = add nsw i32 %399, 1
store i32 %400, ptr %25, align 4
br label %391, !llvm.loop !24
401: ; preds = %391
store i32 0, ptr %26, align 4
br label %402
402: ; preds = %423, %401
%403 = load i32, ptr %26, align 4
%404 = icmp slt i32 %403, 1
br i1 %404, label %405, label %426
405: ; preds = %402
store i32 0, ptr %27, align 4
br label %406
406: ; preds = %419, %405
%407 = load i32, ptr %27, align 4
%408 = icmp slt i32 %407, 512
br i1 %408, label %409, label %422
409: ; preds = %406
%410 = load i32, ptr %27, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %411
%413 = load double, ptr %412, align 8
%414 = load i32, ptr %27, align 4
%415 = sext i32 %414 to i64
%416 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %415
%417 = load double, ptr %416, align 8
%418 = fadd double %417, %413
store double %418, ptr %416, align 8
br label %419
419: ; preds = %409
%420 = load i32, ptr %27, align 4
%421 = add nsw i32 %420, 1
store i32 %421, ptr %27, align 4
br label %406, !llvm.loop !25
422: ; preds = %406
br label %423
423: ; preds = %422
%424 = load i32, ptr %26, align 4
%425 = add nsw i32 %424, 1
store i32 %425, ptr %26, align 4
br label %402, !llvm.loop !26
426: ; preds = %402
store i32 0, ptr %28, align 4
br label %427
427: ; preds = %444, %426
%428 = load i32, ptr %28, align 4
%429 = icmp slt i32 %428, 512
br i1 %429, label %430, label %447
430: ; preds = %427
%431 = load i32, ptr %28, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %432
%434 = load double, ptr %433, align 8
%435 = fcmp une double %434, 1.000000e+00
br i1 %435, label %436, label %443
436: ; preds = %430
%437 = load i32, ptr %28, align 4
%438 = load i32, ptr %28, align 4
%439 = sext i32 %438 to i64
%440 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %439
%441 = load double, ptr %440, align 8
%442 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %437, double noundef 1.000000e+00, double noundef %441)
store i32 1, ptr %7, align 4
br label %443
443: ; preds = %436, %430
br label %444
444: ; preds = %443
%445 = load i32, ptr %28, align 4
%446 = add nsw i32 %445, 1
store i32 %446, ptr %28, align 4
br label %427, !llvm.loop !27
447: ; preds = %427
%448 = load i32, ptr %7, align 4
%449 = icmp ne i32 %448, 0
br i1 %449, label %450, label %452
450: ; preds = %447
%451 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %454
452: ; preds = %447
%453 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %454
454: ; preds = %452, %450
store i32 0, ptr %29, align 4
br label %455
455: ; preds = %462, %454
%456 = load i32, ptr %29, align 4
%457 = icmp slt i32 %456, 992
br i1 %457, label %458, label %465
458: ; preds = %455
%459 = load i32, ptr %29, align 4
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %460
store double 0.000000e+00, ptr %461, align 8
br label %462
462: ; preds = %458
%463 = load i32, ptr %29, align 4
%464 = add nsw i32 %463, 1
store i32 %464, ptr %29, align 4
br label %455, !llvm.loop !28
465: ; preds = %455
store i32 10, ptr %30, align 4
%466 = load i32, ptr %30, align 4
%467 = sdiv i32 512, %466
store i32 %467, ptr %31, align 4
store i32 0, ptr %32, align 4
br label %468
468: ; preds = %489, %465
%469 = load i32, ptr %32, align 4
%470 = icmp slt i32 %469, 1
br i1 %470, label %471, label %492
471: ; preds = %468
store i32 0, ptr %33, align 4
br label %472
472: ; preds = %485, %471
%473 = load i32, ptr %33, align 4
%474 = icmp slt i32 %473, 512
br i1 %474, label %475, label %488
475: ; preds = %472
%476 = load i32, ptr %33, align 4
%477 = sext i32 %476 to i64
%478 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %477
%479 = load double, ptr %478, align 8
%480 = load i32, ptr %33, align 4
%481 = sext i32 %480 to i64
%482 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %481
%483 = load double, ptr %482, align 8
%484 = fadd double %483, %479
store double %484, ptr %482, align 8
br label %485
485: ; preds = %475
%486 = load i32, ptr %33, align 4
%487 = add nsw i32 %486, 1
store i32 %487, ptr %33, align 4
br label %472, !llvm.loop !29
488: ; preds = %472
br label %489
489: ; preds = %488
%490 = load i32, ptr %32, align 4
%491 = add nsw i32 %490, 1
store i32 %491, ptr %32, align 4
br label %468, !llvm.loop !30
492: ; preds = %468
store i32 0, ptr %34, align 4
br label %493
493: ; preds = %510, %492
%494 = load i32, ptr %34, align 4
%495 = icmp slt i32 %494, 512
br i1 %495, label %496, label %513
496: ; preds = %493
%497 = load i32, ptr %34, align 4
%498 = sext i32 %497 to i64
%499 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %498
%500 = load double, ptr %499, align 8
%501 = fcmp une double %500, 1.000000e+00
br i1 %501, label %502, label %509
502: ; preds = %496
%503 = load i32, ptr %34, align 4
%504 = load i32, ptr %34, align 4
%505 = sext i32 %504 to i64
%506 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %505
%507 = load double, ptr %506, align 8
%508 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %503, double noundef 1.000000e+00, double noundef %507)
store i32 1, ptr %7, align 4
br label %509
509: ; preds = %502, %496
br label %510
510: ; preds = %509
%511 = load i32, ptr %34, align 4
%512 = add nsw i32 %511, 1
store i32 %512, ptr %34, align 4
br label %493, !llvm.loop !31
513: ; preds = %493
%514 = load i32, ptr %7, align 4
%515 = icmp ne i32 %514, 0
br i1 %515, label %516, label %518
516: ; preds = %513
%517 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %520
518: ; preds = %513
%519 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %520
520: ; preds = %518, %516
store i32 0, ptr %35, align 4
br label %521
521: ; preds = %528, %520
%522 = load i32, ptr %35, align 4
%523 = icmp slt i32 %522, 992
br i1 %523, label %524, label %531
524: ; preds = %521
%525 = load i32, ptr %35, align 4
%526 = sext i32 %525 to i64
%527 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %526
store double 0.000000e+00, ptr %527, align 8
br label %528
528: ; preds = %524
%529 = load i32, ptr %35, align 4
%530 = add nsw i32 %529, 1
store i32 %530, ptr %35, align 4
br label %521, !llvm.loop !32
531: ; preds = %521
store i32 0, ptr %36, align 4
br label %532
532: ; preds = %553, %531
%533 = load i32, ptr %36, align 4
%534 = icmp slt i32 %533, 1
br i1 %534, label %535, label %556
535: ; preds = %532
store i32 0, ptr %37, align 4
br label %536
536: ; preds = %549, %535
%537 = load i32, ptr %37, align 4
%538 = icmp slt i32 %537, 500
br i1 %538, label %539, label %552
539: ; preds = %536
%540 = load i32, ptr %37, align 4
%541 = sext i32 %540 to i64
%542 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %541
%543 = load double, ptr %542, align 8
%544 = load i32, ptr %37, align 4
%545 = sext i32 %544 to i64
%546 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %545
%547 = load double, ptr %546, align 8
%548 = fadd double %547, %543
store double %548, ptr %546, align 8
br label %549
549: ; preds = %539
%550 = load i32, ptr %37, align 4
%551 = add nsw i32 %550, 1
store i32 %551, ptr %37, align 4
br label %536, !llvm.loop !33
552: ; preds = %536
br label %553
553: ; preds = %552
%554 = load i32, ptr %36, align 4
%555 = add nsw i32 %554, 1
store i32 %555, ptr %36, align 4
br label %532, !llvm.loop !34
556: ; preds = %532
store i32 0, ptr %38, align 4
br label %557
557: ; preds = %574, %556
%558 = load i32, ptr %38, align 4
%559 = icmp slt i32 %558, 500
br i1 %559, label %560, label %577
560: ; preds = %557
%561 = load i32, ptr %38, align 4
%562 = sext i32 %561 to i64
%563 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %562
%564 = load double, ptr %563, align 8
%565 = fcmp une double %564, 1.000000e+00
br i1 %565, label %566, label %573
566: ; preds = %560
%567 = load i32, ptr %38, align 4
%568 = load i32, ptr %38, align 4
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %569
%571 = load double, ptr %570, align 8
%572 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %567, double noundef 1.000000e+00, double noundef %571)
store i32 1, ptr %7, align 4
br label %573
573: ; preds = %566, %560
br label %574
574: ; preds = %573
%575 = load i32, ptr %38, align 4
%576 = add nsw i32 %575, 1
store i32 %576, ptr %38, align 4
br label %557, !llvm.loop !35
577: ; preds = %557
%578 = load i32, ptr %7, align 4
%579 = icmp ne i32 %578, 0
br i1 %579, label %580, label %582
580: ; preds = %577
%581 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %584
582: ; preds = %577
%583 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %584
584: ; preds = %582, %580
store i32 0, ptr %39, align 4
br label %585
585: ; preds = %592, %584
%586 = load i32, ptr %39, align 4
%587 = icmp slt i32 %586, 992
br i1 %587, label %588, label %595
588: ; preds = %585
%589 = load i32, ptr %39, align 4
%590 = sext i32 %589 to i64
%591 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %590
store double 0.000000e+00, ptr %591, align 8
br label %592
592: ; preds = %588
%593 = load i32, ptr %39, align 4
%594 = add nsw i32 %593, 1
store i32 %594, ptr %39, align 4
br label %585, !llvm.loop !36
595: ; preds = %585
store i32 0, ptr %40, align 4
br label %596
596: ; preds = %617, %595
%597 = load i32, ptr %40, align 4
%598 = icmp slt i32 %597, 1
br i1 %598, label %599, label %620
599: ; preds = %596
store i32 0, ptr %41, align 4
br label %600
600: ; preds = %613, %599
%601 = load i32, ptr %41, align 4
%602 = icmp slt i32 %601, 500
br i1 %602, label %603, label %616
603: ; preds = %600
%604 = load i32, ptr %41, align 4
%605 = sext i32 %604 to i64
%606 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %605
%607 = load double, ptr %606, align 8
%608 = load i32, ptr %41, align 4
%609 = sext i32 %608 to i64
%610 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %609
%611 = load double, ptr %610, align 8
%612 = fadd double %611, %607
store double %612, ptr %610, align 8
br label %613
613: ; preds = %603
%614 = load i32, ptr %41, align 4
%615 = add nsw i32 %614, 1
store i32 %615, ptr %41, align 4
br label %600, !llvm.loop !37
616: ; preds = %600
br label %617
617: ; preds = %616
%618 = load i32, ptr %40, align 4
%619 = add nsw i32 %618, 1
store i32 %619, ptr %40, align 4
br label %596, !llvm.loop !38
620: ; preds = %596
store i32 0, ptr %42, align 4
br label %621
621: ; preds = %638, %620
%622 = load i32, ptr %42, align 4
%623 = icmp slt i32 %622, 500
br i1 %623, label %624, label %641
624: ; preds = %621
%625 = load i32, ptr %42, align 4
%626 = sext i32 %625 to i64
%627 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %626
%628 = load double, ptr %627, align 8
%629 = fcmp une double %628, 1.000000e+00
br i1 %629, label %630, label %637
630: ; preds = %624
%631 = load i32, ptr %42, align 4
%632 = load i32, ptr %42, align 4
%633 = sext i32 %632 to i64
%634 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %633
%635 = load double, ptr %634, align 8
%636 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %631, double noundef 1.000000e+00, double noundef %635)
store i32 1, ptr %7, align 4
br label %637
637: ; preds = %630, %624
br label %638
638: ; preds = %637
%639 = load i32, ptr %42, align 4
%640 = add nsw i32 %639, 1
store i32 %640, ptr %42, align 4
br label %621, !llvm.loop !39
641: ; preds = %621
%642 = load i32, ptr %7, align 4
%643 = icmp ne i32 %642, 0
br i1 %643, label %644, label %646
644: ; preds = %641
%645 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %648
646: ; preds = %641
%647 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %648
648: ; preds = %646, %644
store i32 0, ptr %43, align 4
br label %649
649: ; preds = %656, %648
%650 = load i32, ptr %43, align 4
%651 = icmp slt i32 %650, 992
br i1 %651, label %652, label %659
652: ; preds = %649
%653 = load i32, ptr %43, align 4
%654 = sext i32 %653 to i64
%655 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %654
store double 0.000000e+00, ptr %655, align 8
br label %656
656: ; preds = %652
%657 = load i32, ptr %43, align 4
%658 = add nsw i32 %657, 1
store i32 %658, ptr %43, align 4
br label %649, !llvm.loop !40
659: ; preds = %649
store i32 10, ptr %30, align 4
%660 = load i32, ptr %30, align 4
%661 = sdiv i32 500, %660
store i32 %661, ptr %31, align 4
store i32 0, ptr %44, align 4
br label %662
662: ; preds = %683, %659
%663 = load i32, ptr %44, align 4
%664 = icmp slt i32 %663, 1
br i1 %664, label %665, label %686
665: ; preds = %662
store i32 0, ptr %45, align 4
br label %666
666: ; preds = %679, %665
%667 = load i32, ptr %45, align 4
%668 = icmp slt i32 %667, 500
br i1 %668, label %669, label %682
669: ; preds = %666
%670 = load i32, ptr %45, align 4
%671 = sext i32 %670 to i64
%672 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %671
%673 = load double, ptr %672, align 8
%674 = load i32, ptr %45, align 4
%675 = sext i32 %674 to i64
%676 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %675
%677 = load double, ptr %676, align 8
%678 = fadd double %677, %673
store double %678, ptr %676, align 8
br label %679
679: ; preds = %669
%680 = load i32, ptr %45, align 4
%681 = add nsw i32 %680, 1
store i32 %681, ptr %45, align 4
br label %666, !llvm.loop !41
682: ; preds = %666
br label %683
683: ; preds = %682
%684 = load i32, ptr %44, align 4
%685 = add nsw i32 %684, 1
store i32 %685, ptr %44, align 4
br label %662, !llvm.loop !42
686: ; preds = %662
store i32 0, ptr %46, align 4
br label %687
687: ; preds = %704, %686
%688 = load i32, ptr %46, align 4
%689 = icmp slt i32 %688, 500
br i1 %689, label %690, label %707
690: ; preds = %687
%691 = load i32, ptr %46, align 4
%692 = sext i32 %691 to i64
%693 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %692
%694 = load double, ptr %693, align 8
%695 = fcmp une double %694, 1.000000e+00
br i1 %695, label %696, label %703
696: ; preds = %690
%697 = load i32, ptr %46, align 4
%698 = load i32, ptr %46, align 4
%699 = sext i32 %698 to i64
%700 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %699
%701 = load double, ptr %700, align 8
%702 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %697, double noundef 1.000000e+00, double noundef %701)
store i32 1, ptr %7, align 4
br label %703
703: ; preds = %696, %690
br label %704
704: ; preds = %703
%705 = load i32, ptr %46, align 4
%706 = add nsw i32 %705, 1
store i32 %706, ptr %46, align 4
br label %687, !llvm.loop !43
707: ; preds = %687
%708 = load i32, ptr %7, align 4
%709 = icmp ne i32 %708, 0
br i1 %709, label %710, label %712
710: ; preds = %707
%711 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %714
712: ; preds = %707
%713 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %714
714: ; preds = %712, %710
store i32 0, ptr %47, align 4
br label %715
715: ; preds = %722, %714
%716 = load i32, ptr %47, align 4
%717 = icmp slt i32 %716, 992
br i1 %717, label %718, label %725
718: ; preds = %715
%719 = load i32, ptr %47, align 4
%720 = sext i32 %719 to i64
%721 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %720
store double 0.000000e+00, ptr %721, align 8
br label %722
722: ; preds = %718
%723 = load i32, ptr %47, align 4
%724 = add nsw i32 %723, 1
store i32 %724, ptr %47, align 4
br label %715, !llvm.loop !44
725: ; preds = %715
store i32 0, ptr %48, align 4
br label %726
726: ; preds = %747, %725
%727 = load i32, ptr %48, align 4
%728 = icmp slt i32 %727, 1
br i1 %728, label %729, label %750
729: ; preds = %726
store i32 0, ptr %49, align 4
br label %730
730: ; preds = %743, %729
%731 = load i32, ptr %49, align 4
%732 = icmp slt i32 %731, 123
br i1 %732, label %733, label %746
733: ; preds = %730
%734 = load i32, ptr %49, align 4
%735 = sext i32 %734 to i64
%736 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %735
%737 = load double, ptr %736, align 8
%738 = load i32, ptr %49, align 4
%739 = sext i32 %738 to i64
%740 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %739
%741 = load double, ptr %740, align 8
%742 = fadd double %741, %737
store double %742, ptr %740, align 8
br label %743
743: ; preds = %733
%744 = load i32, ptr %49, align 4
%745 = add nsw i32 %744, 1
store i32 %745, ptr %49, align 4
br label %730, !llvm.loop !45
746: ; preds = %730
br label %747
747: ; preds = %746
%748 = load i32, ptr %48, align 4
%749 = add nsw i32 %748, 1
store i32 %749, ptr %48, align 4
br label %726, !llvm.loop !46
750: ; preds = %726
store i32 0, ptr %50, align 4
br label %751
751: ; preds = %768, %750
%752 = load i32, ptr %50, align 4
%753 = icmp slt i32 %752, 123
br i1 %753, label %754, label %771
754: ; preds = %751
%755 = load i32, ptr %50, align 4
%756 = sext i32 %755 to i64
%757 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %756
%758 = load double, ptr %757, align 8
%759 = fcmp une double %758, 1.000000e+00
br i1 %759, label %760, label %767
760: ; preds = %754
%761 = load i32, ptr %50, align 4
%762 = load i32, ptr %50, align 4
%763 = sext i32 %762 to i64
%764 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %763
%765 = load double, ptr %764, align 8
%766 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %761, double noundef 1.000000e+00, double noundef %765)
store i32 1, ptr %7, align 4
br label %767
767: ; preds = %760, %754
br label %768
768: ; preds = %767
%769 = load i32, ptr %50, align 4
%770 = add nsw i32 %769, 1
store i32 %770, ptr %50, align 4
br label %751, !llvm.loop !47
771: ; preds = %751
%772 = load i32, ptr %7, align 4
%773 = icmp ne i32 %772, 0
br i1 %773, label %774, label %776
774: ; preds = %771
%775 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %778
776: ; preds = %771
%777 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %778
778: ; preds = %776, %774
store i32 0, ptr %51, align 4
br label %779
779: ; preds = %786, %778
%780 = load i32, ptr %51, align 4
%781 = icmp slt i32 %780, 992
br i1 %781, label %782, label %789
782: ; preds = %779
%783 = load i32, ptr %51, align 4
%784 = sext i32 %783 to i64
%785 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %784
store double 0.000000e+00, ptr %785, align 8
br label %786
786: ; preds = %782
%787 = load i32, ptr %51, align 4
%788 = add nsw i32 %787, 1
store i32 %788, ptr %51, align 4
br label %779, !llvm.loop !48
789: ; preds = %779
store i32 0, ptr %52, align 4
br label %790
790: ; preds = %811, %789
%791 = load i32, ptr %52, align 4
%792 = icmp slt i32 %791, 1
br i1 %792, label %793, label %814
793: ; preds = %790
store i32 0, ptr %53, align 4
br label %794
794: ; preds = %807, %793
%795 = load i32, ptr %53, align 4
%796 = icmp slt i32 %795, 123
br i1 %796, label %797, label %810
797: ; preds = %794
%798 = load i32, ptr %53, align 4
%799 = sext i32 %798 to i64
%800 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %799
%801 = load double, ptr %800, align 8
%802 = load i32, ptr %53, align 4
%803 = sext i32 %802 to i64
%804 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %803
%805 = load double, ptr %804, align 8
%806 = fadd double %805, %801
store double %806, ptr %804, align 8
br label %807
807: ; preds = %797
%808 = load i32, ptr %53, align 4
%809 = add nsw i32 %808, 1
store i32 %809, ptr %53, align 4
br label %794, !llvm.loop !49
810: ; preds = %794
br label %811
811: ; preds = %810
%812 = load i32, ptr %52, align 4
%813 = add nsw i32 %812, 1
store i32 %813, ptr %52, align 4
br label %790, !llvm.loop !50
814: ; preds = %790
store i32 0, ptr %54, align 4
br label %815
815: ; preds = %832, %814
%816 = load i32, ptr %54, align 4
%817 = icmp slt i32 %816, 123
br i1 %817, label %818, label %835
818: ; preds = %815
%819 = load i32, ptr %54, align 4
%820 = sext i32 %819 to i64
%821 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %820
%822 = load double, ptr %821, align 8
%823 = fcmp une double %822, 1.000000e+00
br i1 %823, label %824, label %831
824: ; preds = %818
%825 = load i32, ptr %54, align 4
%826 = load i32, ptr %54, align 4
%827 = sext i32 %826 to i64
%828 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %827
%829 = load double, ptr %828, align 8
%830 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %825, double noundef 1.000000e+00, double noundef %829)
store i32 1, ptr %7, align 4
br label %831
831: ; preds = %824, %818
br label %832
832: ; preds = %831
%833 = load i32, ptr %54, align 4
%834 = add nsw i32 %833, 1
store i32 %834, ptr %54, align 4
br label %815, !llvm.loop !51
835: ; preds = %815
%836 = load i32, ptr %7, align 4
%837 = icmp ne i32 %836, 0
br i1 %837, label %838, label %840
838: ; preds = %835
%839 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %842
840: ; preds = %835
%841 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %842
842: ; preds = %840, %838
store i32 0, ptr %55, align 4
br label %843
843: ; preds = %850, %842
%844 = load i32, ptr %55, align 4
%845 = icmp slt i32 %844, 992
br i1 %845, label %846, label %853
846: ; preds = %843
%847 = load i32, ptr %55, align 4
%848 = sext i32 %847 to i64
%849 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %848
store double 0.000000e+00, ptr %849, align 8
br label %850
850: ; preds = %846
%851 = load i32, ptr %55, align 4
%852 = add nsw i32 %851, 1
store i32 %852, ptr %55, align 4
br label %843, !llvm.loop !52
853: ; preds = %843
store i32 10, ptr %30, align 4
%854 = load i32, ptr %30, align 4
%855 = sdiv i32 123, %854
store i32 %855, ptr %31, align 4
store i32 0, ptr %56, align 4
br label %856
856: ; preds = %877, %853
%857 = load i32, ptr %56, align 4
%858 = icmp slt i32 %857, 1
br i1 %858, label %859, label %880
859: ; preds = %856
store i32 0, ptr %57, align 4
br label %860
860: ; preds = %873, %859
%861 = load i32, ptr %57, align 4
%862 = icmp slt i32 %861, 123
br i1 %862, label %863, label %876
863: ; preds = %860
%864 = load i32, ptr %57, align 4
%865 = sext i32 %864 to i64
%866 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %865
%867 = load double, ptr %866, align 8
%868 = load i32, ptr %57, align 4
%869 = sext i32 %868 to i64
%870 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %869
%871 = load double, ptr %870, align 8
%872 = fadd double %871, %867
store double %872, ptr %870, align 8
br label %873
873: ; preds = %863
%874 = load i32, ptr %57, align 4
%875 = add nsw i32 %874, 1
store i32 %875, ptr %57, align 4
br label %860, !llvm.loop !53
876: ; preds = %860
br label %877
877: ; preds = %876
%878 = load i32, ptr %56, align 4
%879 = add nsw i32 %878, 1
store i32 %879, ptr %56, align 4
br label %856, !llvm.loop !54
880: ; preds = %856
store i32 0, ptr %58, align 4
br label %881
881: ; preds = %898, %880
%882 = load i32, ptr %58, align 4
%883 = icmp slt i32 %882, 123
br i1 %883, label %884, label %901
884: ; preds = %881
%885 = load i32, ptr %58, align 4
%886 = sext i32 %885 to i64
%887 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %886
%888 = load double, ptr %887, align 8
%889 = fcmp une double %888, 1.000000e+00
br i1 %889, label %890, label %897
890: ; preds = %884
%891 = load i32, ptr %58, align 4
%892 = load i32, ptr %58, align 4
%893 = sext i32 %892 to i64
%894 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %893
%895 = load double, ptr %894, align 8
%896 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %891, double noundef 1.000000e+00, double noundef %895)
store i32 1, ptr %7, align 4
br label %897
897: ; preds = %890, %884
br label %898
898: ; preds = %897
%899 = load i32, ptr %58, align 4
%900 = add nsw i32 %899, 1
store i32 %900, ptr %58, align 4
br label %881, !llvm.loop !55
901: ; preds = %881
%902 = load i32, ptr %7, align 4
%903 = icmp ne i32 %902, 0
br i1 %903, label %904, label %906
904: ; preds = %901
%905 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %908
906: ; preds = %901
%907 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %908
908: ; preds = %906, %904
store i32 0, ptr %59, align 4
br label %909
909: ; preds = %916, %908
%910 = load i32, ptr %59, align 4
%911 = icmp slt i32 %910, 992
br i1 %911, label %912, label %919
912: ; preds = %909
%913 = load i32, ptr %59, align 4
%914 = sext i32 %913 to i64
%915 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %914
store double 0.000000e+00, ptr %915, align 8
br label %916
916: ; preds = %912
%917 = load i32, ptr %59, align 4
%918 = add nsw i32 %917, 1
store i32 %918, ptr %59, align 4
br label %909, !llvm.loop !56
919: ; preds = %909
store i32 0, ptr %60, align 4
br label %920
920: ; preds = %927, %919
%921 = load i32, ptr %60, align 4
%922 = icmp slt i32 %921, 992
br i1 %922, label %923, label %930
923: ; preds = %920
%924 = load i32, ptr %60, align 4
%925 = sext i32 %924 to i64
%926 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %925
store double 0.000000e+00, ptr %926, align 8
br label %927
927: ; preds = %923
%928 = load i32, ptr %60, align 4
%929 = add nsw i32 %928, 1
store i32 %929, ptr %60, align 4
br label %920, !llvm.loop !57
930: ; preds = %920
store double 2.000000e+00, ptr %61, align 8
store double 4.000000e+00, ptr %62, align 8
store i32 0, ptr %63, align 4
br label %931
931: ; preds = %955, %930
%932 = load i32, ptr %63, align 4
%933 = icmp slt i32 %932, 1
br i1 %933, label %934, label %958
934: ; preds = %931
store i32 0, ptr %64, align 4
br label %935
935: ; preds = %951, %934
%936 = load i32, ptr %64, align 4
%937 = icmp slt i32 %936, 992
br i1 %937, label %938, label %954
938: ; preds = %935
store double 2.000000e+00, ptr %61, align 8
store double 3.000000e+00, ptr %62, align 8
%939 = load double, ptr %61, align 8
%940 = load i32, ptr %64, align 4
%941 = sext i32 %940 to i64
%942 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %941
%943 = load double, ptr %942, align 8
%944 = fadd double %943, %939
store double %944, ptr %942, align 8
%945 = load double, ptr %62, align 8
%946 = load i32, ptr %64, align 4
%947 = sext i32 %946 to i64
%948 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %947
%949 = load double, ptr %948, align 8
%950 = fadd double %949, %945
store double %950, ptr %948, align 8
br label %951
951: ; preds = %938
%952 = load i32, ptr %64, align 4
%953 = add nsw i32 %952, 1
store i32 %953, ptr %64, align 4
br label %935, !llvm.loop !58
954: ; preds = %935
br label %955
955: ; preds = %954
%956 = load i32, ptr %63, align 4
%957 = add nsw i32 %956, 1
store i32 %957, ptr %63, align 4
br label %931, !llvm.loop !59
958: ; preds = %931
store i32 0, ptr %65, align 4
br label %959
959: ; preds = %989, %958
%960 = load i32, ptr %65, align 4
%961 = icmp slt i32 %960, 992
br i1 %961, label %962, label %992
962: ; preds = %959
%963 = load i32, ptr %65, align 4
%964 = sext i32 %963 to i64
%965 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %964
%966 = load double, ptr %965, align 8
%967 = fcmp une double %966, 2.000000e+00
br i1 %967, label %968, label %975
968: ; preds = %962
%969 = load i32, ptr %65, align 4
%970 = load i32, ptr %65, align 4
%971 = sext i32 %970 to i64
%972 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %971
%973 = load double, ptr %972, align 8
%974 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %969, double noundef 2.000000e+00, double noundef %973)
store i32 1, ptr %7, align 4
br label %975
975: ; preds = %968, %962
%976 = load i32, ptr %65, align 4
%977 = sext i32 %976 to i64
%978 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %977
%979 = load double, ptr %978, align 8
%980 = fcmp une double %979, 3.000000e+00
br i1 %980, label %981, label %988
981: ; preds = %975
%982 = load i32, ptr %65, align 4
%983 = load i32, ptr %65, align 4
%984 = sext i32 %983 to i64
%985 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %984
%986 = load double, ptr %985, align 8
%987 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %982, double noundef 3.000000e+00, double noundef %986)
store i32 1, ptr %7, align 4
br label %988
988: ; preds = %981, %975
br label %989
989: ; preds = %988
%990 = load i32, ptr %65, align 4
%991 = add nsw i32 %990, 1
store i32 %991, ptr %65, align 4
br label %959, !llvm.loop !60
992: ; preds = %959
%993 = load i32, ptr %7, align 4
%994 = icmp ne i32 %993, 0
br i1 %994, label %995, label %997
995: ; preds = %992
%996 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %999
997: ; preds = %992
%998 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %999
999: ; preds = %997, %995
store i32 0, ptr %66, align 4
br label %1000
1000: ; preds = %1007, %999
%1001 = load i32, ptr %66, align 4
%1002 = icmp slt i32 %1001, 992
br i1 %1002, label %1003, label %1010
1003: ; preds = %1000
%1004 = load i32, ptr %66, align 4
%1005 = sext i32 %1004 to i64
%1006 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1005
store double 0.000000e+00, ptr %1006, align 8
br label %1007
1007: ; preds = %1003
%1008 = load i32, ptr %66, align 4
%1009 = add nsw i32 %1008, 1
store i32 %1009, ptr %66, align 4
br label %1000, !llvm.loop !61
1010: ; preds = %1000
store i32 0, ptr %67, align 4
br label %1011
1011: ; preds = %1018, %1010
%1012 = load i32, ptr %67, align 4
%1013 = icmp slt i32 %1012, 992
br i1 %1013, label %1014, label %1021
1014: ; preds = %1011
%1015 = load i32, ptr %67, align 4
%1016 = sext i32 %1015 to i64
%1017 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1016
store double 0.000000e+00, ptr %1017, align 8
br label %1018
1018: ; preds = %1014
%1019 = load i32, ptr %67, align 4
%1020 = add nsw i32 %1019, 1
store i32 %1020, ptr %67, align 4
br label %1011, !llvm.loop !62
1021: ; preds = %1011
store double 2.000000e+00, ptr %61, align 8
store double 4.000000e+00, ptr %62, align 8
store i32 0, ptr %68, align 4
br label %1022
1022: ; preds = %1050, %1021
%1023 = load i32, ptr %68, align 4
%1024 = icmp slt i32 %1023, 1
br i1 %1024, label %1025, label %1053
1025: ; preds = %1022
store i32 0, ptr %69, align 4
br label %1026
1026: ; preds = %1046, %1025
%1027 = load i32, ptr %69, align 4
%1028 = icmp slt i32 %1027, 128
br i1 %1028, label %1029, label %1049
1029: ; preds = %1026
%1030 = load double, ptr %61, align 8
%1031 = fadd double %1030, 3.000000e+00
store double %1031, ptr %61, align 8
%1032 = load double, ptr %62, align 8
%1033 = fadd double %1032, 7.000000e+00
store double %1033, ptr %62, align 8
%1034 = load double, ptr %61, align 8
%1035 = load i32, ptr %69, align 4
%1036 = sext i32 %1035 to i64
%1037 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1036
%1038 = load double, ptr %1037, align 8
%1039 = fadd double %1038, %1034
store double %1039, ptr %1037, align 8
%1040 = load double, ptr %62, align 8
%1041 = load i32, ptr %69, align 4
%1042 = sext i32 %1041 to i64
%1043 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1042
%1044 = load double, ptr %1043, align 8
%1045 = fadd double %1044, %1040
store double %1045, ptr %1043, align 8
br label %1046
1046: ; preds = %1029
%1047 = load i32, ptr %69, align 4
%1048 = add nsw i32 %1047, 1
store i32 %1048, ptr %69, align 4
br label %1026, !llvm.loop !63
1049: ; preds = %1026
br label %1050
1050: ; preds = %1049
%1051 = load i32, ptr %68, align 4
%1052 = add nsw i32 %1051, 1
store i32 %1052, ptr %68, align 4
br label %1022, !llvm.loop !64
1053: ; preds = %1022
store i32 0, ptr %70, align 4
br label %1054
1054: ; preds = %1116, %1053
%1055 = load i32, ptr %70, align 4
%1056 = icmp slt i32 %1055, 128
br i1 %1056, label %1057, label %1119
1057: ; preds = %1054
%1058 = load i32, ptr %70, align 4
%1059 = srem i32 %1058, 2
%1060 = icmp eq i32 %1059, 0
br i1 %1060, label %1061, label %1088
1061: ; preds = %1057
%1062 = load i32, ptr %70, align 4
%1063 = sext i32 %1062 to i64
%1064 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1063
%1065 = load double, ptr %1064, align 8
%1066 = fcmp une double %1065, 5.000000e+00
br i1 %1066, label %1067, label %1074
1067: ; preds = %1061
%1068 = load i32, ptr %70, align 4
%1069 = load i32, ptr %70, align 4
%1070 = sext i32 %1069 to i64
%1071 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1070
%1072 = load double, ptr %1071, align 8
%1073 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1068, double noundef 5.000000e+00, double noundef %1072)
store i32 1, ptr %7, align 4
br label %1074
1074: ; preds = %1067, %1061
%1075 = load i32, ptr %70, align 4
%1076 = sext i32 %1075 to i64
%1077 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1076
%1078 = load double, ptr %1077, align 8
%1079 = fcmp une double %1078, 1.100000e+01
br i1 %1079, label %1080, label %1087
1080: ; preds = %1074
%1081 = load i32, ptr %70, align 4
%1082 = load i32, ptr %70, align 4
%1083 = sext i32 %1082 to i64
%1084 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1083
%1085 = load double, ptr %1084, align 8
%1086 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %1081, double noundef 1.100000e+01, double noundef %1085)
store i32 1, ptr %7, align 4
br label %1087
1087: ; preds = %1080, %1074
br label %1115
1088: ; preds = %1057
%1089 = load i32, ptr %70, align 4
%1090 = sext i32 %1089 to i64
%1091 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1090
%1092 = load double, ptr %1091, align 8
%1093 = fcmp une double %1092, 8.000000e+00
br i1 %1093, label %1094, label %1101
1094: ; preds = %1088
%1095 = load i32, ptr %70, align 4
%1096 = load i32, ptr %70, align 4
%1097 = sext i32 %1096 to i64
%1098 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1097
%1099 = load double, ptr %1098, align 8
%1100 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1095, double noundef 8.000000e+00, double noundef %1099)
store i32 1, ptr %7, align 4
br label %1101
1101: ; preds = %1094, %1088
%1102 = load i32, ptr %70, align 4
%1103 = sext i32 %1102 to i64
%1104 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1103
%1105 = load double, ptr %1104, align 8
%1106 = fcmp une double %1105, 1.800000e+01
br i1 %1106, label %1107, label %1114
1107: ; preds = %1101
%1108 = load i32, ptr %70, align 4
%1109 = load i32, ptr %70, align 4
%1110 = sext i32 %1109 to i64
%1111 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1110
%1112 = load double, ptr %1111, align 8
%1113 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %1108, double noundef 1.800000e+01, double noundef %1112)
store i32 1, ptr %7, align 4
br label %1114
1114: ; preds = %1107, %1101
br label %1115
1115: ; preds = %1114, %1087
br label %1116
1116: ; preds = %1115
%1117 = load i32, ptr %70, align 4
%1118 = add nsw i32 %1117, 1
store i32 %1118, ptr %70, align 4
br label %1054, !llvm.loop !65
1119: ; preds = %1054
%1120 = load i32, ptr %7, align 4
%1121 = icmp ne i32 %1120, 0
br i1 %1121, label %1122, label %1124
1122: ; preds = %1119
%1123 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1126
1124: ; preds = %1119
%1125 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1126
1126: ; preds = %1124, %1122
store i32 -1, ptr %71, align 4
store i32 0, ptr %72, align 4
br label %1127
1127: ; preds = %1133, %1126
%1128 = load i32, ptr %72, align 4
%1129 = call i32 (...) @omp_get_num_teams()
%1130 = icmp slt i32 %1128, %1129
br i1 %1130, label %1131, label %1136
1131: ; preds = %1127
%1132 = call i32 (...) @omp_get_team_num()
store i32 %1132, ptr %71, align 4
br label %1133
1133: ; preds = %1131
%1134 = load i32, ptr %72, align 4
%1135 = add nsw i32 %1134, 1
store i32 %1135, ptr %72, align 4
br label %1127, !llvm.loop !66
1136: ; preds = %1127
%1137 = load i32, ptr %71, align 4
%1138 = icmp ne i32 %1137, 9
br i1 %1138, label %1139, label %1142
1139: ; preds = %1136
%1140 = load i32, ptr %71, align 4
%1141 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %1140, i32 noundef 9)
store i32 1, ptr %7, align 4
br label %1142
1142: ; preds = %1139, %1136
%1143 = load i32, ptr %7, align 4
%1144 = icmp ne i32 %1143, 0
br i1 %1144, label %1145, label %1147
1145: ; preds = %1142
%1146 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1149
1147: ; preds = %1142
%1148 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1149
1149: ; preds = %1147, %1145
store i32 0, ptr %73, align 4
br label %1150
1150: ; preds = %1157, %1149
%1151 = load i32, ptr %73, align 4
%1152 = icmp slt i32 %1151, 992
br i1 %1152, label %1153, label %1160
1153: ; preds = %1150
%1154 = load i32, ptr %73, align 4
%1155 = sext i32 %1154 to i64
%1156 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1155
store double 0.000000e+00, ptr %1156, align 8
br label %1157
1157: ; preds = %1153
%1158 = load i32, ptr %73, align 4
%1159 = add nsw i32 %1158, 1
store i32 %1159, ptr %73, align 4
br label %1150, !llvm.loop !67
1160: ; preds = %1150
store i32 0, ptr %74, align 4
br label %1161
1161: ; preds = %1168, %1160
%1162 = load i32, ptr %74, align 4
%1163 = icmp slt i32 %1162, 992
br i1 %1163, label %1164, label %1171
1164: ; preds = %1161
%1165 = load i32, ptr %74, align 4
%1166 = sext i32 %1165 to i64
%1167 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1166
store double 0.000000e+00, ptr %1167, align 8
br label %1168
1168: ; preds = %1164
%1169 = load i32, ptr %74, align 4
%1170 = add nsw i32 %1169, 1
store i32 %1170, ptr %74, align 4
br label %1161, !llvm.loop !68
1171: ; preds = %1161
store i32 32, ptr %75, align 4
store i32 64, ptr %76, align 4
%1172 = load i32, ptr %76, align 4
store i32 %1172, ptr %77, align 4
store i32 0, ptr %78, align 4
br label %1173
1173: ; preds = %1212, %1171
%1174 = load i32, ptr %78, align 4
%1175 = icmp slt i32 %1174, 1
br i1 %1175, label %1176, label %1215
1176: ; preds = %1173
store i32 0, ptr %79, align 4
br label %1177
1177: ; preds = %1207, %1176
%1178 = load i32, ptr %79, align 4
%1179 = icmp slt i32 %1178, 256
br i1 %1179, label %1180, label %1211
1180: ; preds = %1177
%1181 = load i32, ptr %79, align 4
store i32 %1181, ptr %80, align 4
br label %1182
1182: ; preds = %1203, %1180
%1183 = load i32, ptr %80, align 4
%1184 = load i32, ptr %79, align 4
%1185 = load i32, ptr %77, align 4
%1186 = add nsw i32 %1184, %1185
%1187 = icmp slt i32 %1183, %1186
br i1 %1187, label %1188, label %1206
1188: ; preds = %1182
%1189 = load i32, ptr %80, align 4
%1190 = sext i32 %1189 to i64
%1191 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1190
%1192 = load double, ptr %1191, align 8
%1193 = load i32, ptr %80, align 4
%1194 = sext i32 %1193 to i64
%1195 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %1194
%1196 = load double, ptr %1195, align 8
%1197 = fadd double %1192, %1196
%1198 = load i32, ptr %80, align 4
%1199 = sext i32 %1198 to i64
%1200 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1199
%1201 = load double, ptr %1200, align 8
%1202 = fadd double %1201, %1197
store double %1202, ptr %1200, align 8
br label %1203
1203: ; preds = %1188
%1204 = load i32, ptr %80, align 4
%1205 = add nsw i32 %1204, 1
store i32 %1205, ptr %80, align 4
br label %1182, !llvm.loop !69
1206: ; preds = %1182
br label %1207
1207: ; preds = %1206
%1208 = load i32, ptr %77, align 4
%1209 = load i32, ptr %79, align 4
%1210 = add nsw i32 %1209, %1208
store i32 %1210, ptr %79, align 4
br label %1177, !llvm.loop !70
1211: ; preds = %1177
br label %1212
1212: ; preds = %1211
%1213 = load i32, ptr %78, align 4
%1214 = add nsw i32 %1213, 1
store i32 %1214, ptr %78, align 4
br label %1173, !llvm.loop !71
1215: ; preds = %1173
store i32 0, ptr %81, align 4
br label %1216
1216: ; preds = %1233, %1215
%1217 = load i32, ptr %81, align 4
%1218 = icmp slt i32 %1217, 256
br i1 %1218, label %1219, label %1236
1219: ; preds = %1216
%1220 = load i32, ptr %81, align 4
%1221 = sext i32 %1220 to i64
%1222 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1221
%1223 = load double, ptr %1222, align 8
%1224 = fcmp une double %1223, 1.000000e+00
br i1 %1224, label %1225, label %1232
1225: ; preds = %1219
%1226 = load i32, ptr %81, align 4
%1227 = load i32, ptr %81, align 4
%1228 = sext i32 %1227 to i64
%1229 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1228
%1230 = load double, ptr %1229, align 8
%1231 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1226, double noundef 5.000000e+00, double noundef %1230)
store i32 1, ptr %7, align 4
br label %1232
1232: ; preds = %1225, %1219
br label %1233
1233: ; preds = %1232
%1234 = load i32, ptr %81, align 4
%1235 = add nsw i32 %1234, 1
store i32 %1235, ptr %81, align 4
br label %1216, !llvm.loop !72
1236: ; preds = %1216
%1237 = load i32, ptr %7, align 4
%1238 = icmp ne i32 %1237, 0
br i1 %1238, label %1239, label %1241
1239: ; preds = %1236
%1240 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1243
1241: ; preds = %1236
%1242 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1243
1243: ; preds = %1241, %1239
store i32 0, ptr %82, align 4
br label %1244
1244: ; preds = %1251, %1243
%1245 = load i32, ptr %82, align 4
%1246 = icmp slt i32 %1245, 992
br i1 %1246, label %1247, label %1254
1247: ; preds = %1244
%1248 = load i32, ptr %82, align 4
%1249 = sext i32 %1248 to i64
%1250 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1249
store double 0.000000e+00, ptr %1250, align 8
br label %1251
1251: ; preds = %1247
%1252 = load i32, ptr %82, align 4
%1253 = add nsw i32 %1252, 1
store i32 %1253, ptr %82, align 4
br label %1244, !llvm.loop !73
1254: ; preds = %1244
store i32 0, ptr %83, align 4
br label %1255
1255: ; preds = %1262, %1254
%1256 = load i32, ptr %83, align 4
%1257 = icmp slt i32 %1256, 992
br i1 %1257, label %1258, label %1265
1258: ; preds = %1255
%1259 = load i32, ptr %83, align 4
%1260 = sext i32 %1259 to i64
%1261 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1260
store double 0.000000e+00, ptr %1261, align 8
br label %1262
1262: ; preds = %1258
%1263 = load i32, ptr %83, align 4
%1264 = add nsw i32 %1263, 1
store i32 %1264, ptr %83, align 4
br label %1255, !llvm.loop !74
1265: ; preds = %1255
store i32 32, ptr %75, align 4
store i32 64, ptr %76, align 4
%1266 = load i32, ptr %76, align 4
store i32 %1266, ptr %77, align 4
store i32 0, ptr %84, align 4
br label %1267
1267: ; preds = %1315, %1265
%1268 = load i32, ptr %84, align 4
%1269 = icmp slt i32 %1268, 1
br i1 %1269, label %1270, label %1318
1270: ; preds = %1267
store i32 0, ptr %85, align 4
br label %1271
1271: ; preds = %1310, %1270
%1272 = load i32, ptr %85, align 4
%1273 = icmp slt i32 %1272, 510
br i1 %1273, label %1274, label %1314
1274: ; preds = %1271
%1275 = load i32, ptr %85, align 4
%1276 = load i32, ptr %77, align 4
%1277 = add nsw i32 %1275, %1276
%1278 = icmp slt i32 %1277, 510
br i1 %1278, label %1279, label %1283
1279: ; preds = %1274
%1280 = load i32, ptr %85, align 4
%1281 = load i32, ptr %77, align 4
%1282 = add nsw i32 %1280, %1281
br label %1284
1283: ; preds = %1274
br label %1284
1284: ; preds = %1283, %1279
%1285 = phi i32 [ %1282, %1279 ], [ 512, %1283 ]
store i32 %1285, ptr %86, align 4
%1286 = load i32, ptr %85, align 4
store i32 %1286, ptr %87, align 4
br label %1287
1287: ; preds = %1306, %1284
%1288 = load i32, ptr %87, align 4
%1289 = load i32, ptr %86, align 4
%1290 = icmp slt i32 %1288, %1289
br i1 %1290, label %1291, label %1309
1291: ; preds = %1287
%1292 = load i32, ptr %87, align 4
%1293 = sext i32 %1292 to i64
%1294 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1293
%1295 = load double, ptr %1294, align 8
%1296 = load i32, ptr %87, align 4
%1297 = sext i32 %1296 to i64
%1298 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %1297
%1299 = load double, ptr %1298, align 8
%1300 = fadd double %1295, %1299
%1301 = load i32, ptr %87, align 4
%1302 = sext i32 %1301 to i64
%1303 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1302
%1304 = load double, ptr %1303, align 8
%1305 = fadd double %1304, %1300
store double %1305, ptr %1303, align 8
br label %1306
1306: ; preds = %1291
%1307 = load i32, ptr %87, align 4
%1308 = add nsw i32 %1307, 1
store i32 %1308, ptr %87, align 4
br label %1287, !llvm.loop !75
1309: ; preds = %1287
br label %1310
1310: ; preds = %1309
%1311 = load i32, ptr %77, align 4
%1312 = load i32, ptr %85, align 4
%1313 = add nsw i32 %1312, %1311
store i32 %1313, ptr %85, align 4
br label %1271, !llvm.loop !76
1314: ; preds = %1271
br label %1315
1315: ; preds = %1314
%1316 = load i32, ptr %84, align 4
%1317 = add nsw i32 %1316, 1
store i32 %1317, ptr %84, align 4
br label %1267, !llvm.loop !77
1318: ; preds = %1267
store i32 0, ptr %88, align 4
br label %1319
1319: ; preds = %1336, %1318
%1320 = load i32, ptr %88, align 4
%1321 = icmp slt i32 %1320, 256
br i1 %1321, label %1322, label %1339
1322: ; preds = %1319
%1323 = load i32, ptr %88, align 4
%1324 = sext i32 %1323 to i64
%1325 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1324
%1326 = load double, ptr %1325, align 8
%1327 = fcmp une double %1326, 1.000000e+00
br i1 %1327, label %1328, label %1335
1328: ; preds = %1322
%1329 = load i32, ptr %88, align 4
%1330 = load i32, ptr %88, align 4
%1331 = sext i32 %1330 to i64
%1332 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1331
%1333 = load double, ptr %1332, align 8
%1334 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1329, double noundef 5.000000e+00, double noundef %1333)
store i32 1, ptr %7, align 4
br label %1335
1335: ; preds = %1328, %1322
br label %1336
1336: ; preds = %1335
%1337 = load i32, ptr %88, align 4
%1338 = add nsw i32 %1337, 1
store i32 %1338, ptr %88, align 4
br label %1319, !llvm.loop !78
1339: ; preds = %1319
%1340 = load i32, ptr %7, align 4
%1341 = icmp ne i32 %1340, 0
br i1 %1341, label %1342, label %1344
1342: ; preds = %1339
%1343 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1346
1344: ; preds = %1339
%1345 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1346
1346: ; preds = %1344, %1342
%1347 = call ptr @malloc(i32 noundef 7872512)
store ptr %1347, ptr %89, align 8
%1348 = call ptr @malloc(i32 noundef 7872512)
store ptr %1348, ptr %90, align 8
%1349 = call ptr @malloc(i32 noundef 7872512)
store ptr %1349, ptr %91, align 8
store i32 0, ptr %92, align 4
br label %1350
1350: ; preds = %1383, %1346
%1351 = load i32, ptr %92, align 4
%1352 = icmp slt i32 %1351, 992
br i1 %1352, label %1353, label %1386
1353: ; preds = %1350
store i32 0, ptr %93, align 4
br label %1354
1354: ; preds = %1379, %1353
%1355 = load i32, ptr %93, align 4
%1356 = icmp slt i32 %1355, 992
br i1 %1356, label %1357, label %1382
1357: ; preds = %1354
%1358 = load ptr, ptr %89, align 8
%1359 = load i32, ptr %92, align 4
%1360 = mul nsw i32 %1359, 992
%1361 = load i32, ptr %93, align 4
%1362 = add nsw i32 %1360, %1361
%1363 = sext i32 %1362 to i64
%1364 = getelementptr inbounds double, ptr %1358, i64 %1363
store double 0.000000e+00, ptr %1364, align 8
%1365 = load ptr, ptr %90, align 8
%1366 = load i32, ptr %92, align 4
%1367 = mul nsw i32 %1366, 992
%1368 = load i32, ptr %93, align 4
%1369 = add nsw i32 %1367, %1368
%1370 = sext i32 %1369 to i64
%1371 = getelementptr inbounds double, ptr %1365, i64 %1370
store double 1.000000e+00, ptr %1371, align 8
%1372 = load ptr, ptr %91, align 8
%1373 = load i32, ptr %92, align 4
%1374 = mul nsw i32 %1373, 992
%1375 = load i32, ptr %93, align 4
%1376 = add nsw i32 %1374, %1375
%1377 = sext i32 %1376 to i64
%1378 = getelementptr inbounds double, ptr %1372, i64 %1377
store double 2.000000e+00, ptr %1378, align 8
br label %1379
1379: ; preds = %1357
%1380 = load i32, ptr %93, align 4
%1381 = add nsw i32 %1380, 1
store i32 %1381, ptr %93, align 4
br label %1354, !llvm.loop !79
1382: ; preds = %1354
br label %1383
1383: ; preds = %1382
%1384 = load i32, ptr %92, align 4
%1385 = add nsw i32 %1384, 1
store i32 %1385, ptr %92, align 4
br label %1350, !llvm.loop !80
1386: ; preds = %1350
store i32 0, ptr %94, align 4
br label %1387
1387: ; preds = %1433, %1386
%1388 = load i32, ptr %94, align 4
%1389 = icmp slt i32 %1388, 1
br i1 %1389, label %1390, label %1436
1390: ; preds = %1387
store i32 0, ptr %95, align 4
br label %1391
1391: ; preds = %1429, %1390
%1392 = load i32, ptr %95, align 4
%1393 = icmp slt i32 %1392, 992
br i1 %1393, label %1394, label %1432
1394: ; preds = %1391
store i32 0, ptr %96, align 4
br label %1395
1395: ; preds = %1425, %1394
%1396 = load i32, ptr %96, align 4
%1397 = icmp slt i32 %1396, 992
br i1 %1397, label %1398, label %1428
1398: ; preds = %1395
%1399 = load ptr, ptr %90, align 8
%1400 = load i32, ptr %95, align 4
%1401 = mul nsw i32 %1400, 992
%1402 = load i32, ptr %96, align 4
%1403 = add nsw i32 %1401, %1402
%1404 = sext i32 %1403 to i64
%1405 = getelementptr inbounds double, ptr %1399, i64 %1404
%1406 = load double, ptr %1405, align 8
%1407 = load ptr, ptr %91, align 8
%1408 = load i32, ptr %95, align 4
%1409 = mul nsw i32 %1408, 992
%1410 = load i32, ptr %96, align 4
%1411 = add nsw i32 %1409, %1410
%1412 = sext i32 %1411 to i64
%1413 = getelementptr inbounds double, ptr %1407, i64 %1412
%1414 = load double, ptr %1413, align 8
%1415 = fadd double %1406, %1414
%1416 = load ptr, ptr %89, align 8
%1417 = load i32, ptr %95, align 4
%1418 = mul nsw i32 %1417, 992
%1419 = load i32, ptr %96, align 4
%1420 = add nsw i32 %1418, %1419
%1421 = sext i32 %1420 to i64
%1422 = getelementptr inbounds double, ptr %1416, i64 %1421
%1423 = load double, ptr %1422, align 8
%1424 = fadd double %1423, %1415
store double %1424, ptr %1422, align 8
br label %1425
1425: ; preds = %1398
%1426 = load i32, ptr %96, align 4
%1427 = add nsw i32 %1426, 1
store i32 %1427, ptr %96, align 4
br label %1395, !llvm.loop !81
1428: ; preds = %1395
br label %1429
1429: ; preds = %1428
%1430 = load i32, ptr %95, align 4
%1431 = add nsw i32 %1430, 1
store i32 %1431, ptr %95, align 4
br label %1391, !llvm.loop !82
1432: ; preds = %1391
br label %1433
1433: ; preds = %1432
%1434 = load i32, ptr %94, align 4
%1435 = add nsw i32 %1434, 1
store i32 %1435, ptr %94, align 4
br label %1387, !llvm.loop !83
1436: ; preds = %1387
store i32 0, ptr %97, align 4
br label %1437
1437: ; preds = %1471, %1436
%1438 = load i32, ptr %97, align 4
%1439 = icmp slt i32 %1438, 992
br i1 %1439, label %1440, label %1474
1440: ; preds = %1437
store i32 0, ptr %98, align 4
br label %1441
1441: ; preds = %1467, %1440
%1442 = load i32, ptr %98, align 4
%1443 = icmp slt i32 %1442, 992
br i1 %1443, label %1444, label %1470
1444: ; preds = %1441
%1445 = load ptr, ptr %89, align 8
%1446 = load i32, ptr %97, align 4
%1447 = mul nsw i32 %1446, 992
%1448 = load i32, ptr %98, align 4
%1449 = add nsw i32 %1447, %1448
%1450 = sext i32 %1449 to i64
%1451 = getelementptr inbounds double, ptr %1445, i64 %1450
%1452 = load double, ptr %1451, align 8
%1453 = fcmp une double %1452, 3.000000e+00
br i1 %1453, label %1454, label %1466
1454: ; preds = %1444
%1455 = load i32, ptr %97, align 4
%1456 = load i32, ptr %98, align 4
%1457 = load ptr, ptr %89, align 8
%1458 = load i32, ptr %97, align 4
%1459 = mul nsw i32 %1458, 992
%1460 = load i32, ptr %98, align 4
%1461 = add nsw i32 %1459, %1460
%1462 = sext i32 %1461 to i64
%1463 = getelementptr inbounds double, ptr %1457, i64 %1462
%1464 = load double, ptr %1463, align 8
%1465 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %1455, i32 noundef %1456, double noundef 3.000000e+00, double noundef %1464)
store i32 1, ptr %7, align 4
br label %1466
1466: ; preds = %1454, %1444
br label %1467
1467: ; preds = %1466
%1468 = load i32, ptr %98, align 4
%1469 = add nsw i32 %1468, 1
store i32 %1469, ptr %98, align 4
br label %1441, !llvm.loop !84
1470: ; preds = %1441
br label %1471
1471: ; preds = %1470
%1472 = load i32, ptr %97, align 4
%1473 = add nsw i32 %1472, 1
store i32 %1473, ptr %97, align 4
br label %1437, !llvm.loop !85
1474: ; preds = %1437
%1475 = load i32, ptr %7, align 4
%1476 = icmp ne i32 %1475, 0
br i1 %1476, label %1477, label %1479
1477: ; preds = %1474
%1478 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1481
1479: ; preds = %1474
%1480 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1481
1481: ; preds = %1479, %1477
store i32 124, ptr %99, align 4
%1482 = load i32, ptr %99, align 4
%1483 = load i32, ptr %99, align 4
%1484 = mul nsw i32 %1482, %1483
%1485 = load i32, ptr %99, align 4
%1486 = mul nsw i32 %1484, %1485
%1487 = sext i32 %1486 to i64
%1488 = mul i64 %1487, 8
%1489 = trunc i64 %1488 to i32
%1490 = call ptr @malloc(i32 noundef %1489)
store ptr %1490, ptr %100, align 8
%1491 = load i32, ptr %99, align 4
%1492 = load i32, ptr %99, align 4
%1493 = mul nsw i32 %1491, %1492
%1494 = load i32, ptr %99, align 4
%1495 = mul nsw i32 %1493, %1494
%1496 = sext i32 %1495 to i64
%1497 = mul i64 %1496, 8
%1498 = trunc i64 %1497 to i32
%1499 = call ptr @malloc(i32 noundef %1498)
store ptr %1499, ptr %101, align 8
store i32 0, ptr %102, align 4
br label %1500
1500: ; preds = %1551, %1481
%1501 = load i32, ptr %102, align 4
%1502 = load i32, ptr %99, align 4
%1503 = icmp slt i32 %1501, %1502
br i1 %1503, label %1504, label %1554
1504: ; preds = %1500
store i32 0, ptr %103, align 4
br label %1505
1505: ; preds = %1547, %1504
%1506 = load i32, ptr %103, align 4
%1507 = load i32, ptr %99, align 4
%1508 = icmp slt i32 %1506, %1507
br i1 %1508, label %1509, label %1550
1509: ; preds = %1505
store i32 0, ptr %104, align 4
br label %1510
1510: ; preds = %1543, %1509
%1511 = load i32, ptr %104, align 4
%1512 = load i32, ptr %99, align 4
%1513 = icmp slt i32 %1511, %1512
br i1 %1513, label %1514, label %1546
1514: ; preds = %1510
%1515 = load ptr, ptr %100, align 8
%1516 = load i32, ptr %102, align 4
%1517 = load i32, ptr %99, align 4
%1518 = mul nsw i32 %1516, %1517
%1519 = load i32, ptr %99, align 4
%1520 = mul nsw i32 %1518, %1519
%1521 = load i32, ptr %103, align 4
%1522 = load i32, ptr %99, align 4
%1523 = mul nsw i32 %1521, %1522
%1524 = add nsw i32 %1520, %1523
%1525 = load i32, ptr %104, align 4
%1526 = add nsw i32 %1524, %1525
%1527 = sext i32 %1526 to i64
%1528 = getelementptr inbounds double, ptr %1515, i64 %1527
store double 2.000000e+00, ptr %1528, align 8
%1529 = load ptr, ptr %101, align 8
%1530 = load i32, ptr %102, align 4
%1531 = load i32, ptr %99, align 4
%1532 = mul nsw i32 %1530, %1531
%1533 = load i32, ptr %99, align 4
%1534 = mul nsw i32 %1532, %1533
%1535 = load i32, ptr %103, align 4
%1536 = load i32, ptr %99, align 4
%1537 = mul nsw i32 %1535, %1536
%1538 = add nsw i32 %1534, %1537
%1539 = load i32, ptr %104, align 4
%1540 = add nsw i32 %1538, %1539
%1541 = sext i32 %1540 to i64
%1542 = getelementptr inbounds double, ptr %1529, i64 %1541
store double 3.000000e+00, ptr %1542, align 8
br label %1543
1543: ; preds = %1514
%1544 = load i32, ptr %104, align 4
%1545 = add nsw i32 %1544, 1
store i32 %1545, ptr %104, align 4
br label %1510, !llvm.loop !86
1546: ; preds = %1510
br label %1547
1547: ; preds = %1546
%1548 = load i32, ptr %103, align 4
%1549 = add nsw i32 %1548, 1
store i32 %1549, ptr %103, align 4
br label %1505, !llvm.loop !87
1550: ; preds = %1505
br label %1551
1551: ; preds = %1550
%1552 = load i32, ptr %102, align 4
%1553 = add nsw i32 %1552, 1
store i32 %1553, ptr %102, align 4
br label %1500, !llvm.loop !88
1554: ; preds = %1500
store i32 0, ptr %105, align 4
br label %1555
1555: ; preds = %1617, %1554
%1556 = load i32, ptr %105, align 4
%1557 = icmp slt i32 %1556, 1
br i1 %1557, label %1558, label %1620
1558: ; preds = %1555
store i32 0, ptr %106, align 4
br label %1559
1559: ; preds = %1613, %1558
%1560 = load i32, ptr %106, align 4
%1561 = load i32, ptr %99, align 4
%1562 = icmp slt i32 %1560, %1561
br i1 %1562, label %1563, label %1616
1563: ; preds = %1559
store i32 0, ptr %107, align 4
br label %1564
1564: ; preds = %1609, %1563
%1565 = load i32, ptr %107, align 4
%1566 = load i32, ptr %99, align 4
%1567 = icmp slt i32 %1565, %1566
br i1 %1567, label %1568, label %1612
1568: ; preds = %1564
store i32 0, ptr %108, align 4
br label %1569
1569: ; preds = %1605, %1568
%1570 = load i32, ptr %108, align 4
%1571 = load i32, ptr %99, align 4
%1572 = icmp slt i32 %1570, %1571
br i1 %1572, label %1573, label %1608
1573: ; preds = %1569
%1574 = load ptr, ptr %101, align 8
%1575 = load i32, ptr %106, align 4
%1576 = load i32, ptr %99, align 4
%1577 = mul nsw i32 %1575, %1576
%1578 = load i32, ptr %99, align 4
%1579 = mul nsw i32 %1577, %1578
%1580 = load i32, ptr %107, align 4
%1581 = load i32, ptr %99, align 4
%1582 = mul nsw i32 %1580, %1581
%1583 = add nsw i32 %1579, %1582
%1584 = load i32, ptr %108, align 4
%1585 = add nsw i32 %1583, %1584
%1586 = sext i32 %1585 to i64
%1587 = getelementptr inbounds double, ptr %1574, i64 %1586
%1588 = load double, ptr %1587, align 8
%1589 = load ptr, ptr %100, align 8
%1590 = load i32, ptr %106, align 4
%1591 = load i32, ptr %99, align 4
%1592 = mul nsw i32 %1590, %1591
%1593 = load i32, ptr %99, align 4
%1594 = mul nsw i32 %1592, %1593
%1595 = load i32, ptr %107, align 4
%1596 = load i32, ptr %99, align 4
%1597 = mul nsw i32 %1595, %1596
%1598 = add nsw i32 %1594, %1597
%1599 = load i32, ptr %108, align 4
%1600 = add nsw i32 %1598, %1599
%1601 = sext i32 %1600 to i64
%1602 = getelementptr inbounds double, ptr %1589, i64 %1601
%1603 = load double, ptr %1602, align 8
%1604 = fadd double %1603, %1588
store double %1604, ptr %1602, align 8
br label %1605
1605: ; preds = %1573
%1606 = load i32, ptr %108, align 4
%1607 = add nsw i32 %1606, 1
store i32 %1607, ptr %108, align 4
br label %1569, !llvm.loop !89
1608: ; preds = %1569
br label %1609
1609: ; preds = %1608
%1610 = load i32, ptr %107, align 4
%1611 = add nsw i32 %1610, 1
store i32 %1611, ptr %107, align 4
br label %1564, !llvm.loop !90
1612: ; preds = %1564
br label %1613
1613: ; preds = %1612
%1614 = load i32, ptr %106, align 4
%1615 = add nsw i32 %1614, 1
store i32 %1615, ptr %106, align 4
br label %1559, !llvm.loop !91
1616: ; preds = %1559
br label %1617
1617: ; preds = %1616
%1618 = load i32, ptr %105, align 4
%1619 = add nsw i32 %1618, 1
store i32 %1619, ptr %105, align 4
br label %1555, !llvm.loop !92
1620: ; preds = %1555
store i32 0, ptr %109, align 4
br label %1621
1621: ; preds = %1680, %1620
%1622 = load i32, ptr %109, align 4
%1623 = load i32, ptr %99, align 4
%1624 = icmp slt i32 %1622, %1623
br i1 %1624, label %1625, label %1683
1625: ; preds = %1621
store i32 0, ptr %110, align 4
br label %1626
1626: ; preds = %1676, %1625
%1627 = load i32, ptr %110, align 4
%1628 = load i32, ptr %99, align 4
%1629 = icmp slt i32 %1627, %1628
br i1 %1629, label %1630, label %1679
1630: ; preds = %1626
store i32 0, ptr %111, align 4
br label %1631
1631: ; preds = %1672, %1630
%1632 = load i32, ptr %111, align 4
%1633 = load i32, ptr %99, align 4
%1634 = icmp slt i32 %1632, %1633
br i1 %1634, label %1635, label %1675
1635: ; preds = %1631
%1636 = load ptr, ptr %100, align 8
%1637 = load i32, ptr %109, align 4
%1638 = load i32, ptr %99, align 4
%1639 = mul nsw i32 %1637, %1638
%1640 = load i32, ptr %99, align 4
%1641 = mul nsw i32 %1639, %1640
%1642 = load i32, ptr %110, align 4
%1643 = load i32, ptr %99, align 4
%1644 = mul nsw i32 %1642, %1643
%1645 = add nsw i32 %1641, %1644
%1646 = load i32, ptr %111, align 4
%1647 = add nsw i32 %1645, %1646
%1648 = sext i32 %1647 to i64
%1649 = getelementptr inbounds double, ptr %1636, i64 %1648
%1650 = load double, ptr %1649, align 8
%1651 = fcmp une double %1650, 5.000000e+00
br i1 %1651, label %1652, label %1671
1652: ; preds = %1635
%1653 = load i32, ptr %109, align 4
%1654 = load i32, ptr %110, align 4
%1655 = load ptr, ptr %100, align 8
%1656 = load i32, ptr %109, align 4
%1657 = load i32, ptr %99, align 4
%1658 = mul nsw i32 %1656, %1657
%1659 = load i32, ptr %99, align 4
%1660 = mul nsw i32 %1658, %1659
%1661 = load i32, ptr %110, align 4
%1662 = load i32, ptr %99, align 4
%1663 = mul nsw i32 %1661, %1662
%1664 = add nsw i32 %1660, %1663
%1665 = load i32, ptr %111, align 4
%1666 = add nsw i32 %1664, %1665
%1667 = sext i32 %1666 to i64
%1668 = getelementptr inbounds double, ptr %1655, i64 %1667
%1669 = load double, ptr %1668, align 8
%1670 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %1653, i32 noundef %1654, double noundef 3.000000e+00, double noundef %1669)
store i32 1, ptr %7, align 4
br label %1671
1671: ; preds = %1652, %1635
br label %1672
1672: ; preds = %1671
%1673 = load i32, ptr %111, align 4
%1674 = add nsw i32 %1673, 1
store i32 %1674, ptr %111, align 4
br label %1631, !llvm.loop !93
1675: ; preds = %1631
br label %1676
1676: ; preds = %1675
%1677 = load i32, ptr %110, align 4
%1678 = add nsw i32 %1677, 1
store i32 %1678, ptr %110, align 4
br label %1626, !llvm.loop !94
1679: ; preds = %1626
br label %1680
1680: ; preds = %1679
%1681 = load i32, ptr %109, align 4
%1682 = add nsw i32 %1681, 1
store i32 %1682, ptr %109, align 4
br label %1621, !llvm.loop !95
1683: ; preds = %1621
%1684 = load i32, ptr %7, align 4
%1685 = icmp ne i32 %1684, 0
br i1 %1685, label %1686, label %1688
1686: ; preds = %1683
%1687 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1690
1688: ; preds = %1683
%1689 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1690
1690: ; preds = %1688, %1686
ret i32 0
}
declare i32 @check_offloading(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @omp_get_num_teams(...) #1
declare i32 @omp_get_team_num(...) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
!43 = distinct !{!43, !7}
!44 = distinct !{!44, !7}
!45 = distinct !{!45, !7}
!46 = distinct !{!46, !7}
!47 = distinct !{!47, !7}
!48 = distinct !{!48, !7}
!49 = distinct !{!49, !7}
!50 = distinct !{!50, !7}
!51 = distinct !{!51, !7}
!52 = distinct !{!52, !7}
!53 = distinct !{!53, !7}
!54 = distinct !{!54, !7}
!55 = distinct !{!55, !7}
!56 = distinct !{!56, !7}
!57 = distinct !{!57, !7}
!58 = distinct !{!58, !7}
!59 = distinct !{!59, !7}
!60 = distinct !{!60, !7}
!61 = distinct !{!61, !7}
!62 = distinct !{!62, !7}
!63 = distinct !{!63, !7}
!64 = distinct !{!64, !7}
!65 = distinct !{!65, !7}
!66 = distinct !{!66, !7}
!67 = distinct !{!67, !7}
!68 = distinct !{!68, !7}
!69 = distinct !{!69, !7}
!70 = distinct !{!70, !7}
!71 = distinct !{!71, !7}
!72 = distinct !{!72, !7}
!73 = distinct !{!73, !7}
!74 = distinct !{!74, !7}
!75 = distinct !{!75, !7}
!76 = distinct !{!76, !7}
!77 = distinct !{!77, !7}
!78 = distinct !{!78, !7}
!79 = distinct !{!79, !7}
!80 = distinct !{!80, !7}
!81 = distinct !{!81, !7}
!82 = distinct !{!82, !7}
!83 = distinct !{!83, !7}
!84 = distinct !{!84, !7}
!85 = distinct !{!85, !7}
!86 = distinct !{!86, !7}
!87 = distinct !{!87, !7}
!88 = distinct !{!88, !7}
!89 = distinct !{!89, !7}
!90 = distinct !{!90, !7}
!91 = distinct !{!91, !7}
!92 = distinct !{!92, !7}
!93 = distinct !{!93, !7}
!94 = distinct !{!94, !7}
!95 = distinct !{!95, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbvfac7sa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Error at %d, h = %lf, d = %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Error at A[%d], h = %lf, d = %lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Error at B[%d], h = %lf, d = %lf\0A\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"lastpriv value is %d and should have been %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"Error at (%d,%d), h = %lf, d = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [992 x double], align 16
%3 = alloca [992 x double], align 16
%4 = alloca [992 x double], align 16
%5 = alloca [992 x double], align 16
%6 = alloca [992 x double], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca i32, align 4
%50 = alloca i32, align 4
%51 = alloca i32, align 4
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca i32, align 4
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca i32, align 4
%58 = alloca i32, align 4
%59 = alloca i32, align 4
%60 = alloca i32, align 4
%61 = alloca double, align 8
%62 = alloca double, align 8
%63 = alloca i32, align 4
%64 = alloca i32, align 4
%65 = alloca i32, align 4
%66 = alloca i32, align 4
%67 = alloca i32, align 4
%68 = alloca i32, align 4
%69 = alloca i32, align 4
%70 = alloca i32, align 4
%71 = alloca i32, align 4
%72 = alloca i32, align 4
%73 = alloca i32, align 4
%74 = alloca i32, align 4
%75 = alloca i32, align 4
%76 = alloca i32, align 4
%77 = alloca i32, align 4
%78 = alloca i32, align 4
%79 = alloca i32, align 4
%80 = alloca i32, align 4
%81 = alloca i32, align 4
%82 = alloca i32, align 4
%83 = alloca i32, align 4
%84 = alloca i32, align 4
%85 = alloca i32, align 4
%86 = alloca i32, align 4
%87 = alloca i32, align 4
%88 = alloca i32, align 4
%89 = alloca ptr, align 8
%90 = alloca ptr, align 8
%91 = alloca ptr, align 8
%92 = alloca i32, align 4
%93 = alloca i32, align 4
%94 = alloca i32, align 4
%95 = alloca i32, align 4
%96 = alloca i32, align 4
%97 = alloca i32, align 4
%98 = alloca i32, align 4
%99 = alloca i32, align 4
%100 = alloca ptr, align 8
%101 = alloca ptr, align 8
%102 = alloca i32, align 4
%103 = alloca i32, align 4
%104 = alloca i32, align 4
%105 = alloca i32, align 4
%106 = alloca i32, align 4
%107 = alloca i32, align 4
%108 = alloca i32, align 4
%109 = alloca i32, align 4
%110 = alloca i32, align 4
%111 = alloca i32, align 4
store i32 0, ptr %1, align 4
%112 = call i32 (...) @check_offloading()
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%113 = load i32, ptr %8, align 4
%114 = icmp slt i32 %113, 992
br i1 %114, label %.lr.ph, label %135
.lr.ph: ; preds = %0
br label %115
115: ; preds = %.lr.ph, %130
%116 = load i32, ptr %8, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %117
store double 1.000000e+00, ptr %118, align 8
%119 = load i32, ptr %8, align 4
%120 = sitofp i32 %119 to double
%121 = load i32, ptr %8, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %122
store double %120, ptr %123, align 8
%124 = load i32, ptr %8, align 4
%125 = sub nsw i32 0, %124
%126 = sitofp i32 %125 to double
%127 = load i32, ptr %8, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %128
store double %126, ptr %129, align 8
br label %130
130: ; preds = %115
%131 = load i32, ptr %8, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %8, align 4
%133 = load i32, ptr %8, align 4
%134 = icmp slt i32 %133, 992
br i1 %134, label %115, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %130
br label %135
135: ; preds = %._crit_edge, %0
store i32 0, ptr %9, align 4
%136 = load i32, ptr %9, align 4
%137 = icmp slt i32 %136, 992
br i1 %137, label %.lr.ph2, label %147
.lr.ph2: ; preds = %135
br label %138
138: ; preds = %.lr.ph2, %142
%139 = load i32, ptr %9, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %140
store double 0.000000e+00, ptr %141, align 8
br label %142
142: ; preds = %138
%143 = load i32, ptr %9, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %9, align 4
%145 = load i32, ptr %9, align 4
%146 = icmp slt i32 %145, 992
br i1 %146, label %138, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %142
br label %147
147: ; preds = %._crit_edge3, %135
store i32 0, ptr %10, align 4
%148 = load i32, ptr %10, align 4
%149 = icmp slt i32 %148, 1
br i1 %149, label %.lr.ph8, label %174
.lr.ph8: ; preds = %147
br label %150
150: ; preds = %.lr.ph8, %169
store i32 0, ptr %11, align 4
%151 = load i32, ptr %11, align 4
%152 = icmp slt i32 %151, 512
br i1 %152, label %.lr.ph5, label %168
.lr.ph5: ; preds = %150
br label %153
153: ; preds = %.lr.ph5, %163
%154 = load i32, ptr %11, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %155
%157 = load double, ptr %156, align 8
%158 = load i32, ptr %11, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %159
%161 = load double, ptr %160, align 8
%162 = fadd double %161, %157
store double %162, ptr %160, align 8
br label %163
163: ; preds = %153
%164 = load i32, ptr %11, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %11, align 4
%166 = load i32, ptr %11, align 4
%167 = icmp slt i32 %166, 512
br i1 %167, label %153, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %163
br label %168
168: ; preds = %._crit_edge6, %150
br label %169
169: ; preds = %168
%170 = load i32, ptr %10, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %10, align 4
%172 = load i32, ptr %10, align 4
%173 = icmp slt i32 %172, 1
br i1 %173, label %150, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %169
br label %174
174: ; preds = %._crit_edge9, %147
store i32 0, ptr %12, align 4
%175 = load i32, ptr %12, align 4
%176 = icmp slt i32 %175, 512
br i1 %176, label %.lr.ph11, label %196
.lr.ph11: ; preds = %174
br label %177
177: ; preds = %.lr.ph11, %191
%178 = load i32, ptr %12, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %179
%181 = load double, ptr %180, align 8
%182 = fcmp une double %181, 1.000000e+00
br i1 %182, label %183, label %190
183: ; preds = %177
%184 = load i32, ptr %12, align 4
%185 = load i32, ptr %12, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %186
%188 = load double, ptr %187, align 8
%189 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %184, double noundef 1.000000e+00, double noundef %188)
store i32 1, ptr %7, align 4
br label %190
190: ; preds = %183, %177
br label %191
191: ; preds = %190
%192 = load i32, ptr %12, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %12, align 4
%194 = load i32, ptr %12, align 4
%195 = icmp slt i32 %194, 512
br i1 %195, label %177, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %191
br label %196
196: ; preds = %._crit_edge12, %174
%197 = load i32, ptr %7, align 4
%198 = icmp ne i32 %197, 0
br i1 %198, label %199, label %201
199: ; preds = %196
%200 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %203
201: ; preds = %196
%202 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %203
203: ; preds = %201, %199
store i32 0, ptr %13, align 4
%204 = load i32, ptr %13, align 4
%205 = icmp slt i32 %204, 992
br i1 %205, label %.lr.ph14, label %215
.lr.ph14: ; preds = %203
br label %206
206: ; preds = %.lr.ph14, %210
%207 = load i32, ptr %13, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %208
store double 0.000000e+00, ptr %209, align 8
br label %210
210: ; preds = %206
%211 = load i32, ptr %13, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %13, align 4
%213 = load i32, ptr %13, align 4
%214 = icmp slt i32 %213, 992
br i1 %214, label %206, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %210
br label %215
215: ; preds = %._crit_edge15, %203
store i32 0, ptr %14, align 4
%216 = load i32, ptr %14, align 4
%217 = icmp slt i32 %216, 1
br i1 %217, label %.lr.ph20, label %242
.lr.ph20: ; preds = %215
br label %218
218: ; preds = %.lr.ph20, %237
store i32 0, ptr %15, align 4
%219 = load i32, ptr %15, align 4
%220 = icmp slt i32 %219, 500
br i1 %220, label %.lr.ph17, label %236
.lr.ph17: ; preds = %218
br label %221
221: ; preds = %.lr.ph17, %231
%222 = load i32, ptr %15, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %223
%225 = load double, ptr %224, align 8
%226 = load i32, ptr %15, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %227
%229 = load double, ptr %228, align 8
%230 = fadd double %229, %225
store double %230, ptr %228, align 8
br label %231
231: ; preds = %221
%232 = load i32, ptr %15, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %15, align 4
%234 = load i32, ptr %15, align 4
%235 = icmp slt i32 %234, 500
br i1 %235, label %221, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %231
br label %236
236: ; preds = %._crit_edge18, %218
br label %237
237: ; preds = %236
%238 = load i32, ptr %14, align 4
%239 = add nsw i32 %238, 1
store i32 %239, ptr %14, align 4
%240 = load i32, ptr %14, align 4
%241 = icmp slt i32 %240, 1
br i1 %241, label %218, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %237
br label %242
242: ; preds = %._crit_edge21, %215
store i32 0, ptr %16, align 4
%243 = load i32, ptr %16, align 4
%244 = icmp slt i32 %243, 500
br i1 %244, label %.lr.ph23, label %264
.lr.ph23: ; preds = %242
br label %245
245: ; preds = %.lr.ph23, %259
%246 = load i32, ptr %16, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %247
%249 = load double, ptr %248, align 8
%250 = fcmp une double %249, 1.000000e+00
br i1 %250, label %251, label %258
251: ; preds = %245
%252 = load i32, ptr %16, align 4
%253 = load i32, ptr %16, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %254
%256 = load double, ptr %255, align 8
%257 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %252, double noundef 1.000000e+00, double noundef %256)
store i32 1, ptr %7, align 4
br label %258
258: ; preds = %251, %245
br label %259
259: ; preds = %258
%260 = load i32, ptr %16, align 4
%261 = add nsw i32 %260, 1
store i32 %261, ptr %16, align 4
%262 = load i32, ptr %16, align 4
%263 = icmp slt i32 %262, 500
br i1 %263, label %245, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %259
br label %264
264: ; preds = %._crit_edge24, %242
%265 = load i32, ptr %7, align 4
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %269
267: ; preds = %264
%268 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %271
269: ; preds = %264
%270 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %271
271: ; preds = %269, %267
store i32 0, ptr %17, align 4
%272 = load i32, ptr %17, align 4
%273 = icmp slt i32 %272, 992
br i1 %273, label %.lr.ph26, label %283
.lr.ph26: ; preds = %271
br label %274
274: ; preds = %.lr.ph26, %278
%275 = load i32, ptr %17, align 4
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %276
store double 0.000000e+00, ptr %277, align 8
br label %278
278: ; preds = %274
%279 = load i32, ptr %17, align 4
%280 = add nsw i32 %279, 1
store i32 %280, ptr %17, align 4
%281 = load i32, ptr %17, align 4
%282 = icmp slt i32 %281, 992
br i1 %282, label %274, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %278
br label %283
283: ; preds = %._crit_edge27, %271
store i32 0, ptr %18, align 4
%284 = load i32, ptr %18, align 4
%285 = icmp slt i32 %284, 1
br i1 %285, label %.lr.ph32, label %310
.lr.ph32: ; preds = %283
br label %286
286: ; preds = %.lr.ph32, %305
store i32 0, ptr %19, align 4
%287 = load i32, ptr %19, align 4
%288 = icmp slt i32 %287, 123
br i1 %288, label %.lr.ph29, label %304
.lr.ph29: ; preds = %286
br label %289
289: ; preds = %.lr.ph29, %299
%290 = load i32, ptr %19, align 4
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %291
%293 = load double, ptr %292, align 8
%294 = load i32, ptr %19, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %295
%297 = load double, ptr %296, align 8
%298 = fadd double %297, %293
store double %298, ptr %296, align 8
br label %299
299: ; preds = %289
%300 = load i32, ptr %19, align 4
%301 = add nsw i32 %300, 1
store i32 %301, ptr %19, align 4
%302 = load i32, ptr %19, align 4
%303 = icmp slt i32 %302, 123
br i1 %303, label %289, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %299
br label %304
304: ; preds = %._crit_edge30, %286
br label %305
305: ; preds = %304
%306 = load i32, ptr %18, align 4
%307 = add nsw i32 %306, 1
store i32 %307, ptr %18, align 4
%308 = load i32, ptr %18, align 4
%309 = icmp slt i32 %308, 1
br i1 %309, label %286, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %305
br label %310
310: ; preds = %._crit_edge33, %283
store i32 0, ptr %20, align 4
%311 = load i32, ptr %20, align 4
%312 = icmp slt i32 %311, 123
br i1 %312, label %.lr.ph35, label %332
.lr.ph35: ; preds = %310
br label %313
313: ; preds = %.lr.ph35, %327
%314 = load i32, ptr %20, align 4
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %315
%317 = load double, ptr %316, align 8
%318 = fcmp une double %317, 1.000000e+00
br i1 %318, label %319, label %326
319: ; preds = %313
%320 = load i32, ptr %20, align 4
%321 = load i32, ptr %20, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %322
%324 = load double, ptr %323, align 8
%325 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %320, double noundef 1.000000e+00, double noundef %324)
store i32 1, ptr %7, align 4
br label %326
326: ; preds = %319, %313
br label %327
327: ; preds = %326
%328 = load i32, ptr %20, align 4
%329 = add nsw i32 %328, 1
store i32 %329, ptr %20, align 4
%330 = load i32, ptr %20, align 4
%331 = icmp slt i32 %330, 123
br i1 %331, label %313, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %327
br label %332
332: ; preds = %._crit_edge36, %310
%333 = load i32, ptr %7, align 4
%334 = icmp ne i32 %333, 0
br i1 %334, label %335, label %337
335: ; preds = %332
%336 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %339
337: ; preds = %332
%338 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %339
339: ; preds = %337, %335
store i32 0, ptr %21, align 4
%340 = load i32, ptr %21, align 4
%341 = icmp slt i32 %340, 992
br i1 %341, label %.lr.ph38, label %351
.lr.ph38: ; preds = %339
br label %342
342: ; preds = %.lr.ph38, %346
%343 = load i32, ptr %21, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %344
store double 0.000000e+00, ptr %345, align 8
br label %346
346: ; preds = %342
%347 = load i32, ptr %21, align 4
%348 = add nsw i32 %347, 1
store i32 %348, ptr %21, align 4
%349 = load i32, ptr %21, align 4
%350 = icmp slt i32 %349, 992
br i1 %350, label %342, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %346
br label %351
351: ; preds = %._crit_edge39, %339
store i32 0, ptr %22, align 4
%352 = load i32, ptr %22, align 4
%353 = icmp slt i32 %352, 1
br i1 %353, label %.lr.ph44, label %378
.lr.ph44: ; preds = %351
br label %354
354: ; preds = %.lr.ph44, %373
store i32 0, ptr %23, align 4
%355 = load i32, ptr %23, align 4
%356 = icmp slt i32 %355, 512
br i1 %356, label %.lr.ph41, label %372
.lr.ph41: ; preds = %354
br label %357
357: ; preds = %.lr.ph41, %367
%358 = load i32, ptr %23, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %359
%361 = load double, ptr %360, align 8
%362 = load i32, ptr %23, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %363
%365 = load double, ptr %364, align 8
%366 = fadd double %365, %361
store double %366, ptr %364, align 8
br label %367
367: ; preds = %357
%368 = load i32, ptr %23, align 4
%369 = add nsw i32 %368, 1
store i32 %369, ptr %23, align 4
%370 = load i32, ptr %23, align 4
%371 = icmp slt i32 %370, 512
br i1 %371, label %357, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %367
br label %372
372: ; preds = %._crit_edge42, %354
br label %373
373: ; preds = %372
%374 = load i32, ptr %22, align 4
%375 = add nsw i32 %374, 1
store i32 %375, ptr %22, align 4
%376 = load i32, ptr %22, align 4
%377 = icmp slt i32 %376, 1
br i1 %377, label %354, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %373
br label %378
378: ; preds = %._crit_edge45, %351
store i32 0, ptr %24, align 4
%379 = load i32, ptr %24, align 4
%380 = icmp slt i32 %379, 512
br i1 %380, label %.lr.ph47, label %400
.lr.ph47: ; preds = %378
br label %381
381: ; preds = %.lr.ph47, %395
%382 = load i32, ptr %24, align 4
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %383
%385 = load double, ptr %384, align 8
%386 = fcmp une double %385, 1.000000e+00
br i1 %386, label %387, label %394
387: ; preds = %381
%388 = load i32, ptr %24, align 4
%389 = load i32, ptr %24, align 4
%390 = sext i32 %389 to i64
%391 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %390
%392 = load double, ptr %391, align 8
%393 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %388, double noundef 1.000000e+00, double noundef %392)
store i32 1, ptr %7, align 4
br label %394
394: ; preds = %387, %381
br label %395
395: ; preds = %394
%396 = load i32, ptr %24, align 4
%397 = add nsw i32 %396, 1
store i32 %397, ptr %24, align 4
%398 = load i32, ptr %24, align 4
%399 = icmp slt i32 %398, 512
br i1 %399, label %381, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %395
br label %400
400: ; preds = %._crit_edge48, %378
%401 = load i32, ptr %7, align 4
%402 = icmp ne i32 %401, 0
br i1 %402, label %403, label %405
403: ; preds = %400
%404 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %407
405: ; preds = %400
%406 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %407
407: ; preds = %405, %403
store i32 0, ptr %25, align 4
%408 = load i32, ptr %25, align 4
%409 = icmp slt i32 %408, 992
br i1 %409, label %.lr.ph50, label %419
.lr.ph50: ; preds = %407
br label %410
410: ; preds = %.lr.ph50, %414
%411 = load i32, ptr %25, align 4
%412 = sext i32 %411 to i64
%413 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %412
store double 0.000000e+00, ptr %413, align 8
br label %414
414: ; preds = %410
%415 = load i32, ptr %25, align 4
%416 = add nsw i32 %415, 1
store i32 %416, ptr %25, align 4
%417 = load i32, ptr %25, align 4
%418 = icmp slt i32 %417, 992
br i1 %418, label %410, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %414
br label %419
419: ; preds = %._crit_edge51, %407
store i32 0, ptr %26, align 4
%420 = load i32, ptr %26, align 4
%421 = icmp slt i32 %420, 1
br i1 %421, label %.lr.ph56, label %446
.lr.ph56: ; preds = %419
br label %422
422: ; preds = %.lr.ph56, %441
store i32 0, ptr %27, align 4
%423 = load i32, ptr %27, align 4
%424 = icmp slt i32 %423, 512
br i1 %424, label %.lr.ph53, label %440
.lr.ph53: ; preds = %422
br label %425
425: ; preds = %.lr.ph53, %435
%426 = load i32, ptr %27, align 4
%427 = sext i32 %426 to i64
%428 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %427
%429 = load double, ptr %428, align 8
%430 = load i32, ptr %27, align 4
%431 = sext i32 %430 to i64
%432 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %431
%433 = load double, ptr %432, align 8
%434 = fadd double %433, %429
store double %434, ptr %432, align 8
br label %435
435: ; preds = %425
%436 = load i32, ptr %27, align 4
%437 = add nsw i32 %436, 1
store i32 %437, ptr %27, align 4
%438 = load i32, ptr %27, align 4
%439 = icmp slt i32 %438, 512
br i1 %439, label %425, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %435
br label %440
440: ; preds = %._crit_edge54, %422
br label %441
441: ; preds = %440
%442 = load i32, ptr %26, align 4
%443 = add nsw i32 %442, 1
store i32 %443, ptr %26, align 4
%444 = load i32, ptr %26, align 4
%445 = icmp slt i32 %444, 1
br i1 %445, label %422, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %441
br label %446
446: ; preds = %._crit_edge57, %419
store i32 0, ptr %28, align 4
%447 = load i32, ptr %28, align 4
%448 = icmp slt i32 %447, 512
br i1 %448, label %.lr.ph59, label %468
.lr.ph59: ; preds = %446
br label %449
449: ; preds = %.lr.ph59, %463
%450 = load i32, ptr %28, align 4
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %451
%453 = load double, ptr %452, align 8
%454 = fcmp une double %453, 1.000000e+00
br i1 %454, label %455, label %462
455: ; preds = %449
%456 = load i32, ptr %28, align 4
%457 = load i32, ptr %28, align 4
%458 = sext i32 %457 to i64
%459 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %458
%460 = load double, ptr %459, align 8
%461 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %456, double noundef 1.000000e+00, double noundef %460)
store i32 1, ptr %7, align 4
br label %462
462: ; preds = %455, %449
br label %463
463: ; preds = %462
%464 = load i32, ptr %28, align 4
%465 = add nsw i32 %464, 1
store i32 %465, ptr %28, align 4
%466 = load i32, ptr %28, align 4
%467 = icmp slt i32 %466, 512
br i1 %467, label %449, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %463
br label %468
468: ; preds = %._crit_edge60, %446
%469 = load i32, ptr %7, align 4
%470 = icmp ne i32 %469, 0
br i1 %470, label %471, label %473
471: ; preds = %468
%472 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %475
473: ; preds = %468
%474 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %475
475: ; preds = %473, %471
store i32 0, ptr %29, align 4
%476 = load i32, ptr %29, align 4
%477 = icmp slt i32 %476, 992
br i1 %477, label %.lr.ph62, label %487
.lr.ph62: ; preds = %475
br label %478
478: ; preds = %.lr.ph62, %482
%479 = load i32, ptr %29, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %480
store double 0.000000e+00, ptr %481, align 8
br label %482
482: ; preds = %478
%483 = load i32, ptr %29, align 4
%484 = add nsw i32 %483, 1
store i32 %484, ptr %29, align 4
%485 = load i32, ptr %29, align 4
%486 = icmp slt i32 %485, 992
br i1 %486, label %478, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %482
br label %487
487: ; preds = %._crit_edge63, %475
store i32 10, ptr %30, align 4
%488 = load i32, ptr %30, align 4
%489 = sdiv i32 512, %488
store i32 %489, ptr %31, align 4
store i32 0, ptr %32, align 4
%490 = load i32, ptr %32, align 4
%491 = icmp slt i32 %490, 1
br i1 %491, label %.lr.ph68, label %516
.lr.ph68: ; preds = %487
br label %492
492: ; preds = %.lr.ph68, %511
store i32 0, ptr %33, align 4
%493 = load i32, ptr %33, align 4
%494 = icmp slt i32 %493, 512
br i1 %494, label %.lr.ph65, label %510
.lr.ph65: ; preds = %492
br label %495
495: ; preds = %.lr.ph65, %505
%496 = load i32, ptr %33, align 4
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %497
%499 = load double, ptr %498, align 8
%500 = load i32, ptr %33, align 4
%501 = sext i32 %500 to i64
%502 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %501
%503 = load double, ptr %502, align 8
%504 = fadd double %503, %499
store double %504, ptr %502, align 8
br label %505
505: ; preds = %495
%506 = load i32, ptr %33, align 4
%507 = add nsw i32 %506, 1
store i32 %507, ptr %33, align 4
%508 = load i32, ptr %33, align 4
%509 = icmp slt i32 %508, 512
br i1 %509, label %495, label %._crit_edge66, !llvm.loop !29
._crit_edge66: ; preds = %505
br label %510
510: ; preds = %._crit_edge66, %492
br label %511
511: ; preds = %510
%512 = load i32, ptr %32, align 4
%513 = add nsw i32 %512, 1
store i32 %513, ptr %32, align 4
%514 = load i32, ptr %32, align 4
%515 = icmp slt i32 %514, 1
br i1 %515, label %492, label %._crit_edge69, !llvm.loop !30
._crit_edge69: ; preds = %511
br label %516
516: ; preds = %._crit_edge69, %487
store i32 0, ptr %34, align 4
%517 = load i32, ptr %34, align 4
%518 = icmp slt i32 %517, 512
br i1 %518, label %.lr.ph71, label %538
.lr.ph71: ; preds = %516
br label %519
519: ; preds = %.lr.ph71, %533
%520 = load i32, ptr %34, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %521
%523 = load double, ptr %522, align 8
%524 = fcmp une double %523, 1.000000e+00
br i1 %524, label %525, label %532
525: ; preds = %519
%526 = load i32, ptr %34, align 4
%527 = load i32, ptr %34, align 4
%528 = sext i32 %527 to i64
%529 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %528
%530 = load double, ptr %529, align 8
%531 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %526, double noundef 1.000000e+00, double noundef %530)
store i32 1, ptr %7, align 4
br label %532
532: ; preds = %525, %519
br label %533
533: ; preds = %532
%534 = load i32, ptr %34, align 4
%535 = add nsw i32 %534, 1
store i32 %535, ptr %34, align 4
%536 = load i32, ptr %34, align 4
%537 = icmp slt i32 %536, 512
br i1 %537, label %519, label %._crit_edge72, !llvm.loop !31
._crit_edge72: ; preds = %533
br label %538
538: ; preds = %._crit_edge72, %516
%539 = load i32, ptr %7, align 4
%540 = icmp ne i32 %539, 0
br i1 %540, label %541, label %543
541: ; preds = %538
%542 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %545
543: ; preds = %538
%544 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %545
545: ; preds = %543, %541
store i32 0, ptr %35, align 4
%546 = load i32, ptr %35, align 4
%547 = icmp slt i32 %546, 992
br i1 %547, label %.lr.ph74, label %557
.lr.ph74: ; preds = %545
br label %548
548: ; preds = %.lr.ph74, %552
%549 = load i32, ptr %35, align 4
%550 = sext i32 %549 to i64
%551 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %550
store double 0.000000e+00, ptr %551, align 8
br label %552
552: ; preds = %548
%553 = load i32, ptr %35, align 4
%554 = add nsw i32 %553, 1
store i32 %554, ptr %35, align 4
%555 = load i32, ptr %35, align 4
%556 = icmp slt i32 %555, 992
br i1 %556, label %548, label %._crit_edge75, !llvm.loop !32
._crit_edge75: ; preds = %552
br label %557
557: ; preds = %._crit_edge75, %545
store i32 0, ptr %36, align 4
%558 = load i32, ptr %36, align 4
%559 = icmp slt i32 %558, 1
br i1 %559, label %.lr.ph80, label %584
.lr.ph80: ; preds = %557
br label %560
560: ; preds = %.lr.ph80, %579
store i32 0, ptr %37, align 4
%561 = load i32, ptr %37, align 4
%562 = icmp slt i32 %561, 500
br i1 %562, label %.lr.ph77, label %578
.lr.ph77: ; preds = %560
br label %563
563: ; preds = %.lr.ph77, %573
%564 = load i32, ptr %37, align 4
%565 = sext i32 %564 to i64
%566 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %565
%567 = load double, ptr %566, align 8
%568 = load i32, ptr %37, align 4
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %569
%571 = load double, ptr %570, align 8
%572 = fadd double %571, %567
store double %572, ptr %570, align 8
br label %573
573: ; preds = %563
%574 = load i32, ptr %37, align 4
%575 = add nsw i32 %574, 1
store i32 %575, ptr %37, align 4
%576 = load i32, ptr %37, align 4
%577 = icmp slt i32 %576, 500
br i1 %577, label %563, label %._crit_edge78, !llvm.loop !33
._crit_edge78: ; preds = %573
br label %578
578: ; preds = %._crit_edge78, %560
br label %579
579: ; preds = %578
%580 = load i32, ptr %36, align 4
%581 = add nsw i32 %580, 1
store i32 %581, ptr %36, align 4
%582 = load i32, ptr %36, align 4
%583 = icmp slt i32 %582, 1
br i1 %583, label %560, label %._crit_edge81, !llvm.loop !34
._crit_edge81: ; preds = %579
br label %584
584: ; preds = %._crit_edge81, %557
store i32 0, ptr %38, align 4
%585 = load i32, ptr %38, align 4
%586 = icmp slt i32 %585, 500
br i1 %586, label %.lr.ph83, label %606
.lr.ph83: ; preds = %584
br label %587
587: ; preds = %.lr.ph83, %601
%588 = load i32, ptr %38, align 4
%589 = sext i32 %588 to i64
%590 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %589
%591 = load double, ptr %590, align 8
%592 = fcmp une double %591, 1.000000e+00
br i1 %592, label %593, label %600
593: ; preds = %587
%594 = load i32, ptr %38, align 4
%595 = load i32, ptr %38, align 4
%596 = sext i32 %595 to i64
%597 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %596
%598 = load double, ptr %597, align 8
%599 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %594, double noundef 1.000000e+00, double noundef %598)
store i32 1, ptr %7, align 4
br label %600
600: ; preds = %593, %587
br label %601
601: ; preds = %600
%602 = load i32, ptr %38, align 4
%603 = add nsw i32 %602, 1
store i32 %603, ptr %38, align 4
%604 = load i32, ptr %38, align 4
%605 = icmp slt i32 %604, 500
br i1 %605, label %587, label %._crit_edge84, !llvm.loop !35
._crit_edge84: ; preds = %601
br label %606
606: ; preds = %._crit_edge84, %584
%607 = load i32, ptr %7, align 4
%608 = icmp ne i32 %607, 0
br i1 %608, label %609, label %611
609: ; preds = %606
%610 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %613
611: ; preds = %606
%612 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %613
613: ; preds = %611, %609
store i32 0, ptr %39, align 4
%614 = load i32, ptr %39, align 4
%615 = icmp slt i32 %614, 992
br i1 %615, label %.lr.ph86, label %625
.lr.ph86: ; preds = %613
br label %616
616: ; preds = %.lr.ph86, %620
%617 = load i32, ptr %39, align 4
%618 = sext i32 %617 to i64
%619 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %618
store double 0.000000e+00, ptr %619, align 8
br label %620
620: ; preds = %616
%621 = load i32, ptr %39, align 4
%622 = add nsw i32 %621, 1
store i32 %622, ptr %39, align 4
%623 = load i32, ptr %39, align 4
%624 = icmp slt i32 %623, 992
br i1 %624, label %616, label %._crit_edge87, !llvm.loop !36
._crit_edge87: ; preds = %620
br label %625
625: ; preds = %._crit_edge87, %613
store i32 0, ptr %40, align 4
%626 = load i32, ptr %40, align 4
%627 = icmp slt i32 %626, 1
br i1 %627, label %.lr.ph92, label %652
.lr.ph92: ; preds = %625
br label %628
628: ; preds = %.lr.ph92, %647
store i32 0, ptr %41, align 4
%629 = load i32, ptr %41, align 4
%630 = icmp slt i32 %629, 500
br i1 %630, label %.lr.ph89, label %646
.lr.ph89: ; preds = %628
br label %631
631: ; preds = %.lr.ph89, %641
%632 = load i32, ptr %41, align 4
%633 = sext i32 %632 to i64
%634 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %633
%635 = load double, ptr %634, align 8
%636 = load i32, ptr %41, align 4
%637 = sext i32 %636 to i64
%638 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %637
%639 = load double, ptr %638, align 8
%640 = fadd double %639, %635
store double %640, ptr %638, align 8
br label %641
641: ; preds = %631
%642 = load i32, ptr %41, align 4
%643 = add nsw i32 %642, 1
store i32 %643, ptr %41, align 4
%644 = load i32, ptr %41, align 4
%645 = icmp slt i32 %644, 500
br i1 %645, label %631, label %._crit_edge90, !llvm.loop !37
._crit_edge90: ; preds = %641
br label %646
646: ; preds = %._crit_edge90, %628
br label %647
647: ; preds = %646
%648 = load i32, ptr %40, align 4
%649 = add nsw i32 %648, 1
store i32 %649, ptr %40, align 4
%650 = load i32, ptr %40, align 4
%651 = icmp slt i32 %650, 1
br i1 %651, label %628, label %._crit_edge93, !llvm.loop !38
._crit_edge93: ; preds = %647
br label %652
652: ; preds = %._crit_edge93, %625
store i32 0, ptr %42, align 4
%653 = load i32, ptr %42, align 4
%654 = icmp slt i32 %653, 500
br i1 %654, label %.lr.ph95, label %674
.lr.ph95: ; preds = %652
br label %655
655: ; preds = %.lr.ph95, %669
%656 = load i32, ptr %42, align 4
%657 = sext i32 %656 to i64
%658 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %657
%659 = load double, ptr %658, align 8
%660 = fcmp une double %659, 1.000000e+00
br i1 %660, label %661, label %668
661: ; preds = %655
%662 = load i32, ptr %42, align 4
%663 = load i32, ptr %42, align 4
%664 = sext i32 %663 to i64
%665 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %664
%666 = load double, ptr %665, align 8
%667 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %662, double noundef 1.000000e+00, double noundef %666)
store i32 1, ptr %7, align 4
br label %668
668: ; preds = %661, %655
br label %669
669: ; preds = %668
%670 = load i32, ptr %42, align 4
%671 = add nsw i32 %670, 1
store i32 %671, ptr %42, align 4
%672 = load i32, ptr %42, align 4
%673 = icmp slt i32 %672, 500
br i1 %673, label %655, label %._crit_edge96, !llvm.loop !39
._crit_edge96: ; preds = %669
br label %674
674: ; preds = %._crit_edge96, %652
%675 = load i32, ptr %7, align 4
%676 = icmp ne i32 %675, 0
br i1 %676, label %677, label %679
677: ; preds = %674
%678 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %681
679: ; preds = %674
%680 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %681
681: ; preds = %679, %677
store i32 0, ptr %43, align 4
%682 = load i32, ptr %43, align 4
%683 = icmp slt i32 %682, 992
br i1 %683, label %.lr.ph98, label %693
.lr.ph98: ; preds = %681
br label %684
684: ; preds = %.lr.ph98, %688
%685 = load i32, ptr %43, align 4
%686 = sext i32 %685 to i64
%687 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %686
store double 0.000000e+00, ptr %687, align 8
br label %688
688: ; preds = %684
%689 = load i32, ptr %43, align 4
%690 = add nsw i32 %689, 1
store i32 %690, ptr %43, align 4
%691 = load i32, ptr %43, align 4
%692 = icmp slt i32 %691, 992
br i1 %692, label %684, label %._crit_edge99, !llvm.loop !40
._crit_edge99: ; preds = %688
br label %693
693: ; preds = %._crit_edge99, %681
store i32 10, ptr %30, align 4
%694 = load i32, ptr %30, align 4
%695 = sdiv i32 500, %694
store i32 %695, ptr %31, align 4
store i32 0, ptr %44, align 4
%696 = load i32, ptr %44, align 4
%697 = icmp slt i32 %696, 1
br i1 %697, label %.lr.ph104, label %722
.lr.ph104: ; preds = %693
br label %698
698: ; preds = %.lr.ph104, %717
store i32 0, ptr %45, align 4
%699 = load i32, ptr %45, align 4
%700 = icmp slt i32 %699, 500
br i1 %700, label %.lr.ph101, label %716
.lr.ph101: ; preds = %698
br label %701
701: ; preds = %.lr.ph101, %711
%702 = load i32, ptr %45, align 4
%703 = sext i32 %702 to i64
%704 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %703
%705 = load double, ptr %704, align 8
%706 = load i32, ptr %45, align 4
%707 = sext i32 %706 to i64
%708 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %707
%709 = load double, ptr %708, align 8
%710 = fadd double %709, %705
store double %710, ptr %708, align 8
br label %711
711: ; preds = %701
%712 = load i32, ptr %45, align 4
%713 = add nsw i32 %712, 1
store i32 %713, ptr %45, align 4
%714 = load i32, ptr %45, align 4
%715 = icmp slt i32 %714, 500
br i1 %715, label %701, label %._crit_edge102, !llvm.loop !41
._crit_edge102: ; preds = %711
br label %716
716: ; preds = %._crit_edge102, %698
br label %717
717: ; preds = %716
%718 = load i32, ptr %44, align 4
%719 = add nsw i32 %718, 1
store i32 %719, ptr %44, align 4
%720 = load i32, ptr %44, align 4
%721 = icmp slt i32 %720, 1
br i1 %721, label %698, label %._crit_edge105, !llvm.loop !42
._crit_edge105: ; preds = %717
br label %722
722: ; preds = %._crit_edge105, %693
store i32 0, ptr %46, align 4
%723 = load i32, ptr %46, align 4
%724 = icmp slt i32 %723, 500
br i1 %724, label %.lr.ph107, label %744
.lr.ph107: ; preds = %722
br label %725
725: ; preds = %.lr.ph107, %739
%726 = load i32, ptr %46, align 4
%727 = sext i32 %726 to i64
%728 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %727
%729 = load double, ptr %728, align 8
%730 = fcmp une double %729, 1.000000e+00
br i1 %730, label %731, label %738
731: ; preds = %725
%732 = load i32, ptr %46, align 4
%733 = load i32, ptr %46, align 4
%734 = sext i32 %733 to i64
%735 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %734
%736 = load double, ptr %735, align 8
%737 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %732, double noundef 1.000000e+00, double noundef %736)
store i32 1, ptr %7, align 4
br label %738
738: ; preds = %731, %725
br label %739
739: ; preds = %738
%740 = load i32, ptr %46, align 4
%741 = add nsw i32 %740, 1
store i32 %741, ptr %46, align 4
%742 = load i32, ptr %46, align 4
%743 = icmp slt i32 %742, 500
br i1 %743, label %725, label %._crit_edge108, !llvm.loop !43
._crit_edge108: ; preds = %739
br label %744
744: ; preds = %._crit_edge108, %722
%745 = load i32, ptr %7, align 4
%746 = icmp ne i32 %745, 0
br i1 %746, label %747, label %749
747: ; preds = %744
%748 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %751
749: ; preds = %744
%750 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %751
751: ; preds = %749, %747
store i32 0, ptr %47, align 4
%752 = load i32, ptr %47, align 4
%753 = icmp slt i32 %752, 992
br i1 %753, label %.lr.ph110, label %763
.lr.ph110: ; preds = %751
br label %754
754: ; preds = %.lr.ph110, %758
%755 = load i32, ptr %47, align 4
%756 = sext i32 %755 to i64
%757 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %756
store double 0.000000e+00, ptr %757, align 8
br label %758
758: ; preds = %754
%759 = load i32, ptr %47, align 4
%760 = add nsw i32 %759, 1
store i32 %760, ptr %47, align 4
%761 = load i32, ptr %47, align 4
%762 = icmp slt i32 %761, 992
br i1 %762, label %754, label %._crit_edge111, !llvm.loop !44
._crit_edge111: ; preds = %758
br label %763
763: ; preds = %._crit_edge111, %751
store i32 0, ptr %48, align 4
%764 = load i32, ptr %48, align 4
%765 = icmp slt i32 %764, 1
br i1 %765, label %.lr.ph116, label %790
.lr.ph116: ; preds = %763
br label %766
766: ; preds = %.lr.ph116, %785
store i32 0, ptr %49, align 4
%767 = load i32, ptr %49, align 4
%768 = icmp slt i32 %767, 123
br i1 %768, label %.lr.ph113, label %784
.lr.ph113: ; preds = %766
br label %769
769: ; preds = %.lr.ph113, %779
%770 = load i32, ptr %49, align 4
%771 = sext i32 %770 to i64
%772 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %771
%773 = load double, ptr %772, align 8
%774 = load i32, ptr %49, align 4
%775 = sext i32 %774 to i64
%776 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %775
%777 = load double, ptr %776, align 8
%778 = fadd double %777, %773
store double %778, ptr %776, align 8
br label %779
779: ; preds = %769
%780 = load i32, ptr %49, align 4
%781 = add nsw i32 %780, 1
store i32 %781, ptr %49, align 4
%782 = load i32, ptr %49, align 4
%783 = icmp slt i32 %782, 123
br i1 %783, label %769, label %._crit_edge114, !llvm.loop !45
._crit_edge114: ; preds = %779
br label %784
784: ; preds = %._crit_edge114, %766
br label %785
785: ; preds = %784
%786 = load i32, ptr %48, align 4
%787 = add nsw i32 %786, 1
store i32 %787, ptr %48, align 4
%788 = load i32, ptr %48, align 4
%789 = icmp slt i32 %788, 1
br i1 %789, label %766, label %._crit_edge117, !llvm.loop !46
._crit_edge117: ; preds = %785
br label %790
790: ; preds = %._crit_edge117, %763
store i32 0, ptr %50, align 4
%791 = load i32, ptr %50, align 4
%792 = icmp slt i32 %791, 123
br i1 %792, label %.lr.ph119, label %812
.lr.ph119: ; preds = %790
br label %793
793: ; preds = %.lr.ph119, %807
%794 = load i32, ptr %50, align 4
%795 = sext i32 %794 to i64
%796 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %795
%797 = load double, ptr %796, align 8
%798 = fcmp une double %797, 1.000000e+00
br i1 %798, label %799, label %806
799: ; preds = %793
%800 = load i32, ptr %50, align 4
%801 = load i32, ptr %50, align 4
%802 = sext i32 %801 to i64
%803 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %802
%804 = load double, ptr %803, align 8
%805 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %800, double noundef 1.000000e+00, double noundef %804)
store i32 1, ptr %7, align 4
br label %806
806: ; preds = %799, %793
br label %807
807: ; preds = %806
%808 = load i32, ptr %50, align 4
%809 = add nsw i32 %808, 1
store i32 %809, ptr %50, align 4
%810 = load i32, ptr %50, align 4
%811 = icmp slt i32 %810, 123
br i1 %811, label %793, label %._crit_edge120, !llvm.loop !47
._crit_edge120: ; preds = %807
br label %812
812: ; preds = %._crit_edge120, %790
%813 = load i32, ptr %7, align 4
%814 = icmp ne i32 %813, 0
br i1 %814, label %815, label %817
815: ; preds = %812
%816 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %819
817: ; preds = %812
%818 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %819
819: ; preds = %817, %815
store i32 0, ptr %51, align 4
%820 = load i32, ptr %51, align 4
%821 = icmp slt i32 %820, 992
br i1 %821, label %.lr.ph122, label %831
.lr.ph122: ; preds = %819
br label %822
822: ; preds = %.lr.ph122, %826
%823 = load i32, ptr %51, align 4
%824 = sext i32 %823 to i64
%825 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %824
store double 0.000000e+00, ptr %825, align 8
br label %826
826: ; preds = %822
%827 = load i32, ptr %51, align 4
%828 = add nsw i32 %827, 1
store i32 %828, ptr %51, align 4
%829 = load i32, ptr %51, align 4
%830 = icmp slt i32 %829, 992
br i1 %830, label %822, label %._crit_edge123, !llvm.loop !48
._crit_edge123: ; preds = %826
br label %831
831: ; preds = %._crit_edge123, %819
store i32 0, ptr %52, align 4
%832 = load i32, ptr %52, align 4
%833 = icmp slt i32 %832, 1
br i1 %833, label %.lr.ph128, label %858
.lr.ph128: ; preds = %831
br label %834
834: ; preds = %.lr.ph128, %853
store i32 0, ptr %53, align 4
%835 = load i32, ptr %53, align 4
%836 = icmp slt i32 %835, 123
br i1 %836, label %.lr.ph125, label %852
.lr.ph125: ; preds = %834
br label %837
837: ; preds = %.lr.ph125, %847
%838 = load i32, ptr %53, align 4
%839 = sext i32 %838 to i64
%840 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %839
%841 = load double, ptr %840, align 8
%842 = load i32, ptr %53, align 4
%843 = sext i32 %842 to i64
%844 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %843
%845 = load double, ptr %844, align 8
%846 = fadd double %845, %841
store double %846, ptr %844, align 8
br label %847
847: ; preds = %837
%848 = load i32, ptr %53, align 4
%849 = add nsw i32 %848, 1
store i32 %849, ptr %53, align 4
%850 = load i32, ptr %53, align 4
%851 = icmp slt i32 %850, 123
br i1 %851, label %837, label %._crit_edge126, !llvm.loop !49
._crit_edge126: ; preds = %847
br label %852
852: ; preds = %._crit_edge126, %834
br label %853
853: ; preds = %852
%854 = load i32, ptr %52, align 4
%855 = add nsw i32 %854, 1
store i32 %855, ptr %52, align 4
%856 = load i32, ptr %52, align 4
%857 = icmp slt i32 %856, 1
br i1 %857, label %834, label %._crit_edge129, !llvm.loop !50
._crit_edge129: ; preds = %853
br label %858
858: ; preds = %._crit_edge129, %831
store i32 0, ptr %54, align 4
%859 = load i32, ptr %54, align 4
%860 = icmp slt i32 %859, 123
br i1 %860, label %.lr.ph131, label %880
.lr.ph131: ; preds = %858
br label %861
861: ; preds = %.lr.ph131, %875
%862 = load i32, ptr %54, align 4
%863 = sext i32 %862 to i64
%864 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %863
%865 = load double, ptr %864, align 8
%866 = fcmp une double %865, 1.000000e+00
br i1 %866, label %867, label %874
867: ; preds = %861
%868 = load i32, ptr %54, align 4
%869 = load i32, ptr %54, align 4
%870 = sext i32 %869 to i64
%871 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %870
%872 = load double, ptr %871, align 8
%873 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %868, double noundef 1.000000e+00, double noundef %872)
store i32 1, ptr %7, align 4
br label %874
874: ; preds = %867, %861
br label %875
875: ; preds = %874
%876 = load i32, ptr %54, align 4
%877 = add nsw i32 %876, 1
store i32 %877, ptr %54, align 4
%878 = load i32, ptr %54, align 4
%879 = icmp slt i32 %878, 123
br i1 %879, label %861, label %._crit_edge132, !llvm.loop !51
._crit_edge132: ; preds = %875
br label %880
880: ; preds = %._crit_edge132, %858
%881 = load i32, ptr %7, align 4
%882 = icmp ne i32 %881, 0
br i1 %882, label %883, label %885
883: ; preds = %880
%884 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %887
885: ; preds = %880
%886 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %887
887: ; preds = %885, %883
store i32 0, ptr %55, align 4
%888 = load i32, ptr %55, align 4
%889 = icmp slt i32 %888, 992
br i1 %889, label %.lr.ph134, label %899
.lr.ph134: ; preds = %887
br label %890
890: ; preds = %.lr.ph134, %894
%891 = load i32, ptr %55, align 4
%892 = sext i32 %891 to i64
%893 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %892
store double 0.000000e+00, ptr %893, align 8
br label %894
894: ; preds = %890
%895 = load i32, ptr %55, align 4
%896 = add nsw i32 %895, 1
store i32 %896, ptr %55, align 4
%897 = load i32, ptr %55, align 4
%898 = icmp slt i32 %897, 992
br i1 %898, label %890, label %._crit_edge135, !llvm.loop !52
._crit_edge135: ; preds = %894
br label %899
899: ; preds = %._crit_edge135, %887
store i32 10, ptr %30, align 4
%900 = load i32, ptr %30, align 4
%901 = sdiv i32 123, %900
store i32 %901, ptr %31, align 4
store i32 0, ptr %56, align 4
%902 = load i32, ptr %56, align 4
%903 = icmp slt i32 %902, 1
br i1 %903, label %.lr.ph140, label %928
.lr.ph140: ; preds = %899
br label %904
904: ; preds = %.lr.ph140, %923
store i32 0, ptr %57, align 4
%905 = load i32, ptr %57, align 4
%906 = icmp slt i32 %905, 123
br i1 %906, label %.lr.ph137, label %922
.lr.ph137: ; preds = %904
br label %907
907: ; preds = %.lr.ph137, %917
%908 = load i32, ptr %57, align 4
%909 = sext i32 %908 to i64
%910 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %909
%911 = load double, ptr %910, align 8
%912 = load i32, ptr %57, align 4
%913 = sext i32 %912 to i64
%914 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %913
%915 = load double, ptr %914, align 8
%916 = fadd double %915, %911
store double %916, ptr %914, align 8
br label %917
917: ; preds = %907
%918 = load i32, ptr %57, align 4
%919 = add nsw i32 %918, 1
store i32 %919, ptr %57, align 4
%920 = load i32, ptr %57, align 4
%921 = icmp slt i32 %920, 123
br i1 %921, label %907, label %._crit_edge138, !llvm.loop !53
._crit_edge138: ; preds = %917
br label %922
922: ; preds = %._crit_edge138, %904
br label %923
923: ; preds = %922
%924 = load i32, ptr %56, align 4
%925 = add nsw i32 %924, 1
store i32 %925, ptr %56, align 4
%926 = load i32, ptr %56, align 4
%927 = icmp slt i32 %926, 1
br i1 %927, label %904, label %._crit_edge141, !llvm.loop !54
._crit_edge141: ; preds = %923
br label %928
928: ; preds = %._crit_edge141, %899
store i32 0, ptr %58, align 4
%929 = load i32, ptr %58, align 4
%930 = icmp slt i32 %929, 123
br i1 %930, label %.lr.ph143, label %950
.lr.ph143: ; preds = %928
br label %931
931: ; preds = %.lr.ph143, %945
%932 = load i32, ptr %58, align 4
%933 = sext i32 %932 to i64
%934 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %933
%935 = load double, ptr %934, align 8
%936 = fcmp une double %935, 1.000000e+00
br i1 %936, label %937, label %944
937: ; preds = %931
%938 = load i32, ptr %58, align 4
%939 = load i32, ptr %58, align 4
%940 = sext i32 %939 to i64
%941 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %940
%942 = load double, ptr %941, align 8
%943 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %938, double noundef 1.000000e+00, double noundef %942)
store i32 1, ptr %7, align 4
br label %944
944: ; preds = %937, %931
br label %945
945: ; preds = %944
%946 = load i32, ptr %58, align 4
%947 = add nsw i32 %946, 1
store i32 %947, ptr %58, align 4
%948 = load i32, ptr %58, align 4
%949 = icmp slt i32 %948, 123
br i1 %949, label %931, label %._crit_edge144, !llvm.loop !55
._crit_edge144: ; preds = %945
br label %950
950: ; preds = %._crit_edge144, %928
%951 = load i32, ptr %7, align 4
%952 = icmp ne i32 %951, 0
br i1 %952, label %953, label %955
953: ; preds = %950
%954 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %957
955: ; preds = %950
%956 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %957
957: ; preds = %955, %953
store i32 0, ptr %59, align 4
%958 = load i32, ptr %59, align 4
%959 = icmp slt i32 %958, 992
br i1 %959, label %.lr.ph146, label %969
.lr.ph146: ; preds = %957
br label %960
960: ; preds = %.lr.ph146, %964
%961 = load i32, ptr %59, align 4
%962 = sext i32 %961 to i64
%963 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %962
store double 0.000000e+00, ptr %963, align 8
br label %964
964: ; preds = %960
%965 = load i32, ptr %59, align 4
%966 = add nsw i32 %965, 1
store i32 %966, ptr %59, align 4
%967 = load i32, ptr %59, align 4
%968 = icmp slt i32 %967, 992
br i1 %968, label %960, label %._crit_edge147, !llvm.loop !56
._crit_edge147: ; preds = %964
br label %969
969: ; preds = %._crit_edge147, %957
store i32 0, ptr %60, align 4
%970 = load i32, ptr %60, align 4
%971 = icmp slt i32 %970, 992
br i1 %971, label %.lr.ph149, label %981
.lr.ph149: ; preds = %969
br label %972
972: ; preds = %.lr.ph149, %976
%973 = load i32, ptr %60, align 4
%974 = sext i32 %973 to i64
%975 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %974
store double 0.000000e+00, ptr %975, align 8
br label %976
976: ; preds = %972
%977 = load i32, ptr %60, align 4
%978 = add nsw i32 %977, 1
store i32 %978, ptr %60, align 4
%979 = load i32, ptr %60, align 4
%980 = icmp slt i32 %979, 992
br i1 %980, label %972, label %._crit_edge150, !llvm.loop !57
._crit_edge150: ; preds = %976
br label %981
981: ; preds = %._crit_edge150, %969
store double 2.000000e+00, ptr %61, align 8
store double 4.000000e+00, ptr %62, align 8
store i32 0, ptr %63, align 4
%982 = load i32, ptr %63, align 4
%983 = icmp slt i32 %982, 1
br i1 %983, label %.lr.ph155, label %1011
.lr.ph155: ; preds = %981
br label %984
984: ; preds = %.lr.ph155, %1006
store i32 0, ptr %64, align 4
%985 = load i32, ptr %64, align 4
%986 = icmp slt i32 %985, 992
br i1 %986, label %.lr.ph152, label %1005
.lr.ph152: ; preds = %984
br label %987
987: ; preds = %.lr.ph152, %1000
store double 2.000000e+00, ptr %61, align 8
store double 3.000000e+00, ptr %62, align 8
%988 = load double, ptr %61, align 8
%989 = load i32, ptr %64, align 4
%990 = sext i32 %989 to i64
%991 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %990
%992 = load double, ptr %991, align 8
%993 = fadd double %992, %988
store double %993, ptr %991, align 8
%994 = load double, ptr %62, align 8
%995 = load i32, ptr %64, align 4
%996 = sext i32 %995 to i64
%997 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %996
%998 = load double, ptr %997, align 8
%999 = fadd double %998, %994
store double %999, ptr %997, align 8
br label %1000
1000: ; preds = %987
%1001 = load i32, ptr %64, align 4
%1002 = add nsw i32 %1001, 1
store i32 %1002, ptr %64, align 4
%1003 = load i32, ptr %64, align 4
%1004 = icmp slt i32 %1003, 992
br i1 %1004, label %987, label %._crit_edge153, !llvm.loop !58
._crit_edge153: ; preds = %1000
br label %1005
1005: ; preds = %._crit_edge153, %984
br label %1006
1006: ; preds = %1005
%1007 = load i32, ptr %63, align 4
%1008 = add nsw i32 %1007, 1
store i32 %1008, ptr %63, align 4
%1009 = load i32, ptr %63, align 4
%1010 = icmp slt i32 %1009, 1
br i1 %1010, label %984, label %._crit_edge156, !llvm.loop !59
._crit_edge156: ; preds = %1006
br label %1011
1011: ; preds = %._crit_edge156, %981
store i32 0, ptr %65, align 4
%1012 = load i32, ptr %65, align 4
%1013 = icmp slt i32 %1012, 992
br i1 %1013, label %.lr.ph158, label %1046
.lr.ph158: ; preds = %1011
br label %1014
1014: ; preds = %.lr.ph158, %1041
%1015 = load i32, ptr %65, align 4
%1016 = sext i32 %1015 to i64
%1017 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1016
%1018 = load double, ptr %1017, align 8
%1019 = fcmp une double %1018, 2.000000e+00
br i1 %1019, label %1020, label %1027
1020: ; preds = %1014
%1021 = load i32, ptr %65, align 4
%1022 = load i32, ptr %65, align 4
%1023 = sext i32 %1022 to i64
%1024 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1023
%1025 = load double, ptr %1024, align 8
%1026 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1021, double noundef 2.000000e+00, double noundef %1025)
store i32 1, ptr %7, align 4
br label %1027
1027: ; preds = %1020, %1014
%1028 = load i32, ptr %65, align 4
%1029 = sext i32 %1028 to i64
%1030 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1029
%1031 = load double, ptr %1030, align 8
%1032 = fcmp une double %1031, 3.000000e+00
br i1 %1032, label %1033, label %1040
1033: ; preds = %1027
%1034 = load i32, ptr %65, align 4
%1035 = load i32, ptr %65, align 4
%1036 = sext i32 %1035 to i64
%1037 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1036
%1038 = load double, ptr %1037, align 8
%1039 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %1034, double noundef 3.000000e+00, double noundef %1038)
store i32 1, ptr %7, align 4
br label %1040
1040: ; preds = %1033, %1027
br label %1041
1041: ; preds = %1040
%1042 = load i32, ptr %65, align 4
%1043 = add nsw i32 %1042, 1
store i32 %1043, ptr %65, align 4
%1044 = load i32, ptr %65, align 4
%1045 = icmp slt i32 %1044, 992
br i1 %1045, label %1014, label %._crit_edge159, !llvm.loop !60
._crit_edge159: ; preds = %1041
br label %1046
1046: ; preds = %._crit_edge159, %1011
%1047 = load i32, ptr %7, align 4
%1048 = icmp ne i32 %1047, 0
br i1 %1048, label %1049, label %1051
1049: ; preds = %1046
%1050 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1053
1051: ; preds = %1046
%1052 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1053
1053: ; preds = %1051, %1049
store i32 0, ptr %66, align 4
%1054 = load i32, ptr %66, align 4
%1055 = icmp slt i32 %1054, 992
br i1 %1055, label %.lr.ph161, label %1065
.lr.ph161: ; preds = %1053
br label %1056
1056: ; preds = %.lr.ph161, %1060
%1057 = load i32, ptr %66, align 4
%1058 = sext i32 %1057 to i64
%1059 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1058
store double 0.000000e+00, ptr %1059, align 8
br label %1060
1060: ; preds = %1056
%1061 = load i32, ptr %66, align 4
%1062 = add nsw i32 %1061, 1
store i32 %1062, ptr %66, align 4
%1063 = load i32, ptr %66, align 4
%1064 = icmp slt i32 %1063, 992
br i1 %1064, label %1056, label %._crit_edge162, !llvm.loop !61
._crit_edge162: ; preds = %1060
br label %1065
1065: ; preds = %._crit_edge162, %1053
store i32 0, ptr %67, align 4
%1066 = load i32, ptr %67, align 4
%1067 = icmp slt i32 %1066, 992
br i1 %1067, label %.lr.ph164, label %1077
.lr.ph164: ; preds = %1065
br label %1068
1068: ; preds = %.lr.ph164, %1072
%1069 = load i32, ptr %67, align 4
%1070 = sext i32 %1069 to i64
%1071 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1070
store double 0.000000e+00, ptr %1071, align 8
br label %1072
1072: ; preds = %1068
%1073 = load i32, ptr %67, align 4
%1074 = add nsw i32 %1073, 1
store i32 %1074, ptr %67, align 4
%1075 = load i32, ptr %67, align 4
%1076 = icmp slt i32 %1075, 992
br i1 %1076, label %1068, label %._crit_edge165, !llvm.loop !62
._crit_edge165: ; preds = %1072
br label %1077
1077: ; preds = %._crit_edge165, %1065
store double 2.000000e+00, ptr %61, align 8
store double 4.000000e+00, ptr %62, align 8
store i32 0, ptr %68, align 4
%1078 = load i32, ptr %68, align 4
%1079 = icmp slt i32 %1078, 1
br i1 %1079, label %.lr.ph170, label %1111
.lr.ph170: ; preds = %1077
br label %1080
1080: ; preds = %.lr.ph170, %1106
store i32 0, ptr %69, align 4
%1081 = load i32, ptr %69, align 4
%1082 = icmp slt i32 %1081, 128
br i1 %1082, label %.lr.ph167, label %1105
.lr.ph167: ; preds = %1080
br label %1083
1083: ; preds = %.lr.ph167, %1100
%1084 = load double, ptr %61, align 8
%1085 = fadd double %1084, 3.000000e+00
store double %1085, ptr %61, align 8
%1086 = load double, ptr %62, align 8
%1087 = fadd double %1086, 7.000000e+00
store double %1087, ptr %62, align 8
%1088 = load double, ptr %61, align 8
%1089 = load i32, ptr %69, align 4
%1090 = sext i32 %1089 to i64
%1091 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1090
%1092 = load double, ptr %1091, align 8
%1093 = fadd double %1092, %1088
store double %1093, ptr %1091, align 8
%1094 = load double, ptr %62, align 8
%1095 = load i32, ptr %69, align 4
%1096 = sext i32 %1095 to i64
%1097 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1096
%1098 = load double, ptr %1097, align 8
%1099 = fadd double %1098, %1094
store double %1099, ptr %1097, align 8
br label %1100
1100: ; preds = %1083
%1101 = load i32, ptr %69, align 4
%1102 = add nsw i32 %1101, 1
store i32 %1102, ptr %69, align 4
%1103 = load i32, ptr %69, align 4
%1104 = icmp slt i32 %1103, 128
br i1 %1104, label %1083, label %._crit_edge168, !llvm.loop !63
._crit_edge168: ; preds = %1100
br label %1105
1105: ; preds = %._crit_edge168, %1080
br label %1106
1106: ; preds = %1105
%1107 = load i32, ptr %68, align 4
%1108 = add nsw i32 %1107, 1
store i32 %1108, ptr %68, align 4
%1109 = load i32, ptr %68, align 4
%1110 = icmp slt i32 %1109, 1
br i1 %1110, label %1080, label %._crit_edge171, !llvm.loop !64
._crit_edge171: ; preds = %1106
br label %1111
1111: ; preds = %._crit_edge171, %1077
store i32 0, ptr %70, align 4
%1112 = load i32, ptr %70, align 4
%1113 = icmp slt i32 %1112, 128
br i1 %1113, label %.lr.ph173, label %1178
.lr.ph173: ; preds = %1111
br label %1114
1114: ; preds = %.lr.ph173, %1173
%1115 = load i32, ptr %70, align 4
%1116 = srem i32 %1115, 2
%1117 = icmp eq i32 %1116, 0
br i1 %1117, label %1118, label %1145
1118: ; preds = %1114
%1119 = load i32, ptr %70, align 4
%1120 = sext i32 %1119 to i64
%1121 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1120
%1122 = load double, ptr %1121, align 8
%1123 = fcmp une double %1122, 5.000000e+00
br i1 %1123, label %1124, label %1131
1124: ; preds = %1118
%1125 = load i32, ptr %70, align 4
%1126 = load i32, ptr %70, align 4
%1127 = sext i32 %1126 to i64
%1128 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1127
%1129 = load double, ptr %1128, align 8
%1130 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1125, double noundef 5.000000e+00, double noundef %1129)
store i32 1, ptr %7, align 4
br label %1131
1131: ; preds = %1124, %1118
%1132 = load i32, ptr %70, align 4
%1133 = sext i32 %1132 to i64
%1134 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1133
%1135 = load double, ptr %1134, align 8
%1136 = fcmp une double %1135, 1.100000e+01
br i1 %1136, label %1137, label %1144
1137: ; preds = %1131
%1138 = load i32, ptr %70, align 4
%1139 = load i32, ptr %70, align 4
%1140 = sext i32 %1139 to i64
%1141 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1140
%1142 = load double, ptr %1141, align 8
%1143 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %1138, double noundef 1.100000e+01, double noundef %1142)
store i32 1, ptr %7, align 4
br label %1144
1144: ; preds = %1137, %1131
br label %1172
1145: ; preds = %1114
%1146 = load i32, ptr %70, align 4
%1147 = sext i32 %1146 to i64
%1148 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1147
%1149 = load double, ptr %1148, align 8
%1150 = fcmp une double %1149, 8.000000e+00
br i1 %1150, label %1151, label %1158
1151: ; preds = %1145
%1152 = load i32, ptr %70, align 4
%1153 = load i32, ptr %70, align 4
%1154 = sext i32 %1153 to i64
%1155 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1154
%1156 = load double, ptr %1155, align 8
%1157 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1152, double noundef 8.000000e+00, double noundef %1156)
store i32 1, ptr %7, align 4
br label %1158
1158: ; preds = %1151, %1145
%1159 = load i32, ptr %70, align 4
%1160 = sext i32 %1159 to i64
%1161 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1160
%1162 = load double, ptr %1161, align 8
%1163 = fcmp une double %1162, 1.800000e+01
br i1 %1163, label %1164, label %1171
1164: ; preds = %1158
%1165 = load i32, ptr %70, align 4
%1166 = load i32, ptr %70, align 4
%1167 = sext i32 %1166 to i64
%1168 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1167
%1169 = load double, ptr %1168, align 8
%1170 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %1165, double noundef 1.800000e+01, double noundef %1169)
store i32 1, ptr %7, align 4
br label %1171
1171: ; preds = %1164, %1158
br label %1172
1172: ; preds = %1171, %1144
br label %1173
1173: ; preds = %1172
%1174 = load i32, ptr %70, align 4
%1175 = add nsw i32 %1174, 1
store i32 %1175, ptr %70, align 4
%1176 = load i32, ptr %70, align 4
%1177 = icmp slt i32 %1176, 128
br i1 %1177, label %1114, label %._crit_edge174, !llvm.loop !65
._crit_edge174: ; preds = %1173
br label %1178
1178: ; preds = %._crit_edge174, %1111
%1179 = load i32, ptr %7, align 4
%1180 = icmp ne i32 %1179, 0
br i1 %1180, label %1181, label %1183
1181: ; preds = %1178
%1182 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1185
1183: ; preds = %1178
%1184 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1185
1185: ; preds = %1183, %1181
store i32 -1, ptr %71, align 4
store i32 0, ptr %72, align 4
%1186 = load i32, ptr %72, align 4
%1187 = call i32 (...) @omp_get_num_teams()
%1188 = icmp slt i32 %1186, %1187
br i1 %1188, label %.lr.ph176, label %1197
.lr.ph176: ; preds = %1185
br label %1189
1189: ; preds = %.lr.ph176, %1191
%1190 = call i32 (...) @omp_get_team_num()
store i32 %1190, ptr %71, align 4
br label %1191
1191: ; preds = %1189
%1192 = load i32, ptr %72, align 4
%1193 = add nsw i32 %1192, 1
store i32 %1193, ptr %72, align 4
%1194 = load i32, ptr %72, align 4
%1195 = call i32 (...) @omp_get_num_teams()
%1196 = icmp slt i32 %1194, %1195
br i1 %1196, label %1189, label %._crit_edge177, !llvm.loop !66
._crit_edge177: ; preds = %1191
br label %1197
1197: ; preds = %._crit_edge177, %1185
%1198 = load i32, ptr %71, align 4
%1199 = icmp ne i32 %1198, 9
br i1 %1199, label %1200, label %1203
1200: ; preds = %1197
%1201 = load i32, ptr %71, align 4
%1202 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %1201, i32 noundef 9)
store i32 1, ptr %7, align 4
br label %1203
1203: ; preds = %1200, %1197
%1204 = load i32, ptr %7, align 4
%1205 = icmp ne i32 %1204, 0
br i1 %1205, label %1206, label %1208
1206: ; preds = %1203
%1207 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1210
1208: ; preds = %1203
%1209 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1210
1210: ; preds = %1208, %1206
store i32 0, ptr %73, align 4
%1211 = load i32, ptr %73, align 4
%1212 = icmp slt i32 %1211, 992
br i1 %1212, label %.lr.ph179, label %1222
.lr.ph179: ; preds = %1210
br label %1213
1213: ; preds = %.lr.ph179, %1217
%1214 = load i32, ptr %73, align 4
%1215 = sext i32 %1214 to i64
%1216 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1215
store double 0.000000e+00, ptr %1216, align 8
br label %1217
1217: ; preds = %1213
%1218 = load i32, ptr %73, align 4
%1219 = add nsw i32 %1218, 1
store i32 %1219, ptr %73, align 4
%1220 = load i32, ptr %73, align 4
%1221 = icmp slt i32 %1220, 992
br i1 %1221, label %1213, label %._crit_edge180, !llvm.loop !67
._crit_edge180: ; preds = %1217
br label %1222
1222: ; preds = %._crit_edge180, %1210
store i32 0, ptr %74, align 4
%1223 = load i32, ptr %74, align 4
%1224 = icmp slt i32 %1223, 992
br i1 %1224, label %.lr.ph182, label %1234
.lr.ph182: ; preds = %1222
br label %1225
1225: ; preds = %.lr.ph182, %1229
%1226 = load i32, ptr %74, align 4
%1227 = sext i32 %1226 to i64
%1228 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1227
store double 0.000000e+00, ptr %1228, align 8
br label %1229
1229: ; preds = %1225
%1230 = load i32, ptr %74, align 4
%1231 = add nsw i32 %1230, 1
store i32 %1231, ptr %74, align 4
%1232 = load i32, ptr %74, align 4
%1233 = icmp slt i32 %1232, 992
br i1 %1233, label %1225, label %._crit_edge183, !llvm.loop !68
._crit_edge183: ; preds = %1229
br label %1234
1234: ; preds = %._crit_edge183, %1222
store i32 32, ptr %75, align 4
store i32 64, ptr %76, align 4
%1235 = load i32, ptr %76, align 4
store i32 %1235, ptr %77, align 4
store i32 0, ptr %78, align 4
%1236 = load i32, ptr %78, align 4
%1237 = icmp slt i32 %1236, 1
br i1 %1237, label %.lr.ph191, label %1284
.lr.ph191: ; preds = %1234
br label %1238
1238: ; preds = %.lr.ph191, %1279
store i32 0, ptr %79, align 4
%1239 = load i32, ptr %79, align 4
%1240 = icmp slt i32 %1239, 256
br i1 %1240, label %.lr.ph188, label %1278
.lr.ph188: ; preds = %1238
br label %1241
1241: ; preds = %.lr.ph188, %1272
%1242 = load i32, ptr %79, align 4
store i32 %1242, ptr %80, align 4
%1243 = load i32, ptr %80, align 4
%1244 = load i32, ptr %79, align 4
%1245 = load i32, ptr %77, align 4
%1246 = add nsw i32 %1244, %1245
%1247 = icmp slt i32 %1243, %1246
br i1 %1247, label %.lr.ph185, label %1271
.lr.ph185: ; preds = %1241
br label %1248
1248: ; preds = %.lr.ph185, %1263
%1249 = load i32, ptr %80, align 4
%1250 = sext i32 %1249 to i64
%1251 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1250
%1252 = load double, ptr %1251, align 8
%1253 = load i32, ptr %80, align 4
%1254 = sext i32 %1253 to i64
%1255 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %1254
%1256 = load double, ptr %1255, align 8
%1257 = fadd double %1252, %1256
%1258 = load i32, ptr %80, align 4
%1259 = sext i32 %1258 to i64
%1260 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1259
%1261 = load double, ptr %1260, align 8
%1262 = fadd double %1261, %1257
store double %1262, ptr %1260, align 8
br label %1263
1263: ; preds = %1248
%1264 = load i32, ptr %80, align 4
%1265 = add nsw i32 %1264, 1
store i32 %1265, ptr %80, align 4
%1266 = load i32, ptr %80, align 4
%1267 = load i32, ptr %79, align 4
%1268 = load i32, ptr %77, align 4
%1269 = add nsw i32 %1267, %1268
%1270 = icmp slt i32 %1266, %1269
br i1 %1270, label %1248, label %._crit_edge186, !llvm.loop !69
._crit_edge186: ; preds = %1263
br label %1271
1271: ; preds = %._crit_edge186, %1241
br label %1272
1272: ; preds = %1271
%1273 = load i32, ptr %77, align 4
%1274 = load i32, ptr %79, align 4
%1275 = add nsw i32 %1274, %1273
store i32 %1275, ptr %79, align 4
%1276 = load i32, ptr %79, align 4
%1277 = icmp slt i32 %1276, 256
br i1 %1277, label %1241, label %._crit_edge189, !llvm.loop !70
._crit_edge189: ; preds = %1272
br label %1278
1278: ; preds = %._crit_edge189, %1238
br label %1279
1279: ; preds = %1278
%1280 = load i32, ptr %78, align 4
%1281 = add nsw i32 %1280, 1
store i32 %1281, ptr %78, align 4
%1282 = load i32, ptr %78, align 4
%1283 = icmp slt i32 %1282, 1
br i1 %1283, label %1238, label %._crit_edge192, !llvm.loop !71
._crit_edge192: ; preds = %1279
br label %1284
1284: ; preds = %._crit_edge192, %1234
store i32 0, ptr %81, align 4
%1285 = load i32, ptr %81, align 4
%1286 = icmp slt i32 %1285, 256
br i1 %1286, label %.lr.ph194, label %1306
.lr.ph194: ; preds = %1284
br label %1287
1287: ; preds = %.lr.ph194, %1301
%1288 = load i32, ptr %81, align 4
%1289 = sext i32 %1288 to i64
%1290 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1289
%1291 = load double, ptr %1290, align 8
%1292 = fcmp une double %1291, 1.000000e+00
br i1 %1292, label %1293, label %1300
1293: ; preds = %1287
%1294 = load i32, ptr %81, align 4
%1295 = load i32, ptr %81, align 4
%1296 = sext i32 %1295 to i64
%1297 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1296
%1298 = load double, ptr %1297, align 8
%1299 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1294, double noundef 5.000000e+00, double noundef %1298)
store i32 1, ptr %7, align 4
br label %1300
1300: ; preds = %1293, %1287
br label %1301
1301: ; preds = %1300
%1302 = load i32, ptr %81, align 4
%1303 = add nsw i32 %1302, 1
store i32 %1303, ptr %81, align 4
%1304 = load i32, ptr %81, align 4
%1305 = icmp slt i32 %1304, 256
br i1 %1305, label %1287, label %._crit_edge195, !llvm.loop !72
._crit_edge195: ; preds = %1301
br label %1306
1306: ; preds = %._crit_edge195, %1284
%1307 = load i32, ptr %7, align 4
%1308 = icmp ne i32 %1307, 0
br i1 %1308, label %1309, label %1311
1309: ; preds = %1306
%1310 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1313
1311: ; preds = %1306
%1312 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1313
1313: ; preds = %1311, %1309
store i32 0, ptr %82, align 4
%1314 = load i32, ptr %82, align 4
%1315 = icmp slt i32 %1314, 992
br i1 %1315, label %.lr.ph197, label %1325
.lr.ph197: ; preds = %1313
br label %1316
1316: ; preds = %.lr.ph197, %1320
%1317 = load i32, ptr %82, align 4
%1318 = sext i32 %1317 to i64
%1319 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1318
store double 0.000000e+00, ptr %1319, align 8
br label %1320
1320: ; preds = %1316
%1321 = load i32, ptr %82, align 4
%1322 = add nsw i32 %1321, 1
store i32 %1322, ptr %82, align 4
%1323 = load i32, ptr %82, align 4
%1324 = icmp slt i32 %1323, 992
br i1 %1324, label %1316, label %._crit_edge198, !llvm.loop !73
._crit_edge198: ; preds = %1320
br label %1325
1325: ; preds = %._crit_edge198, %1313
store i32 0, ptr %83, align 4
%1326 = load i32, ptr %83, align 4
%1327 = icmp slt i32 %1326, 992
br i1 %1327, label %.lr.ph200, label %1337
.lr.ph200: ; preds = %1325
br label %1328
1328: ; preds = %.lr.ph200, %1332
%1329 = load i32, ptr %83, align 4
%1330 = sext i32 %1329 to i64
%1331 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1330
store double 0.000000e+00, ptr %1331, align 8
br label %1332
1332: ; preds = %1328
%1333 = load i32, ptr %83, align 4
%1334 = add nsw i32 %1333, 1
store i32 %1334, ptr %83, align 4
%1335 = load i32, ptr %83, align 4
%1336 = icmp slt i32 %1335, 992
br i1 %1336, label %1328, label %._crit_edge201, !llvm.loop !74
._crit_edge201: ; preds = %1332
br label %1337
1337: ; preds = %._crit_edge201, %1325
store i32 32, ptr %75, align 4
store i32 64, ptr %76, align 4
%1338 = load i32, ptr %76, align 4
store i32 %1338, ptr %77, align 4
store i32 0, ptr %84, align 4
%1339 = load i32, ptr %84, align 4
%1340 = icmp slt i32 %1339, 1
br i1 %1340, label %.lr.ph209, label %1394
.lr.ph209: ; preds = %1337
br label %1341
1341: ; preds = %.lr.ph209, %1389
store i32 0, ptr %85, align 4
%1342 = load i32, ptr %85, align 4
%1343 = icmp slt i32 %1342, 510
br i1 %1343, label %.lr.ph206, label %1388
.lr.ph206: ; preds = %1341
br label %1344
1344: ; preds = %.lr.ph206, %1382
%1345 = load i32, ptr %85, align 4
%1346 = load i32, ptr %77, align 4
%1347 = add nsw i32 %1345, %1346
%1348 = icmp slt i32 %1347, 510
br i1 %1348, label %1349, label %1353
1349: ; preds = %1344
%1350 = load i32, ptr %85, align 4
%1351 = load i32, ptr %77, align 4
%1352 = add nsw i32 %1350, %1351
br label %1354
1353: ; preds = %1344
br label %1354
1354: ; preds = %1353, %1349
%1355 = phi i32 [ %1352, %1349 ], [ 512, %1353 ]
store i32 %1355, ptr %86, align 4
%1356 = load i32, ptr %85, align 4
store i32 %1356, ptr %87, align 4
%1357 = load i32, ptr %87, align 4
%1358 = load i32, ptr %86, align 4
%1359 = icmp slt i32 %1357, %1358
br i1 %1359, label %.lr.ph203, label %1381
.lr.ph203: ; preds = %1354
br label %1360
1360: ; preds = %.lr.ph203, %1375
%1361 = load i32, ptr %87, align 4
%1362 = sext i32 %1361 to i64
%1363 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %1362
%1364 = load double, ptr %1363, align 8
%1365 = load i32, ptr %87, align 4
%1366 = sext i32 %1365 to i64
%1367 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %1366
%1368 = load double, ptr %1367, align 8
%1369 = fadd double %1364, %1368
%1370 = load i32, ptr %87, align 4
%1371 = sext i32 %1370 to i64
%1372 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1371
%1373 = load double, ptr %1372, align 8
%1374 = fadd double %1373, %1369
store double %1374, ptr %1372, align 8
br label %1375
1375: ; preds = %1360
%1376 = load i32, ptr %87, align 4
%1377 = add nsw i32 %1376, 1
store i32 %1377, ptr %87, align 4
%1378 = load i32, ptr %87, align 4
%1379 = load i32, ptr %86, align 4
%1380 = icmp slt i32 %1378, %1379
br i1 %1380, label %1360, label %._crit_edge204, !llvm.loop !75
._crit_edge204: ; preds = %1375
br label %1381
1381: ; preds = %._crit_edge204, %1354
br label %1382
1382: ; preds = %1381
%1383 = load i32, ptr %77, align 4
%1384 = load i32, ptr %85, align 4
%1385 = add nsw i32 %1384, %1383
store i32 %1385, ptr %85, align 4
%1386 = load i32, ptr %85, align 4
%1387 = icmp slt i32 %1386, 510
br i1 %1387, label %1344, label %._crit_edge207, !llvm.loop !76
._crit_edge207: ; preds = %1382
br label %1388
1388: ; preds = %._crit_edge207, %1341
br label %1389
1389: ; preds = %1388
%1390 = load i32, ptr %84, align 4
%1391 = add nsw i32 %1390, 1
store i32 %1391, ptr %84, align 4
%1392 = load i32, ptr %84, align 4
%1393 = icmp slt i32 %1392, 1
br i1 %1393, label %1341, label %._crit_edge210, !llvm.loop !77
._crit_edge210: ; preds = %1389
br label %1394
1394: ; preds = %._crit_edge210, %1337
store i32 0, ptr %88, align 4
%1395 = load i32, ptr %88, align 4
%1396 = icmp slt i32 %1395, 256
br i1 %1396, label %.lr.ph212, label %1416
.lr.ph212: ; preds = %1394
br label %1397
1397: ; preds = %.lr.ph212, %1411
%1398 = load i32, ptr %88, align 4
%1399 = sext i32 %1398 to i64
%1400 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1399
%1401 = load double, ptr %1400, align 8
%1402 = fcmp une double %1401, 1.000000e+00
br i1 %1402, label %1403, label %1410
1403: ; preds = %1397
%1404 = load i32, ptr %88, align 4
%1405 = load i32, ptr %88, align 4
%1406 = sext i32 %1405 to i64
%1407 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %1406
%1408 = load double, ptr %1407, align 8
%1409 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %1404, double noundef 5.000000e+00, double noundef %1408)
store i32 1, ptr %7, align 4
br label %1410
1410: ; preds = %1403, %1397
br label %1411
1411: ; preds = %1410
%1412 = load i32, ptr %88, align 4
%1413 = add nsw i32 %1412, 1
store i32 %1413, ptr %88, align 4
%1414 = load i32, ptr %88, align 4
%1415 = icmp slt i32 %1414, 256
br i1 %1415, label %1397, label %._crit_edge213, !llvm.loop !78
._crit_edge213: ; preds = %1411
br label %1416
1416: ; preds = %._crit_edge213, %1394
%1417 = load i32, ptr %7, align 4
%1418 = icmp ne i32 %1417, 0
br i1 %1418, label %1419, label %1421
1419: ; preds = %1416
%1420 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1423
1421: ; preds = %1416
%1422 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1423
1423: ; preds = %1421, %1419
%1424 = call ptr @malloc(i32 noundef 7872512)
store ptr %1424, ptr %89, align 8
%1425 = call ptr @malloc(i32 noundef 7872512)
store ptr %1425, ptr %90, align 8
%1426 = call ptr @malloc(i32 noundef 7872512)
store ptr %1426, ptr %91, align 8
store i32 0, ptr %92, align 4
%1427 = load i32, ptr %92, align 4
%1428 = icmp slt i32 %1427, 992
br i1 %1428, label %.lr.ph218, label %1465
.lr.ph218: ; preds = %1423
br label %1429
1429: ; preds = %.lr.ph218, %1460
store i32 0, ptr %93, align 4
%1430 = load i32, ptr %93, align 4
%1431 = icmp slt i32 %1430, 992
br i1 %1431, label %.lr.ph215, label %1459
.lr.ph215: ; preds = %1429
br label %1432
1432: ; preds = %.lr.ph215, %1454
%1433 = load ptr, ptr %89, align 8
%1434 = load i32, ptr %92, align 4
%1435 = mul nsw i32 %1434, 992
%1436 = load i32, ptr %93, align 4
%1437 = add nsw i32 %1435, %1436
%1438 = sext i32 %1437 to i64
%1439 = getelementptr inbounds double, ptr %1433, i64 %1438
store double 0.000000e+00, ptr %1439, align 8
%1440 = load ptr, ptr %90, align 8
%1441 = load i32, ptr %92, align 4
%1442 = mul nsw i32 %1441, 992
%1443 = load i32, ptr %93, align 4
%1444 = add nsw i32 %1442, %1443
%1445 = sext i32 %1444 to i64
%1446 = getelementptr inbounds double, ptr %1440, i64 %1445
store double 1.000000e+00, ptr %1446, align 8
%1447 = load ptr, ptr %91, align 8
%1448 = load i32, ptr %92, align 4
%1449 = mul nsw i32 %1448, 992
%1450 = load i32, ptr %93, align 4
%1451 = add nsw i32 %1449, %1450
%1452 = sext i32 %1451 to i64
%1453 = getelementptr inbounds double, ptr %1447, i64 %1452
store double 2.000000e+00, ptr %1453, align 8
br label %1454
1454: ; preds = %1432
%1455 = load i32, ptr %93, align 4
%1456 = add nsw i32 %1455, 1
store i32 %1456, ptr %93, align 4
%1457 = load i32, ptr %93, align 4
%1458 = icmp slt i32 %1457, 992
br i1 %1458, label %1432, label %._crit_edge216, !llvm.loop !79
._crit_edge216: ; preds = %1454
br label %1459
1459: ; preds = %._crit_edge216, %1429
br label %1460
1460: ; preds = %1459
%1461 = load i32, ptr %92, align 4
%1462 = add nsw i32 %1461, 1
store i32 %1462, ptr %92, align 4
%1463 = load i32, ptr %92, align 4
%1464 = icmp slt i32 %1463, 992
br i1 %1464, label %1429, label %._crit_edge219, !llvm.loop !80
._crit_edge219: ; preds = %1460
br label %1465
1465: ; preds = %._crit_edge219, %1423
store i32 0, ptr %94, align 4
%1466 = load i32, ptr %94, align 4
%1467 = icmp slt i32 %1466, 1
br i1 %1467, label %.lr.ph227, label %1518
.lr.ph227: ; preds = %1465
br label %1468
1468: ; preds = %.lr.ph227, %1513
store i32 0, ptr %95, align 4
%1469 = load i32, ptr %95, align 4
%1470 = icmp slt i32 %1469, 992
br i1 %1470, label %.lr.ph224, label %1512
.lr.ph224: ; preds = %1468
br label %1471
1471: ; preds = %.lr.ph224, %1507
store i32 0, ptr %96, align 4
%1472 = load i32, ptr %96, align 4
%1473 = icmp slt i32 %1472, 992
br i1 %1473, label %.lr.ph221, label %1506
.lr.ph221: ; preds = %1471
br label %1474
1474: ; preds = %.lr.ph221, %1501
%1475 = load ptr, ptr %90, align 8
%1476 = load i32, ptr %95, align 4
%1477 = mul nsw i32 %1476, 992
%1478 = load i32, ptr %96, align 4
%1479 = add nsw i32 %1477, %1478
%1480 = sext i32 %1479 to i64
%1481 = getelementptr inbounds double, ptr %1475, i64 %1480
%1482 = load double, ptr %1481, align 8
%1483 = load ptr, ptr %91, align 8
%1484 = load i32, ptr %95, align 4
%1485 = mul nsw i32 %1484, 992
%1486 = load i32, ptr %96, align 4
%1487 = add nsw i32 %1485, %1486
%1488 = sext i32 %1487 to i64
%1489 = getelementptr inbounds double, ptr %1483, i64 %1488
%1490 = load double, ptr %1489, align 8
%1491 = fadd double %1482, %1490
%1492 = load ptr, ptr %89, align 8
%1493 = load i32, ptr %95, align 4
%1494 = mul nsw i32 %1493, 992
%1495 = load i32, ptr %96, align 4
%1496 = add nsw i32 %1494, %1495
%1497 = sext i32 %1496 to i64
%1498 = getelementptr inbounds double, ptr %1492, i64 %1497
%1499 = load double, ptr %1498, align 8
%1500 = fadd double %1499, %1491
store double %1500, ptr %1498, align 8
br label %1501
1501: ; preds = %1474
%1502 = load i32, ptr %96, align 4
%1503 = add nsw i32 %1502, 1
store i32 %1503, ptr %96, align 4
%1504 = load i32, ptr %96, align 4
%1505 = icmp slt i32 %1504, 992
br i1 %1505, label %1474, label %._crit_edge222, !llvm.loop !81
._crit_edge222: ; preds = %1501
br label %1506
1506: ; preds = %._crit_edge222, %1471
br label %1507
1507: ; preds = %1506
%1508 = load i32, ptr %95, align 4
%1509 = add nsw i32 %1508, 1
store i32 %1509, ptr %95, align 4
%1510 = load i32, ptr %95, align 4
%1511 = icmp slt i32 %1510, 992
br i1 %1511, label %1471, label %._crit_edge225, !llvm.loop !82
._crit_edge225: ; preds = %1507
br label %1512
1512: ; preds = %._crit_edge225, %1468
br label %1513
1513: ; preds = %1512
%1514 = load i32, ptr %94, align 4
%1515 = add nsw i32 %1514, 1
store i32 %1515, ptr %94, align 4
%1516 = load i32, ptr %94, align 4
%1517 = icmp slt i32 %1516, 1
br i1 %1517, label %1468, label %._crit_edge228, !llvm.loop !83
._crit_edge228: ; preds = %1513
br label %1518
1518: ; preds = %._crit_edge228, %1465
store i32 0, ptr %97, align 4
%1519 = load i32, ptr %97, align 4
%1520 = icmp slt i32 %1519, 992
br i1 %1520, label %.lr.ph233, label %1558
.lr.ph233: ; preds = %1518
br label %1521
1521: ; preds = %.lr.ph233, %1553
store i32 0, ptr %98, align 4
%1522 = load i32, ptr %98, align 4
%1523 = icmp slt i32 %1522, 992
br i1 %1523, label %.lr.ph230, label %1552
.lr.ph230: ; preds = %1521
br label %1524
1524: ; preds = %.lr.ph230, %1547
%1525 = load ptr, ptr %89, align 8
%1526 = load i32, ptr %97, align 4
%1527 = mul nsw i32 %1526, 992
%1528 = load i32, ptr %98, align 4
%1529 = add nsw i32 %1527, %1528
%1530 = sext i32 %1529 to i64
%1531 = getelementptr inbounds double, ptr %1525, i64 %1530
%1532 = load double, ptr %1531, align 8
%1533 = fcmp une double %1532, 3.000000e+00
br i1 %1533, label %1534, label %1546
1534: ; preds = %1524
%1535 = load i32, ptr %97, align 4
%1536 = load i32, ptr %98, align 4
%1537 = load ptr, ptr %89, align 8
%1538 = load i32, ptr %97, align 4
%1539 = mul nsw i32 %1538, 992
%1540 = load i32, ptr %98, align 4
%1541 = add nsw i32 %1539, %1540
%1542 = sext i32 %1541 to i64
%1543 = getelementptr inbounds double, ptr %1537, i64 %1542
%1544 = load double, ptr %1543, align 8
%1545 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %1535, i32 noundef %1536, double noundef 3.000000e+00, double noundef %1544)
store i32 1, ptr %7, align 4
br label %1546
1546: ; preds = %1534, %1524
br label %1547
1547: ; preds = %1546
%1548 = load i32, ptr %98, align 4
%1549 = add nsw i32 %1548, 1
store i32 %1549, ptr %98, align 4
%1550 = load i32, ptr %98, align 4
%1551 = icmp slt i32 %1550, 992
br i1 %1551, label %1524, label %._crit_edge231, !llvm.loop !84
._crit_edge231: ; preds = %1547
br label %1552
1552: ; preds = %._crit_edge231, %1521
br label %1553
1553: ; preds = %1552
%1554 = load i32, ptr %97, align 4
%1555 = add nsw i32 %1554, 1
store i32 %1555, ptr %97, align 4
%1556 = load i32, ptr %97, align 4
%1557 = icmp slt i32 %1556, 992
br i1 %1557, label %1521, label %._crit_edge234, !llvm.loop !85
._crit_edge234: ; preds = %1553
br label %1558
1558: ; preds = %._crit_edge234, %1518
%1559 = load i32, ptr %7, align 4
%1560 = icmp ne i32 %1559, 0
br i1 %1560, label %1561, label %1563
1561: ; preds = %1558
%1562 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1565
1563: ; preds = %1558
%1564 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1565
1565: ; preds = %1563, %1561
store i32 124, ptr %99, align 4
%1566 = load i32, ptr %99, align 4
%1567 = load i32, ptr %99, align 4
%1568 = mul nsw i32 %1566, %1567
%1569 = load i32, ptr %99, align 4
%1570 = mul nsw i32 %1568, %1569
%1571 = sext i32 %1570 to i64
%1572 = mul i64 %1571, 8
%1573 = trunc i64 %1572 to i32
%1574 = call ptr @malloc(i32 noundef %1573)
store ptr %1574, ptr %100, align 8
%1575 = load i32, ptr %99, align 4
%1576 = load i32, ptr %99, align 4
%1577 = mul nsw i32 %1575, %1576
%1578 = load i32, ptr %99, align 4
%1579 = mul nsw i32 %1577, %1578
%1580 = sext i32 %1579 to i64
%1581 = mul i64 %1580, 8
%1582 = trunc i64 %1581 to i32
%1583 = call ptr @malloc(i32 noundef %1582)
store ptr %1583, ptr %101, align 8
store i32 0, ptr %102, align 4
%1584 = load i32, ptr %102, align 4
%1585 = load i32, ptr %99, align 4
%1586 = icmp slt i32 %1584, %1585
br i1 %1586, label %.lr.ph242, label %1644
.lr.ph242: ; preds = %1565
br label %1587
1587: ; preds = %.lr.ph242, %1638
store i32 0, ptr %103, align 4
%1588 = load i32, ptr %103, align 4
%1589 = load i32, ptr %99, align 4
%1590 = icmp slt i32 %1588, %1589
br i1 %1590, label %.lr.ph239, label %1637
.lr.ph239: ; preds = %1587
br label %1591
1591: ; preds = %.lr.ph239, %1631
store i32 0, ptr %104, align 4
%1592 = load i32, ptr %104, align 4
%1593 = load i32, ptr %99, align 4
%1594 = icmp slt i32 %1592, %1593
br i1 %1594, label %.lr.ph236, label %1630
.lr.ph236: ; preds = %1591
br label %1595
1595: ; preds = %.lr.ph236, %1624
%1596 = load ptr, ptr %100, align 8
%1597 = load i32, ptr %102, align 4
%1598 = load i32, ptr %99, align 4
%1599 = mul nsw i32 %1597, %1598
%1600 = load i32, ptr %99, align 4
%1601 = mul nsw i32 %1599, %1600
%1602 = load i32, ptr %103, align 4
%1603 = load i32, ptr %99, align 4
%1604 = mul nsw i32 %1602, %1603
%1605 = add nsw i32 %1601, %1604
%1606 = load i32, ptr %104, align 4
%1607 = add nsw i32 %1605, %1606
%1608 = sext i32 %1607 to i64
%1609 = getelementptr inbounds double, ptr %1596, i64 %1608
store double 2.000000e+00, ptr %1609, align 8
%1610 = load ptr, ptr %101, align 8
%1611 = load i32, ptr %102, align 4
%1612 = load i32, ptr %99, align 4
%1613 = mul nsw i32 %1611, %1612
%1614 = load i32, ptr %99, align 4
%1615 = mul nsw i32 %1613, %1614
%1616 = load i32, ptr %103, align 4
%1617 = load i32, ptr %99, align 4
%1618 = mul nsw i32 %1616, %1617
%1619 = add nsw i32 %1615, %1618
%1620 = load i32, ptr %104, align 4
%1621 = add nsw i32 %1619, %1620
%1622 = sext i32 %1621 to i64
%1623 = getelementptr inbounds double, ptr %1610, i64 %1622
store double 3.000000e+00, ptr %1623, align 8
br label %1624
1624: ; preds = %1595
%1625 = load i32, ptr %104, align 4
%1626 = add nsw i32 %1625, 1
store i32 %1626, ptr %104, align 4
%1627 = load i32, ptr %104, align 4
%1628 = load i32, ptr %99, align 4
%1629 = icmp slt i32 %1627, %1628
br i1 %1629, label %1595, label %._crit_edge237, !llvm.loop !86
._crit_edge237: ; preds = %1624
br label %1630
1630: ; preds = %._crit_edge237, %1591
br label %1631
1631: ; preds = %1630
%1632 = load i32, ptr %103, align 4
%1633 = add nsw i32 %1632, 1
store i32 %1633, ptr %103, align 4
%1634 = load i32, ptr %103, align 4
%1635 = load i32, ptr %99, align 4
%1636 = icmp slt i32 %1634, %1635
br i1 %1636, label %1591, label %._crit_edge240, !llvm.loop !87
._crit_edge240: ; preds = %1631
br label %1637
1637: ; preds = %._crit_edge240, %1587
br label %1638
1638: ; preds = %1637
%1639 = load i32, ptr %102, align 4
%1640 = add nsw i32 %1639, 1
store i32 %1640, ptr %102, align 4
%1641 = load i32, ptr %102, align 4
%1642 = load i32, ptr %99, align 4
%1643 = icmp slt i32 %1641, %1642
br i1 %1643, label %1587, label %._crit_edge243, !llvm.loop !88
._crit_edge243: ; preds = %1638
br label %1644
1644: ; preds = %._crit_edge243, %1565
store i32 0, ptr %105, align 4
%1645 = load i32, ptr %105, align 4
%1646 = icmp slt i32 %1645, 1
br i1 %1646, label %.lr.ph254, label %1717
.lr.ph254: ; preds = %1644
br label %1647
1647: ; preds = %.lr.ph254, %1712
store i32 0, ptr %106, align 4
%1648 = load i32, ptr %106, align 4
%1649 = load i32, ptr %99, align 4
%1650 = icmp slt i32 %1648, %1649
br i1 %1650, label %.lr.ph251, label %1711
.lr.ph251: ; preds = %1647
br label %1651
1651: ; preds = %.lr.ph251, %1705
store i32 0, ptr %107, align 4
%1652 = load i32, ptr %107, align 4
%1653 = load i32, ptr %99, align 4
%1654 = icmp slt i32 %1652, %1653
br i1 %1654, label %.lr.ph248, label %1704
.lr.ph248: ; preds = %1651
br label %1655
1655: ; preds = %.lr.ph248, %1698
store i32 0, ptr %108, align 4
%1656 = load i32, ptr %108, align 4
%1657 = load i32, ptr %99, align 4
%1658 = icmp slt i32 %1656, %1657
br i1 %1658, label %.lr.ph245, label %1697
.lr.ph245: ; preds = %1655
br label %1659
1659: ; preds = %.lr.ph245, %1691
%1660 = load ptr, ptr %101, align 8
%1661 = load i32, ptr %106, align 4
%1662 = load i32, ptr %99, align 4
%1663 = mul nsw i32 %1661, %1662
%1664 = load i32, ptr %99, align 4
%1665 = mul nsw i32 %1663, %1664
%1666 = load i32, ptr %107, align 4
%1667 = load i32, ptr %99, align 4
%1668 = mul nsw i32 %1666, %1667
%1669 = add nsw i32 %1665, %1668
%1670 = load i32, ptr %108, align 4
%1671 = add nsw i32 %1669, %1670
%1672 = sext i32 %1671 to i64
%1673 = getelementptr inbounds double, ptr %1660, i64 %1672
%1674 = load double, ptr %1673, align 8
%1675 = load ptr, ptr %100, align 8
%1676 = load i32, ptr %106, align 4
%1677 = load i32, ptr %99, align 4
%1678 = mul nsw i32 %1676, %1677
%1679 = load i32, ptr %99, align 4
%1680 = mul nsw i32 %1678, %1679
%1681 = load i32, ptr %107, align 4
%1682 = load i32, ptr %99, align 4
%1683 = mul nsw i32 %1681, %1682
%1684 = add nsw i32 %1680, %1683
%1685 = load i32, ptr %108, align 4
%1686 = add nsw i32 %1684, %1685
%1687 = sext i32 %1686 to i64
%1688 = getelementptr inbounds double, ptr %1675, i64 %1687
%1689 = load double, ptr %1688, align 8
%1690 = fadd double %1689, %1674
store double %1690, ptr %1688, align 8
br label %1691
1691: ; preds = %1659
%1692 = load i32, ptr %108, align 4
%1693 = add nsw i32 %1692, 1
store i32 %1693, ptr %108, align 4
%1694 = load i32, ptr %108, align 4
%1695 = load i32, ptr %99, align 4
%1696 = icmp slt i32 %1694, %1695
br i1 %1696, label %1659, label %._crit_edge246, !llvm.loop !89
._crit_edge246: ; preds = %1691
br label %1697
1697: ; preds = %._crit_edge246, %1655
br label %1698
1698: ; preds = %1697
%1699 = load i32, ptr %107, align 4
%1700 = add nsw i32 %1699, 1
store i32 %1700, ptr %107, align 4
%1701 = load i32, ptr %107, align 4
%1702 = load i32, ptr %99, align 4
%1703 = icmp slt i32 %1701, %1702
br i1 %1703, label %1655, label %._crit_edge249, !llvm.loop !90
._crit_edge249: ; preds = %1698
br label %1704
1704: ; preds = %._crit_edge249, %1651
br label %1705
1705: ; preds = %1704
%1706 = load i32, ptr %106, align 4
%1707 = add nsw i32 %1706, 1
store i32 %1707, ptr %106, align 4
%1708 = load i32, ptr %106, align 4
%1709 = load i32, ptr %99, align 4
%1710 = icmp slt i32 %1708, %1709
br i1 %1710, label %1651, label %._crit_edge252, !llvm.loop !91
._crit_edge252: ; preds = %1705
br label %1711
1711: ; preds = %._crit_edge252, %1647
br label %1712
1712: ; preds = %1711
%1713 = load i32, ptr %105, align 4
%1714 = add nsw i32 %1713, 1
store i32 %1714, ptr %105, align 4
%1715 = load i32, ptr %105, align 4
%1716 = icmp slt i32 %1715, 1
br i1 %1716, label %1647, label %._crit_edge255, !llvm.loop !92
._crit_edge255: ; preds = %1712
br label %1717
1717: ; preds = %._crit_edge255, %1644
store i32 0, ptr %109, align 4
%1718 = load i32, ptr %109, align 4
%1719 = load i32, ptr %99, align 4
%1720 = icmp slt i32 %1718, %1719
br i1 %1720, label %.lr.ph263, label %1786
.lr.ph263: ; preds = %1717
br label %1721
1721: ; preds = %.lr.ph263, %1780
store i32 0, ptr %110, align 4
%1722 = load i32, ptr %110, align 4
%1723 = load i32, ptr %99, align 4
%1724 = icmp slt i32 %1722, %1723
br i1 %1724, label %.lr.ph260, label %1779
.lr.ph260: ; preds = %1721
br label %1725
1725: ; preds = %.lr.ph260, %1773
store i32 0, ptr %111, align 4
%1726 = load i32, ptr %111, align 4
%1727 = load i32, ptr %99, align 4
%1728 = icmp slt i32 %1726, %1727
br i1 %1728, label %.lr.ph257, label %1772
.lr.ph257: ; preds = %1725
br label %1729
1729: ; preds = %.lr.ph257, %1766
%1730 = load ptr, ptr %100, align 8
%1731 = load i32, ptr %109, align 4
%1732 = load i32, ptr %99, align 4
%1733 = mul nsw i32 %1731, %1732
%1734 = load i32, ptr %99, align 4
%1735 = mul nsw i32 %1733, %1734
%1736 = load i32, ptr %110, align 4
%1737 = load i32, ptr %99, align 4
%1738 = mul nsw i32 %1736, %1737
%1739 = add nsw i32 %1735, %1738
%1740 = load i32, ptr %111, align 4
%1741 = add nsw i32 %1739, %1740
%1742 = sext i32 %1741 to i64
%1743 = getelementptr inbounds double, ptr %1730, i64 %1742
%1744 = load double, ptr %1743, align 8
%1745 = fcmp une double %1744, 5.000000e+00
br i1 %1745, label %1746, label %1765
1746: ; preds = %1729
%1747 = load i32, ptr %109, align 4
%1748 = load i32, ptr %110, align 4
%1749 = load ptr, ptr %100, align 8
%1750 = load i32, ptr %109, align 4
%1751 = load i32, ptr %99, align 4
%1752 = mul nsw i32 %1750, %1751
%1753 = load i32, ptr %99, align 4
%1754 = mul nsw i32 %1752, %1753
%1755 = load i32, ptr %110, align 4
%1756 = load i32, ptr %99, align 4
%1757 = mul nsw i32 %1755, %1756
%1758 = add nsw i32 %1754, %1757
%1759 = load i32, ptr %111, align 4
%1760 = add nsw i32 %1758, %1759
%1761 = sext i32 %1760 to i64
%1762 = getelementptr inbounds double, ptr %1749, i64 %1761
%1763 = load double, ptr %1762, align 8
%1764 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %1747, i32 noundef %1748, double noundef 3.000000e+00, double noundef %1763)
store i32 1, ptr %7, align 4
br label %1765
1765: ; preds = %1746, %1729
br label %1766
1766: ; preds = %1765
%1767 = load i32, ptr %111, align 4
%1768 = add nsw i32 %1767, 1
store i32 %1768, ptr %111, align 4
%1769 = load i32, ptr %111, align 4
%1770 = load i32, ptr %99, align 4
%1771 = icmp slt i32 %1769, %1770
br i1 %1771, label %1729, label %._crit_edge258, !llvm.loop !93
._crit_edge258: ; preds = %1766
br label %1772
1772: ; preds = %._crit_edge258, %1725
br label %1773
1773: ; preds = %1772
%1774 = load i32, ptr %110, align 4
%1775 = add nsw i32 %1774, 1
store i32 %1775, ptr %110, align 4
%1776 = load i32, ptr %110, align 4
%1777 = load i32, ptr %99, align 4
%1778 = icmp slt i32 %1776, %1777
br i1 %1778, label %1725, label %._crit_edge261, !llvm.loop !94
._crit_edge261: ; preds = %1773
br label %1779
1779: ; preds = %._crit_edge261, %1721
br label %1780
1780: ; preds = %1779
%1781 = load i32, ptr %109, align 4
%1782 = add nsw i32 %1781, 1
store i32 %1782, ptr %109, align 4
%1783 = load i32, ptr %109, align 4
%1784 = load i32, ptr %99, align 4
%1785 = icmp slt i32 %1783, %1784
br i1 %1785, label %1721, label %._crit_edge264, !llvm.loop !95
._crit_edge264: ; preds = %1780
br label %1786
1786: ; preds = %._crit_edge264, %1717
%1787 = load i32, ptr %7, align 4
%1788 = icmp ne i32 %1787, 0
br i1 %1788, label %1789, label %1791
1789: ; preds = %1786
%1790 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %1793
1791: ; preds = %1786
%1792 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %1793
1793: ; preds = %1791, %1789
ret i32 0
}
declare i32 @check_offloading(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @omp_get_num_teams(...) #1
declare i32 @omp_get_team_num(...) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
!43 = distinct !{!43, !7}
!44 = distinct !{!44, !7}
!45 = distinct !{!45, !7}
!46 = distinct !{!46, !7}
!47 = distinct !{!47, !7}
!48 = distinct !{!48, !7}
!49 = distinct !{!49, !7}
!50 = distinct !{!50, !7}
!51 = distinct !{!51, !7}
!52 = distinct !{!52, !7}
!53 = distinct !{!53, !7}
!54 = distinct !{!54, !7}
!55 = distinct !{!55, !7}
!56 = distinct !{!56, !7}
!57 = distinct !{!57, !7}
!58 = distinct !{!58, !7}
!59 = distinct !{!59, !7}
!60 = distinct !{!60, !7}
!61 = distinct !{!61, !7}
!62 = distinct !{!62, !7}
!63 = distinct !{!63, !7}
!64 = distinct !{!64, !7}
!65 = distinct !{!65, !7}
!66 = distinct !{!66, !7}
!67 = distinct !{!67, !7}
!68 = distinct !{!68, !7}
!69 = distinct !{!69, !7}
!70 = distinct !{!70, !7}
!71 = distinct !{!71, !7}
!72 = distinct !{!72, !7}
!73 = distinct !{!73, !7}
!74 = distinct !{!74, !7}
!75 = distinct !{!75, !7}
!76 = distinct !{!76, !7}
!77 = distinct !{!77, !7}
!78 = distinct !{!78, !7}
!79 = distinct !{!79, !7}
!80 = distinct !{!80, !7}
!81 = distinct !{!81, !7}
!82 = distinct !{!82, !7}
!83 = distinct !{!83, !7}
!84 = distinct !{!84, !7}
!85 = distinct !{!85, !7}
!86 = distinct !{!86, !7}
!87 = distinct !{!87, !7}
!88 = distinct !{!88, !7}
!89 = distinct !{!89, !7}
!90 = distinct !{!90, !7}
!91 = distinct !{!91, !7}
!92 = distinct !{!92, !7}
!93 = distinct !{!93, !7}
!94 = distinct !{!94, !7}
!95 = distinct !{!95, !7}
|
; ModuleID = '/tmp/tmpkkg6ovyg.c'
source_filename = "/tmp/tmpkkg6ovyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cusy\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"imelfbpuoawkrq\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"roxckjm\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"vkaxcbespwotzq\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"jrnhyslwbifteqox\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"fnisjhckr\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"ubvpwtzxh\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"sgxkqdlw\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"hzsngeotfxbcm\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"zhrextvndpcmbql\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"bdfxez\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"rzgnbf\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"hbw\00", align 1
@.str.14 = private unnamed_addr constant [18 x i8] c"cohurlnjqpefzayig\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"xoqgyjsm\00", align 1
@__const.main.arr = private unnamed_addr constant [16 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15], align 16
@.str.16 = private unnamed_addr constant [8 x i8] c"max %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x ptr], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 128, i1 false)
%5 = getelementptr inbounds [16 x ptr], ptr %2, i64 0, i64 0
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @maxLength(ptr noundef %6, i32 noundef 16)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str.16, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @maxLength(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkkg6ovyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cusy\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"imelfbpuoawkrq\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"roxckjm\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"vkaxcbespwotzq\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"jrnhyslwbifteqox\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"fnisjhckr\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"ubvpwtzxh\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"sgxkqdlw\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"hzsngeotfxbcm\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"zhrextvndpcmbql\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"bdfxez\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"rzgnbf\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"hbw\00", align 1
@.str.14 = private unnamed_addr constant [18 x i8] c"cohurlnjqpefzayig\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"xoqgyjsm\00", align 1
@__const.main.arr = private unnamed_addr constant [16 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15], align 16
@.str.16 = private unnamed_addr constant [8 x i8] c"max %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x ptr], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 128, i1 false)
%5 = getelementptr inbounds [16 x ptr], ptr %2, i64 0, i64 0
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @maxLength(ptr noundef %6, i32 noundef 16)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str.16, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @maxLength(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxzohfn8k.c'
source_filename = "/tmp/tmpxzohfn8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ctime is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @time(ptr noundef null)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxzohfn8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ctime is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @time(ptr noundef null)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuvprq50s.c'
source_filename = "/tmp/tmpuvprq50s.c"
target datalayout = "e-m:e-p270: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/tmpuvprq50s.c"
target datalayout = "e-m:e-p270: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/tmpy28pnldw.c'
source_filename = "/tmp/tmpy28pnldw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b_debug_32(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @b_show_tape(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @b_show_tape(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/tmpy28pnldw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b_debug_32(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @b_show_tape(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @b_show_tape(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/tmp350etuba.c'
source_filename = "/tmp/tmp350etuba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\%3o\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @carefulputc(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 7
br i1 %7, label %32, label %8
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 9
br i1 %10, label %32, label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 13
br i1 %13, label %32, label %14
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, 10
br i1 %16, label %32, label %17
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = and i32 %18, 127
%20 = icmp slt i32 %19, 32
br i1 %20, label %36, label %21
21: ; preds = %17
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, 127
br i1 %23, label %36, label %24
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = call i64 @isprint(i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i32, ptr %3, align 4
%30 = call i64 @isspace(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %28, %24, %14, %11, %8, %2
%33 = load i32, ptr %3, align 4
%34 = load ptr, ptr %4, align 8
%35 = call i32 @putc(i32 noundef %33, ptr noundef %34)
store i32 %35, ptr %5, align 4
br label %63
36: ; preds = %28, %21, %17
%37 = load i32, ptr %3, align 4
%38 = and i32 %37, 128
%39 = icmp ne i32 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %36
%41 = load i32, ptr %3, align 4
%42 = xor i32 %41, 64
%43 = call i64 @isprint(i32 noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %40, %36
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %3, align 4
%48 = trunc i32 %47 to i8
%49 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str, i8 noundef zeroext %48)
store i32 %49, ptr %5, align 4
br label %62
50: ; preds = %40
%51 = load ptr, ptr %4, align 8
%52 = call i32 @putc(i32 noundef 94, ptr noundef %51)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr @EOF, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %56, label %61
56: ; preds = %50
%57 = load i32, ptr %3, align 4
%58 = xor i32 %57, 64
%59 = load ptr, ptr %4, align 8
%60 = call i32 @putc(i32 noundef %58, ptr noundef %59)
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %56, %50
br label %62
62: ; preds = %61, %45
br label %63
63: ; preds = %62, %32
%64 = load i32, ptr %5, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = load i32, ptr @EOF, align 4
br label %69
68: ; preds = %63
br label %69
69: ; preds = %68, %66
%70 = phi i32 [ %67, %66 ], [ 0, %68 ]
ret i32 %70
}
declare i64 @isprint(i32 noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @putc(i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp350etuba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\%3o\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @carefulputc(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, 7
br i1 %7, label %32, label %8
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 9
br i1 %10, label %32, label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 13
br i1 %13, label %32, label %14
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, 10
br i1 %16, label %32, label %17
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = and i32 %18, 127
%20 = icmp slt i32 %19, 32
br i1 %20, label %36, label %21
21: ; preds = %17
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, 127
br i1 %23, label %36, label %24
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = call i64 @isprint(i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i32, ptr %3, align 4
%30 = call i64 @isspace(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %28, %24, %14, %11, %8, %2
%33 = load i32, ptr %3, align 4
%34 = load ptr, ptr %4, align 8
%35 = call i32 @putc(i32 noundef %33, ptr noundef %34)
store i32 %35, ptr %5, align 4
br label %63
36: ; preds = %28, %21, %17
%37 = load i32, ptr %3, align 4
%38 = and i32 %37, 128
%39 = icmp ne i32 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %36
%41 = load i32, ptr %3, align 4
%42 = xor i32 %41, 64
%43 = call i64 @isprint(i32 noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %40, %36
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %3, align 4
%48 = trunc i32 %47 to i8
%49 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str, i8 noundef zeroext %48)
store i32 %49, ptr %5, align 4
br label %62
50: ; preds = %40
%51 = load ptr, ptr %4, align 8
%52 = call i32 @putc(i32 noundef 94, ptr noundef %51)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr @EOF, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %56, label %61
56: ; preds = %50
%57 = load i32, ptr %3, align 4
%58 = xor i32 %57, 64
%59 = load ptr, ptr %4, align 8
%60 = call i32 @putc(i32 noundef %58, ptr noundef %59)
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %56, %50
br label %62
62: ; preds = %61, %45
br label %63
63: ; preds = %62, %32
%64 = load i32, ptr %5, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = load i32, ptr @EOF, align 4
br label %69
68: ; preds = %63
br label %69
69: ; preds = %68, %66
%70 = phi i32 [ %67, %66 ], [ 0, %68 ]
ret i32 %70
}
declare i64 @isprint(i32 noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @putc(i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprpbu3n7z.c'
source_filename = "/tmp/tmprpbu3n7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"none\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ofl_buffer_print(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 i32, ptr %4, align 4
switch i32 %5, label %9 [
i32 -1, label %6
]
6: ; preds = %2
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str)
br label %13
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11)
br label %13
13: ; preds = %9, %6
ret void
}
declare i32 @fprintf(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/tmprpbu3n7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"none\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ofl_buffer_print(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 i32, ptr %4, align 4
switch i32 %5, label %9 [
i32 -1, label %6
]
6: ; preds = %2
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str)
br label %13
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11)
br label %13
13: ; preds = %9, %6
ret void
}
declare i32 @fprintf(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/tmp960a_749.c'
source_filename = "/tmp/tmp960a_749.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @s_gets(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %7, i32 noundef %8, i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %56
13: ; preds = %2
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %32, %13
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %30
22: ; preds = %14
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %22, %14
%31 = phi i1 [ false, %14 ], [ %29, %22 ]
br i1 %31, label %32, label %35
32: ; preds = %30
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %14, !llvm.loop !6
35: ; preds = %30
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
br label %55
48: ; preds = %35
br label %49
49: ; preds = %53, %48
%50 = call signext i8 (...) @getchar()
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 10
br i1 %52, label %53, label %54
53: ; preds = %49
br label %49, !llvm.loop !8
54: ; preds = %49
br label %55
55: ; preds = %54, %43
br label %56
56: ; preds = %55, %2
%57 = load ptr, ptr %5, align 8
ret ptr %57
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp960a_749.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @s_gets(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %7, i32 noundef %8, i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %55
13: ; preds = %2
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %32, %13
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %30
22: ; preds = %14
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %22, %14
%31 = phi i1 [ false, %14 ], [ %29, %22 ]
br i1 %31, label %32, label %35
32: ; preds = %30
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %14, !llvm.loop !6
35: ; preds = %30
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
br label %54
48: ; preds = %35
br label %49
49: ; preds = %49, %48
%50 = call signext i8 (...) @getchar()
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 10
br i1 %52, label %49, label %53, !llvm.loop !8
53: ; preds = %49
br label %54
54: ; preds = %53, %43
br label %55
55: ; preds = %54, %2
%56 = load ptr, ptr %5, align 8
ret ptr %56
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmkczg7be.c'
source_filename = "/tmp/tmpmkczg7be.c"
target datalayout = "e-m:e-p270: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/tmpmkczg7be.c"
target datalayout = "e-m:e-p270: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/tmp28700e2j.c'
source_filename = "/tmp/tmp28700e2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call ptr @malloc(i32 noundef 10)
store ptr %4, ptr %2, align 8
%5 = call ptr @malloc(i32 noundef 10)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare ptr @malloc(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/tmp28700e2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call ptr @malloc(i32 noundef 10)
store ptr %4, ptr %2, align 8
%5 = call ptr @malloc(i32 noundef 10)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare ptr @malloc(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/tmpgtr0yj1m.c'
source_filename = "/tmp/tmpgtr0yj1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PC Tools\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 (...) @initscr()
%3 = call i32 @printw(ptr noundef @.str)
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @getch()
%6 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @printw(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgtr0yj1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PC Tools\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 (...) @initscr()
%3 = call i32 @printw(ptr noundef @.str)
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @getch()
%6 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @printw(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyu7n_vuf.c'
source_filename = "/tmp/tmpyu7n_vuf.c"
target datalayout = "e-m:e-p270: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/tmpyu7n_vuf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.