llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpx7lybet3.c'
source_filename = "/tmp/tmpx7lybet3.c"
target datalayout = "e-m:e-p270: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/tmpx7lybet3.c"
target datalayout = "e-m:e-p270: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/tmpnes96fvm.c'
source_filename = "/tmp/tmpnes96fvm.c"
target datalayout = "e-m:e-p270: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/tmpnes96fvm.c"
target datalayout = "e-m:e-p270: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/tmpawi6hek8.c'
source_filename = "/tmp/tmpawi6hek8.c"
target datalayout = "e-m:e-p270: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/tmpawi6hek8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_slmbunv.c'
source_filename = "/tmp/tmp_slmbunv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_slmbunv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdlale07p.c'
source_filename = "/tmp/tmpdlale07p.c"
target datalayout = "e-m:e-p270: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/tmpdlale07p.c"
target datalayout = "e-m:e-p270: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/tmpmpmwr5e6.c'
source_filename = "/tmp/tmpmpmwr5e6.c"
target datalayout = "e-m:e-p270: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/tmpmpmwr5e6.c"
target datalayout = "e-m:e-p270: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/tmp1lhhblt8.c'
source_filename = "/tmp/tmp1lhhblt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"ERROR: out of memory in file_read_random\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [56 x i8] c"ERROR: unable to open /dev/urandom in file_read_random\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"testfile_1\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [65 x i8] c"ERROR: unable to open test file for writing in file_read_random\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"file_read_random: %d blocks of %d bytes\00", align 1
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [65 x i8] c"ERROR: unable to open test file for reading in file_read_random\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_read_random(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.timespec, align 4
%5 = alloca %struct.timespec, align 4
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca [500 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 1, ptr %7, align 4
%16 = load i32, ptr %3, align 4
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %23, label %20
20: ; preds = %1
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %142
23: ; preds = %1
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.1, i32 noundef %24)
store i32 %25, ptr %13, align 4
%26 = load i32, ptr %13, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %142
31: ; preds = %23
%32 = load i32, ptr %13, align 4
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %3, align 4
%35 = call i32 @read(i32 noundef %32, ptr noundef %33, i32 noundef %34)
%36 = load i32, ptr %13, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = load i32, ptr @O_CREAT, align 4
%39 = load i32, ptr @O_WRONLY, align 4
%40 = or i32 %38, %39
%41 = load i32, ptr @O_TRUNC, align 4
%42 = or i32 %40, %41
%43 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.3, i32 noundef %42, i32 noundef 420)
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %31
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.4)
store i32 1, ptr %2, align 4
br label %142
49: ; preds = %31
%50 = load i32, ptr %13, align 4
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %3, align 4
%53 = call i32 @write(i32 noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load i32, ptr %13, align 4
%55 = call i32 @fsync(i32 noundef %54)
%56 = load i32, ptr %13, align 4
%57 = call i32 @close(i32 noundef %56)
br label %58
58: ; preds = %61, %49
%59 = load i32, ptr %3, align 4
%60 = icmp uge i32 %59, 10000
br i1 %60, label %61, label %66
61: ; preds = %58
%62 = load i32, ptr %3, align 4
%63 = udiv i32 %62, 2
store i32 %63, ptr %3, align 4
%64 = load i32, ptr %7, align 4
%65 = mul nsw i32 %64, 2
store i32 %65, ptr %7, align 4
br label %58, !llvm.loop !6
66: ; preds = %58
br label %67
67: ; preds = %123, %66
%68 = load i32, ptr %3, align 4
%69 = icmp uge i32 %68, 1
br i1 %69, label %70, label %136
70: ; preds = %67
%71 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0
%72 = load i32, ptr %3, align 4
%73 = load i32, ptr %7, align 4
%74 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.5, i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %3, align 4
%76 = udiv i32 65536, %75
store i32 %76, ptr %15, align 4
%77 = load i32, ptr %15, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %70
store i32 1, ptr %15, align 4
br label %80
80: ; preds = %79, %70
%81 = load i32, ptr @CLOCK_MONOTONIC, align 4
%82 = call i32 @clock_gettime(i32 noundef %81, ptr noundef %4)
store i32 0, ptr %9, align 4
br label %83
83: ; preds = %120, %80
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %15, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %123
87: ; preds = %83
store i32 0, ptr %8, align 4
br label %88
88: ; preds = %116, %87
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %3, align 4
%91 = icmp ult i32 %89, %90
br i1 %91, label %92, label %119
92: ; preds = %88
%93 = load i32, ptr @O_RDONLY, align 4
%94 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.3, i32 noundef %93)
store i32 %94, ptr %13, align 4
%95 = load i32, ptr %13, align 4
%96 = icmp slt i32 %95, 0
br i1 %96, label %97, label %100
97: ; preds = %92
%98 = load i32, ptr @stderr, align 4
%99 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.6)
store i32 1, ptr %2, align 4
br label %142
100: ; preds = %92
%101 = call i32 (...) @rand()
%102 = load i32, ptr %3, align 4
%103 = urem i32 %101, %102
store i32 %103, ptr %14, align 4
%104 = load i32, ptr %13, align 4
%105 = load i32, ptr %14, align 4
%106 = load i32, ptr %7, align 4
%107 = mul nsw i32 %105, %106
%108 = load i32, ptr @SEEK_SET, align 4
%109 = call i32 @lseek(i32 noundef %104, i32 noundef %107, i32 noundef %108)
%110 = load i32, ptr %13, align 4
%111 = load ptr, ptr %10, align 8
%112 = load i32, ptr %7, align 4
%113 = call i32 @read(i32 noundef %110, ptr noundef %111, i32 noundef %112)
%114 = load i32, ptr %13, align 4
%115 = call i32 @close(i32 noundef %114)
br label %116
116: ; preds = %100
%117 = load i32, ptr %8, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %8, align 4
br label %88, !llvm.loop !8
119: ; preds = %88
br label %120
120: ; preds = %119
%121 = load i32, ptr %9, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %9, align 4
br label %83, !llvm.loop !9
123: ; preds = %83
%124 = load i32, ptr @CLOCK_MONOTONIC, align 4
%125 = call i32 @clock_gettime(i32 noundef %124, ptr noundef %5)
%126 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0
%127 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%128 = load i32, ptr %127, align 4
%129 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%130 = load i32, ptr %129, align 4
%131 = call i32 @elapsed_time_hr(i32 %128, i32 %130, ptr noundef %126)
%132 = load i32, ptr %3, align 4
%133 = udiv i32 %132, 2
store i32 %133, ptr %3, align 4
%134 = load i32, ptr %7, align 4
%135 = mul nsw i32 %134, 2
store i32 %135, ptr %7, align 4
br label %67, !llvm.loop !10
136: ; preds = %67
%137 = call i32 @unlink(ptr noundef @.str.3)
%138 = load ptr, ptr %10, align 8
%139 = call i32 @free(ptr noundef %138)
%140 = load i32, ptr @stdout, align 4
%141 = call i32 @fflush(i32 noundef %140)
store i32 0, ptr %2, align 4
br label %142
142: ; preds = %136, %97, %46, %28, %20
%143 = load i32, ptr %2, align 4
ret i32 %143
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fsync(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @elapsed_time_hr(i32, i32, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1lhhblt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"ERROR: out of memory in file_read_random\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [56 x i8] c"ERROR: unable to open /dev/urandom in file_read_random\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"testfile_1\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [65 x i8] c"ERROR: unable to open test file for writing in file_read_random\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"file_read_random: %d blocks of %d bytes\00", align 1
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [65 x i8] c"ERROR: unable to open test file for reading in file_read_random\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_read_random(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.timespec, align 4
%5 = alloca %struct.timespec, align 4
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca [500 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 1, ptr %7, align 4
%16 = load i32, ptr %3, align 4
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %23, label %20
20: ; preds = %1
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %148
23: ; preds = %1
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.1, i32 noundef %24)
store i32 %25, ptr %13, align 4
%26 = load i32, ptr %13, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %148
31: ; preds = %23
%32 = load i32, ptr %13, align 4
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %3, align 4
%35 = call i32 @read(i32 noundef %32, ptr noundef %33, i32 noundef %34)
%36 = load i32, ptr %13, align 4
%37 = call i32 @close(i32 noundef %36)
%38 = load i32, ptr @O_CREAT, align 4
%39 = load i32, ptr @O_WRONLY, align 4
%40 = or i32 %38, %39
%41 = load i32, ptr @O_TRUNC, align 4
%42 = or i32 %40, %41
%43 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.3, i32 noundef %42, i32 noundef 420)
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %31
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.4)
store i32 1, ptr %2, align 4
br label %148
49: ; preds = %31
%50 = load i32, ptr %13, align 4
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %3, align 4
%53 = call i32 @write(i32 noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load i32, ptr %13, align 4
%55 = call i32 @fsync(i32 noundef %54)
%56 = load i32, ptr %13, align 4
%57 = call i32 @close(i32 noundef %56)
%58 = load i32, ptr %3, align 4
%59 = icmp uge i32 %58, 10000
br i1 %59, label %.lr.ph, label %67
.lr.ph: ; preds = %49
br label %60
60: ; preds = %.lr.ph, %60
%61 = load i32, ptr %3, align 4
%62 = udiv i32 %61, 2
store i32 %62, ptr %3, align 4
%63 = load i32, ptr %7, align 4
%64 = mul nsw i32 %63, 2
store i32 %64, ptr %7, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp uge i32 %65, 10000
br i1 %66, label %60, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %67
67: ; preds = %._crit_edge, %49
%68 = load i32, ptr %3, align 4
%69 = icmp uge i32 %68, 1
br i1 %69, label %.lr.ph8, label %142
.lr.ph8: ; preds = %67
br label %70
70: ; preds = %.lr.ph8, %127
%71 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0
%72 = load i32, ptr %3, align 4
%73 = load i32, ptr %7, align 4
%74 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.5, i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %3, align 4
%76 = udiv i32 65536, %75
store i32 %76, ptr %15, align 4
%77 = load i32, ptr %15, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %70
store i32 1, ptr %15, align 4
br label %80
80: ; preds = %79, %70
%81 = load i32, ptr @CLOCK_MONOTONIC, align 4
%82 = call i32 @clock_gettime(i32 noundef %81, ptr noundef %4)
store i32 0, ptr %9, align 4
%83 = load i32, ptr %9, align 4
%84 = load i32, ptr %15, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %.lr.ph5, label %127
.lr.ph5: ; preds = %80
br label %86
86: ; preds = %.lr.ph5, %121
store i32 0, ptr %8, align 4
%87 = load i32, ptr %8, align 4
%88 = load i32, ptr %3, align 4
%89 = icmp ult i32 %87, %88
br i1 %89, label %.lr.ph2, label %120
.lr.ph2: ; preds = %86
br label %90
90: ; preds = %.lr.ph2, %114
%91 = load i32, ptr @O_RDONLY, align 4
%92 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.3, i32 noundef %91)
store i32 %92, ptr %13, align 4
%93 = load i32, ptr %13, align 4
%94 = icmp slt i32 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %90
%96 = load i32, ptr @stderr, align 4
%97 = call i32 @fprintf(i32 noundef %96, ptr noundef @.str.6)
store i32 1, ptr %2, align 4
br label %148
98: ; preds = %90
%99 = call i32 (...) @rand()
%100 = load i32, ptr %3, align 4
%101 = urem i32 %99, %100
store i32 %101, ptr %14, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %14, align 4
%104 = load i32, ptr %7, align 4
%105 = mul nsw i32 %103, %104
%106 = load i32, ptr @SEEK_SET, align 4
%107 = call i32 @lseek(i32 noundef %102, i32 noundef %105, i32 noundef %106)
%108 = load i32, ptr %13, align 4
%109 = load ptr, ptr %10, align 8
%110 = load i32, ptr %7, align 4
%111 = call i32 @read(i32 noundef %108, ptr noundef %109, i32 noundef %110)
%112 = load i32, ptr %13, align 4
%113 = call i32 @close(i32 noundef %112)
br label %114
114: ; preds = %98
%115 = load i32, ptr %8, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %8, align 4
%117 = load i32, ptr %8, align 4
%118 = load i32, ptr %3, align 4
%119 = icmp ult i32 %117, %118
br i1 %119, label %90, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %114
br label %120
120: ; preds = %._crit_edge3, %86
br label %121
121: ; preds = %120
%122 = load i32, ptr %9, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %9, align 4
%124 = load i32, ptr %9, align 4
%125 = load i32, ptr %15, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %86, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %121
br label %127
127: ; preds = %._crit_edge6, %80
%128 = load i32, ptr @CLOCK_MONOTONIC, align 4
%129 = call i32 @clock_gettime(i32 noundef %128, ptr noundef %5)
%130 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0
%131 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%132 = load i32, ptr %131, align 4
%133 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0
%134 = load i32, ptr %133, align 4
%135 = call i32 @elapsed_time_hr(i32 %132, i32 %134, ptr noundef %130)
%136 = load i32, ptr %3, align 4
%137 = udiv i32 %136, 2
store i32 %137, ptr %3, align 4
%138 = load i32, ptr %7, align 4
%139 = mul nsw i32 %138, 2
store i32 %139, ptr %7, align 4
%140 = load i32, ptr %3, align 4
%141 = icmp uge i32 %140, 1
br i1 %141, label %70, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %127
br label %142
142: ; preds = %._crit_edge9, %67
%143 = call i32 @unlink(ptr noundef @.str.3)
%144 = load ptr, ptr %10, align 8
%145 = call i32 @free(ptr noundef %144)
%146 = load i32, ptr @stdout, align 4
%147 = call i32 @fflush(i32 noundef %146)
store i32 0, ptr %2, align 4
br label %148
148: ; preds = %142, %95, %46, %28, %20
%149 = load i32, ptr %2, align 4
ret i32 %149
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fsync(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @elapsed_time_hr(i32, i32, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpvdkquu3f.c'
source_filename = "/tmp/tmpvdkquu3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"ALICE\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"BOB\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %5
5: ; preds = %18, %0
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %2, align 4
%8 = icmp ne i32 %6, 0
br i1 %8, label %9, label %19
9: ; preds = %5
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i32, ptr %3, align 4
%12 = and i32 %11, 1
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str.1)
br label %18
16: ; preds = %9
%17 = call i32 @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %14
br label %5, !llvm.loop !6
19: ; preds = %5
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvdkquu3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"ALICE\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"BOB\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, -1
store i32 %6, ptr %2, align 4
%7 = icmp ne i32 %5, 0
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %17
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i32, ptr %3, align 4
%11 = and i32 %10, 1
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.1)
br label %17
15: ; preds = %8
%16 = call i32 @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %13
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %2, align 4
%20 = icmp ne i32 %18, 0
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %21
21: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphrl_phpq.c'
source_filename = "/tmp/tmphrl_phpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"\0A%50s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"TILGUNGSPLAN\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"\0A%-15s %15.lf %s %15s %8.1lf %s %15s %8.1lf %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Kredit :\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Euro\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Zinssatz :\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"Tilgung :\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"\0A%5s %15s %15s %15s %15s %15s\0A\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"Jahr\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"Kredit A\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"Annuitaet\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"Tilgung\00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"Zinsen\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"Kredit E\00", align 1
@.str.15 = private unnamed_addr constant [45 x i8] c"%5d %15.2lf %15.2lf %15.2lf %15.2lf %15.2lf\0A\00", align 1
@.str.16 = private unnamed_addr constant [21 x i8] c"\0A%-20s %15.2lf Euro\0A\00", align 1
@.str.17 = private unnamed_addr constant [18 x i8] c"Adirhlusszahlung:\00", align 1
@.str.18 = private unnamed_addr constant [20 x i8] c"%-20s %15.2lf Euro\0A\00", align 1
@.str.19 = private unnamed_addr constant [15 x i8] c"Gesamtaufwand:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @schreibe_tilgungsplan_fuer_ein_annuitaetendarlehen(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%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 i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%15 = load double, ptr %4, align 8
%16 = load double, ptr %5, align 8
%17 = load double, ptr %6, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, double noundef %15, ptr noundef @.str.4, ptr noundef @.str.5, double noundef %16, ptr noundef @.str.6, ptr noundef @.str.7, double noundef %17, ptr noundef @.str.6)
%19 = load double, ptr %6, align 8
%20 = fdiv double %19, 1.000000e+02
store double %20, ptr %6, align 8
%21 = load double, ptr %5, align 8
%22 = fdiv double %21, 1.000000e+02
store double %22, ptr %5, align 8
%23 = load double, ptr %6, align 8
%24 = load double, ptr %5, align 8
%25 = call i32 @berechne_laufzeit_annuitaetendarlehen(double noundef %23, double noundef %24)
store i32 %25, ptr %7, align 4
%26 = load double, ptr %4, align 8
%27 = load double, ptr %6, align 8
%28 = call double @berechne_tilgungsrate(double noundef %26, double noundef %27)
store double %28, ptr %8, align 8
%29 = load double, ptr %4, align 8
%30 = load double, ptr %5, align 8
%31 = call double @berechne_zinsen(double noundef %29, double noundef %30)
store double %31, ptr %9, align 8
%32 = load double, ptr %8, align 8
%33 = load double, ptr %9, align 8
%34 = call double @berechne_annuitaet(double noundef %32, double noundef %33)
store double %34, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13, ptr noundef @.str.14)
store i32 0, ptr %13, align 4
br label %36
36: ; preds = %61, %3
%37 = load i32, ptr %13, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %64
40: ; preds = %36
%41 = load double, ptr %4, align 8
%42 = load double, ptr %8, align 8
%43 = fsub double %41, %42
store double %43, ptr %11, align 8
%44 = load i32, ptr %13, align 4
%45 = load double, ptr %4, align 8
%46 = load double, ptr %10, align 8
%47 = load double, ptr %8, align 8
%48 = load double, ptr %9, align 8
%49 = load double, ptr %11, align 8
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %44, double noundef %45, double noundef %46, double noundef %47, double noundef %48, double noundef %49)
%51 = load double, ptr %11, align 8
store double %51, ptr %4, align 8
%52 = load double, ptr %12, align 8
%53 = load double, ptr %10, align 8
%54 = fadd double %52, %53
store double %54, ptr %12, align 8
%55 = load double, ptr %4, align 8
%56 = load double, ptr %5, align 8
%57 = call double @berechne_zinsen(double noundef %55, double noundef %56)
store double %57, ptr %9, align 8
%58 = load double, ptr %10, align 8
%59 = load double, ptr %9, align 8
%60 = fsub double %58, %59
store double %60, ptr %8, align 8
br label %61
61: ; preds = %40
%62 = load i32, ptr %13, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %13, align 4
br label %36, !llvm.loop !6
64: ; preds = %36
%65 = load double, ptr %12, align 8
%66 = load double, ptr %11, align 8
%67 = fadd double %65, %66
store double %67, ptr %12, align 8
%68 = load double, ptr %11, align 8
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef @.str.17, double noundef %68)
%70 = load double, ptr %12, align 8
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str.19, double noundef %70)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @berechne_laufzeit_annuitaetendarlehen(double noundef, double noundef) #1
declare double @berechne_tilgungsrate(double noundef, double noundef) #1
declare double @berechne_zinsen(double noundef, double noundef) #1
declare double @berechne_annuitaet(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphrl_phpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"\0A%50s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"TILGUNGSPLAN\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"\0A%-15s %15.lf %s %15s %8.1lf %s %15s %8.1lf %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Kredit :\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Euro\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"Zinssatz :\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"Tilgung :\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"\0A%5s %15s %15s %15s %15s %15s\0A\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"Jahr\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"Kredit A\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"Annuitaet\00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"Tilgung\00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"Zinsen\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"Kredit E\00", align 1
@.str.15 = private unnamed_addr constant [45 x i8] c"%5d %15.2lf %15.2lf %15.2lf %15.2lf %15.2lf\0A\00", align 1
@.str.16 = private unnamed_addr constant [21 x i8] c"\0A%-20s %15.2lf Euro\0A\00", align 1
@.str.17 = private unnamed_addr constant [18 x i8] c"Adirhlusszahlung:\00", align 1
@.str.18 = private unnamed_addr constant [20 x i8] c"%-20s %15.2lf Euro\0A\00", align 1
@.str.19 = private unnamed_addr constant [15 x i8] c"Gesamtaufwand:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @schreibe_tilgungsplan_fuer_ein_annuitaetendarlehen(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%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 i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%15 = load double, ptr %4, align 8
%16 = load double, ptr %5, align 8
%17 = load double, ptr %6, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, double noundef %15, ptr noundef @.str.4, ptr noundef @.str.5, double noundef %16, ptr noundef @.str.6, ptr noundef @.str.7, double noundef %17, ptr noundef @.str.6)
%19 = load double, ptr %6, align 8
%20 = fdiv double %19, 1.000000e+02
store double %20, ptr %6, align 8
%21 = load double, ptr %5, align 8
%22 = fdiv double %21, 1.000000e+02
store double %22, ptr %5, align 8
%23 = load double, ptr %6, align 8
%24 = load double, ptr %5, align 8
%25 = call i32 @berechne_laufzeit_annuitaetendarlehen(double noundef %23, double noundef %24)
store i32 %25, ptr %7, align 4
%26 = load double, ptr %4, align 8
%27 = load double, ptr %6, align 8
%28 = call double @berechne_tilgungsrate(double noundef %26, double noundef %27)
store double %28, ptr %8, align 8
%29 = load double, ptr %4, align 8
%30 = load double, ptr %5, align 8
%31 = call double @berechne_zinsen(double noundef %29, double noundef %30)
store double %31, ptr %9, align 8
%32 = load double, ptr %8, align 8
%33 = load double, ptr %9, align 8
%34 = call double @berechne_annuitaet(double noundef %32, double noundef %33)
store double %34, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13, ptr noundef @.str.14)
store i32 0, ptr %13, align 4
%36 = load i32, ptr %13, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %66
.lr.ph: ; preds = %3
br label %39
39: ; preds = %.lr.ph, %60
%40 = load double, ptr %4, align 8
%41 = load double, ptr %8, align 8
%42 = fsub double %40, %41
store double %42, ptr %11, align 8
%43 = load i32, ptr %13, align 4
%44 = load double, ptr %4, align 8
%45 = load double, ptr %10, align 8
%46 = load double, ptr %8, align 8
%47 = load double, ptr %9, align 8
%48 = load double, ptr %11, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %43, double noundef %44, double noundef %45, double noundef %46, double noundef %47, double noundef %48)
%50 = load double, ptr %11, align 8
store double %50, ptr %4, align 8
%51 = load double, ptr %12, align 8
%52 = load double, ptr %10, align 8
%53 = fadd double %51, %52
store double %53, ptr %12, align 8
%54 = load double, ptr %4, align 8
%55 = load double, ptr %5, align 8
%56 = call double @berechne_zinsen(double noundef %54, double noundef %55)
store double %56, ptr %9, align 8
%57 = load double, ptr %10, align 8
%58 = load double, ptr %9, align 8
%59 = fsub double %57, %58
store double %59, ptr %8, align 8
br label %60
60: ; preds = %39
%61 = load i32, ptr %13, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %13, align 4
%63 = load i32, ptr %13, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %3
%67 = load double, ptr %12, align 8
%68 = load double, ptr %11, align 8
%69 = fadd double %67, %68
store double %69, ptr %12, align 8
%70 = load double, ptr %11, align 8
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef @.str.17, double noundef %70)
%72 = load double, ptr %12, align 8
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str.19, double noundef %72)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @berechne_laufzeit_annuitaetendarlehen(double noundef, double noundef) #1
declare double @berechne_tilgungsrate(double noundef, double noundef) #1
declare double @berechne_zinsen(double noundef, double noundef) #1
declare double @berechne_annuitaet(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpigzgzjrh.c'
source_filename = "/tmp/tmpigzgzjrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"\0ATASK 5: Alarm\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Waiting for alarm...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @task5() #0 {
%1 = call i32 @alarm(i32 noundef 4)
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
br label %4
4: ; preds = %4, %0
br label %4
}
declare i32 @alarm(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpigzgzjrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"\0ATASK 5: Alarm\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Waiting for alarm...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @task5() #0 {
%1 = call i32 @alarm(i32 noundef 4)
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
br label %4
4: ; preds = %4, %0
br label %4
}
declare i32 @alarm(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprwyfwzdr.c'
source_filename = "/tmp/tmprwyfwzdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"bad size. examples: 4096, 4k, 100M, 1.5G\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"unknown size multiplier: %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca double, align 8
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
store ptr @.str, ptr %5, align 8
store i32 1, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load ptr, ptr %5, align 8
%15 = call i32 (ptr, ...) @fatal(ptr noundef %14)
br label %16
16: ; preds = %13, %1
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call signext i8 @tolower(i8 noundef signext %22)
store i8 %23, ptr %6, align 1
%24 = load i8, ptr %6, align 1
%25 = call i64 @isalpha(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %43
27: ; preds = %16
%28 = load i8, ptr %6, align 1
%29 = sext i8 %28 to i32
switch i32 %29, label %33 [
i32 107, label %30
i32 109, label %31
i32 103, label %32
]
30: ; preds = %27
store i32 1024, ptr %7, align 4
br label %37
31: ; preds = %27
store i32 1048576, ptr %7, align 4
br label %37
32: ; preds = %27
store i32 1073741824, ptr %7, align 4
br label %37
33: ; preds = %27
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = call i32 (ptr, ...) @fatal(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %33, %32, %31, %30
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %4, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %37, %16
%44 = load ptr, ptr %2, align 8
%45 = call double @strtod(ptr noundef %44, ptr noundef %3)
store double %45, ptr %8, align 8
%46 = load double, ptr %8, align 8
%47 = fcmp ole double %46, 0.000000e+00
br i1 %47, label %53, label %48
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48, %43
%54 = load ptr, ptr %5, align 8
%55 = call i32 (ptr, ...) @fatal(ptr noundef %54)
br label %56
56: ; preds = %53, %48
%57 = load i32, ptr %7, align 4
%58 = sitofp i32 %57 to double
%59 = load double, ptr %8, align 8
%60 = fmul double %58, %59
%61 = fptosi double %60 to i32
ret i32 %61
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fatal(ptr noundef, ...) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i64 @isalpha(i8 noundef signext) #1
declare double @strtod(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/tmprwyfwzdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"bad size. examples: 4096, 4k, 100M, 1.5G\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"unknown size multiplier: %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca double, align 8
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
store ptr @.str, ptr %5, align 8
store i32 1, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load ptr, ptr %5, align 8
%15 = call i32 (ptr, ...) @fatal(ptr noundef %14)
br label %16
16: ; preds = %13, %1
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call signext i8 @tolower(i8 noundef signext %22)
store i8 %23, ptr %6, align 1
%24 = load i8, ptr %6, align 1
%25 = call i64 @isalpha(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %43
27: ; preds = %16
%28 = load i8, ptr %6, align 1
%29 = sext i8 %28 to i32
switch i32 %29, label %33 [
i32 107, label %30
i32 109, label %31
i32 103, label %32
]
30: ; preds = %27
store i32 1024, ptr %7, align 4
br label %37
31: ; preds = %27
store i32 1048576, ptr %7, align 4
br label %37
32: ; preds = %27
store i32 1073741824, ptr %7, align 4
br label %37
33: ; preds = %27
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = call i32 (ptr, ...) @fatal(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %33, %32, %31, %30
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %4, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %37, %16
%44 = load ptr, ptr %2, align 8
%45 = call double @strtod(ptr noundef %44, ptr noundef %3)
store double %45, ptr %8, align 8
%46 = load double, ptr %8, align 8
%47 = fcmp ole double %46, 0.000000e+00
br i1 %47, label %53, label %48
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48, %43
%54 = load ptr, ptr %5, align 8
%55 = call i32 (ptr, ...) @fatal(ptr noundef %54)
br label %56
56: ; preds = %53, %48
%57 = load i32, ptr %7, align 4
%58 = sitofp i32 %57 to double
%59 = load double, ptr %8, align 8
%60 = fmul double %58, %59
%61 = fptosi double %60 to i32
ret i32 %61
}
declare i32 @strlen(ptr noundef) #1
declare i32 @fatal(ptr noundef, ...) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i64 @isalpha(i8 noundef signext) #1
declare double @strtod(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/tmprf_67yet.c'
source_filename = "/tmp/tmprf_67yet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_arg_error() #0 {
%1 = load i32, ptr @EINVAL, align 4
store i32 %1, ptr @errno, align 4
%2 = call i32 (...) @usage()
%3 = load i32, ptr @errno, align 4
%4 = call i32 @error(i32 noundef 1, i32 noundef 1, ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @usage(...) #1
declare i32 @error(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/tmprf_67yet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_arg_error() #0 {
%1 = load i32, ptr @EINVAL, align 4
store i32 %1, ptr @errno, align 4
%2 = call i32 (...) @usage()
%3 = load i32, ptr @errno, align 4
%4 = call i32 @error(i32 noundef 1, i32 noundef 1, ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @usage(...) #1
declare i32 @error(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/tmp48qqpikj.c'
source_filename = "/tmp/tmp48qqpikj.c"
target datalayout = "e-m:e-p270: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/tmp48qqpikj.c"
target datalayout = "e-m:e-p270: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/tmpuixsw8wt.c'
source_filename = "/tmp/tmpuixsw8wt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OutputMsg(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 @Output2File(ptr noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fflush(i32 noundef %8)
ret void
}
declare i32 @Output2File(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuixsw8wt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OutputMsg(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 @Output2File(ptr noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 @fflush(i32 noundef %8)
ret void
}
declare i32 @Output2File(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt67otnky.c'
source_filename = "/tmp/tmpt67otnky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createString() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call i64 @calloc(i32 noundef 128, i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %1, align 8
%6 = call i64 @calloc(i32 noundef 1, i32 noundef 1)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
br label %8
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @read(i32 noundef 0, ptr noundef %9, i32 noundef 128)
store i32 %10, ptr %2, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load ptr, ptr %1, align 8
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
store i8 0, ptr %16, align 1
br label %17
17: ; preds = %12, %8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %1, align 8
ret ptr %20
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @read(i32 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/tmpt67otnky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createString() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call i64 @calloc(i32 noundef 128, i32 noundef 1)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %1, align 8
%6 = call i64 @calloc(i32 noundef 1, i32 noundef 1)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
br label %8
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
%10 = call i32 @read(i32 noundef 0, ptr noundef %9, i32 noundef 128)
store i32 %10, ptr %2, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load ptr, ptr %1, align 8
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
store i8 0, ptr %16, align 1
br label %17
17: ; preds = %12, %8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %1, align 8
ret ptr %20
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @read(i32 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/tmpyn0qlwxq.c'
source_filename = "/tmp/tmpyn0qlwxq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_net_flags(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = call i32 @htonl(i32 noundef 1879048192)
%6 = load ptr, ptr %3, align 8
store i32 %5, ptr %6, align 4
ret i32 1
}
declare i32 @htonl(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/tmpyn0qlwxq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_net_flags(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = call i32 @htonl(i32 noundef 1879048192)
%6 = load ptr, ptr %3, align 8
store i32 %5, ptr %6, align 4
ret i32 1
}
declare i32 @htonl(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/tmpweafqaum.c'
source_filename = "/tmp/tmpweafqaum.c"
target datalayout = "e-m:e-p270: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/tmpweafqaum.c"
target datalayout = "e-m:e-p270: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/tmppu6j08wp.c'
source_filename = "/tmp/tmppu6j08wp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wordSearch(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%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 ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %41, %6
%16 = load i32, ptr %14, align 4
%17 = load ptr, ptr %12, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %44
20: ; preds = %15
%21 = load ptr, ptr %12, align 8
%22 = load i32, ptr %14, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = load ptr, ptr %13, align 8
%30 = call signext i8 @getCharInPosition(i32 noundef %27, i32 noundef %28, ptr noundef %29)
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %26, %31
br i1 %32, label %33, label %34
33: ; preds = %20
store i32 0, ptr %7, align 4
br label %45
34: ; preds = %20
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, %35
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %34
%42 = load i32, ptr %14, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %14, align 4
br label %15, !llvm.loop !6
44: ; preds = %15
store i32 1, ptr %7, align 4
br label %45
45: ; preds = %44, %33
%46 = load i32, ptr %7, align 4
ret i32 %46
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @getCharInPosition(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppu6j08wp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wordSearch(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%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 ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 0, ptr %14, align 4
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %12, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = icmp slt i32 %15, %17
br i1 %18, label %.lr.ph, label %47
.lr.ph: ; preds = %6
br label %19
19: ; preds = %.lr.ph, %40
%20 = load ptr, ptr %12, align 8
%21 = load i32, ptr %14, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = load ptr, ptr %13, align 8
%29 = call signext i8 @getCharInPosition(i32 noundef %26, i32 noundef %27, ptr noundef %28)
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %25, %30
br i1 %31, label %32, label %33
32: ; preds = %19
store i32 0, ptr %7, align 4
br label %48
33: ; preds = %19
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %33
%41 = load i32, ptr %14, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %14, align 4
%43 = load i32, ptr %14, align 4
%44 = load ptr, ptr %12, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = icmp slt i32 %43, %45
br i1 %46, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %47
47: ; preds = %._crit_edge, %6
store i32 1, ptr %7, align 4
br label %48
48: ; preds = %47, %32
%49 = load i32, ptr %7, align 4
ret i32 %49
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @getCharInPosition(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg58trmjy.c'
source_filename = "/tmp/tmpg58trmjy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Split(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %100
16: ; preds = %4
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %100
19: ; preds = %16
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %100
22: ; preds = %19
%23 = load ptr, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %100
25: ; preds = %22
store i32 0, ptr %10, align 4
%26 = call i64 @malloc(i32 noundef 1000)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %12, align 8
%28 = call i64 @malloc(i32 noundef 1000)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
%30 = load ptr, ptr %5, align 8
store ptr %30, ptr %12, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %6, align 8
%33 = call i32 @strcat(ptr noundef %31, ptr noundef %32)
store i32 0, ptr %13, align 4
br label %34
34: ; preds = %94, %25
%35 = load i32, ptr %13, align 4
%36 = load ptr, ptr %12, align 8
%37 = call i64 @strlen(ptr noundef %36)
%38 = trunc i64 %37 to i32
%39 = icmp slt i32 %35, %38
br i1 %39, label %40, label %97
40: ; preds = %34
%41 = load ptr, ptr %12, align 8
%42 = load ptr, ptr %6, align 8
%43 = call ptr @strstr(ptr noundef %41, ptr noundef %42)
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %9, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %55
46: ; preds = %40
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %55
53: ; preds = %46
%54 = load ptr, ptr %9, align 8
store ptr %54, ptr %11, align 8
br label %55
55: ; preds = %53, %46, %40
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load ptr, ptr %12, align 8
%62 = load ptr, ptr %12, align 8
%63 = call i64 @strlen(ptr noundef %62)
%64 = load ptr, ptr %11, align 8
%65 = call i64 @strlen(ptr noundef %64)
%66 = sub nsw i64 %63, %65
%67 = call i32 @strncpy(ptr noundef %60, ptr noundef %61, i64 noundef %66)
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load ptr, ptr %12, align 8
%74 = call i64 @strlen(ptr noundef %73)
%75 = load ptr, ptr %11, align 8
%76 = call i64 @strlen(ptr noundef %75)
%77 = sub nsw i64 %74, %76
%78 = getelementptr inbounds i8, ptr %72, i64 %77
store i8 0, ptr %78, align 1
%79 = load ptr, ptr %11, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i64 @strlen(ptr noundef %80)
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store ptr %82, ptr %12, align 8
%83 = load ptr, ptr %7, align 8
%84 = load i32, ptr %10, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = call i64 @strlen(ptr noundef %87)
%89 = icmp sgt i64 %88, 0
br i1 %89, label %90, label %93
90: ; preds = %55
%91 = load i32, ptr %10, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %10, align 4
br label %93
93: ; preds = %90, %55
br label %94
94: ; preds = %93
%95 = load i32, ptr %13, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %13, align 4
br label %34, !llvm.loop !6
97: ; preds = %34
%98 = load i32, ptr %10, align 4
%99 = load ptr, ptr %8, align 8
store i32 %98, ptr %99, align 4
br label %100
100: ; preds = %97, %22, %19, %16, %4
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg58trmjy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Split(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %104
16: ; preds = %4
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %104
19: ; preds = %16
%20 = load ptr, ptr %7, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %104
22: ; preds = %19
%23 = load ptr, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %104
25: ; preds = %22
store i32 0, ptr %10, align 4
%26 = call i64 @malloc(i32 noundef 1000)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %12, align 8
%28 = call i64 @malloc(i32 noundef 1000)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
%30 = load ptr, ptr %5, align 8
store ptr %30, ptr %12, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %6, align 8
%33 = call i32 @strcat(ptr noundef %31, ptr noundef %32)
store i32 0, ptr %13, align 4
%34 = load i32, ptr %13, align 4
%35 = load ptr, ptr %12, align 8
%36 = call i64 @strlen(ptr noundef %35)
%37 = trunc i64 %36 to i32
%38 = icmp slt i32 %34, %37
br i1 %38, label %.lr.ph, label %101
.lr.ph: ; preds = %25
br label %39
39: ; preds = %.lr.ph, %93
%40 = load ptr, ptr %12, align 8
%41 = load ptr, ptr %6, align 8
%42 = call ptr @strstr(ptr noundef %40, ptr noundef %41)
store ptr %42, ptr %9, align 8
%43 = load ptr, ptr %9, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %54
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %54
52: ; preds = %45
%53 = load ptr, ptr %9, align 8
store ptr %53, ptr %11, align 8
br label %54
54: ; preds = %52, %45, %39
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %10, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %12, align 8
%61 = load ptr, ptr %12, align 8
%62 = call i64 @strlen(ptr noundef %61)
%63 = load ptr, ptr %11, align 8
%64 = call i64 @strlen(ptr noundef %63)
%65 = sub nsw i64 %62, %64
%66 = call i32 @strncpy(ptr noundef %59, ptr noundef %60, i64 noundef %65)
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load ptr, ptr %12, align 8
%73 = call i64 @strlen(ptr noundef %72)
%74 = load ptr, ptr %11, align 8
%75 = call i64 @strlen(ptr noundef %74)
%76 = sub nsw i64 %73, %75
%77 = getelementptr inbounds i8, ptr %71, i64 %76
store i8 0, ptr %77, align 1
%78 = load ptr, ptr %11, align 8
%79 = load ptr, ptr %6, align 8
%80 = call i64 @strlen(ptr noundef %79)
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store ptr %81, ptr %12, align 8
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %10, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
%86 = load ptr, ptr %85, align 8
%87 = call i64 @strlen(ptr noundef %86)
%88 = icmp sgt i64 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %54
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %10, align 4
br label %92
92: ; preds = %89, %54
br label %93
93: ; preds = %92
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = load ptr, ptr %12, align 8
%98 = call i64 @strlen(ptr noundef %97)
%99 = trunc i64 %98 to i32
%100 = icmp slt i32 %96, %99
br i1 %100, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %93
br label %101
101: ; preds = %._crit_edge, %25
%102 = load i32, ptr %10, align 4
%103 = load ptr, ptr %8, align 8
store i32 %102, ptr %103, align 4
br label %104
104: ; preds = %101, %22, %19, %16, %4
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp32utrom2.c'
source_filename = "/tmp/tmp32utrom2.c"
target datalayout = "e-m:e-p270: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/tmp32utrom2.c"
target datalayout = "e-m:e-p270: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/tmpxba0bz3h.c'
source_filename = "/tmp/tmpxba0bz3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8080_isr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i16, align 2
store ptr %0, ptr %2, align 8
store i16 0, ptr %3, align 2
%4 = load ptr, ptr %2, align 8
%5 = call i32 @bbm_word_read(ptr noundef %4, i32 noundef 2304, ptr noundef %3)
%6 = load i16, ptr %3, align 2
%7 = icmp ne i16 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i16, ptr %3, align 2
%11 = call i32 @bbm_word_write(ptr noundef %9, i32 noundef 2304, i16 noundef zeroext %10)
%12 = load ptr, ptr %2, align 8
%13 = load i16, ptr %3, align 2
%14 = call i32 @fc8080_data(ptr noundef %12, i16 noundef zeroext %13)
br label %15
15: ; preds = %8, %1
ret void
}
declare i32 @bbm_word_read(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @bbm_word_write(ptr noundef, i32 noundef, i16 noundef zeroext) #1
declare i32 @fc8080_data(ptr noundef, i16 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/tmpxba0bz3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8080_isr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i16, align 2
store ptr %0, ptr %2, align 8
store i16 0, ptr %3, align 2
%4 = load ptr, ptr %2, align 8
%5 = call i32 @bbm_word_read(ptr noundef %4, i32 noundef 2304, ptr noundef %3)
%6 = load i16, ptr %3, align 2
%7 = icmp ne i16 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i16, ptr %3, align 2
%11 = call i32 @bbm_word_write(ptr noundef %9, i32 noundef 2304, i16 noundef zeroext %10)
%12 = load ptr, ptr %2, align 8
%13 = load i16, ptr %3, align 2
%14 = call i32 @fc8080_data(ptr noundef %12, i16 noundef zeroext %13)
br label %15
15: ; preds = %8, %1
ret void
}
declare i32 @bbm_word_read(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @bbm_word_write(ptr noundef, i32 noundef, i16 noundef zeroext) #1
declare i32 @fc8080_data(ptr noundef, i16 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/tmphvfx_rli.c'
source_filename = "/tmp/tmphvfx_rli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [26 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 26
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 65, %8
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %21, %16
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 26
br i1 %19, label %20, label %28
20: ; preds = %17
br label %21
21: ; preds = %20
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
br label %17, !llvm.loop !8
28: ; preds = %17
%29 = load i32, ptr %1, align 4
ret i32 %29
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphvfx_rli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [26 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 26
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 65, %7
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 26
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 26
br i1 %19, label %.lr.ph2, label %30
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %21
br label %21
21: ; preds = %20
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 26
br i1 %29, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %30
30: ; preds = %._crit_edge3, %17
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyie9guqj.c'
source_filename = "/tmp/tmpyie9guqj.c"
target datalayout = "e-m:e-p270: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/tmpyie9guqj.c"
target datalayout = "e-m:e-p270: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/tmp7w9008p8.c'
source_filename = "/tmp/tmp7w9008p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Usage: %s <version-str> <version-str>\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 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
store i32 -1, ptr %3, align 4
br label %25
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 2
%19 = load ptr, ptr %18, align 8
%20 = call i32 @__pu_test_compare_kver(ptr noundef %16, ptr noundef %19)
switch i32 %20, label %24 [
i32 0, label %21
i32 -1, label %22
i32 1, label %23
]
21: ; preds = %13
store i32 0, ptr %3, align 4
br label %25
22: ; preds = %13
store i32 1, ptr %3, align 4
br label %25
23: ; preds = %13
store i32 2, ptr %3, align 4
br label %25
24: ; preds = %13
store i32 -1, ptr %3, align 4
br label %25
25: ; preds = %24, %23, %22, %21, %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @__pu_test_compare_kver(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/tmp7w9008p8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Usage: %s <version-str> <version-str>\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 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
store i32 -1, ptr %3, align 4
br label %25
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 2
%19 = load ptr, ptr %18, align 8
%20 = call i32 @__pu_test_compare_kver(ptr noundef %16, ptr noundef %19)
switch i32 %20, label %24 [
i32 0, label %21
i32 -1, label %22
i32 1, label %23
]
21: ; preds = %13
store i32 0, ptr %3, align 4
br label %25
22: ; preds = %13
store i32 1, ptr %3, align 4
br label %25
23: ; preds = %13
store i32 2, ptr %3, align 4
br label %25
24: ; preds = %13
store i32 -1, ptr %3, align 4
br label %25
25: ; preds = %24, %23, %22, %21, %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @__pu_test_compare_kver(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/tmp1ntbhzwy.c'
source_filename = "/tmp/tmp1ntbhzwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LLONG_MAX = dso_local global i64 0, align 8
@LLONG_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ft_atoll(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 1, ptr %5, align 8
store i64 0, ptr %4, align 8
br label %6
6: ; preds = %11, %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = call i64 @ft_iswhitespace(i8 noundef signext %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
br label %6, !llvm.loop !6
14: ; preds = %6
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %20
19: ; preds = %14
store i64 -1, ptr %5, align 8
br label %20
20: ; preds = %19, %14
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 45
br i1 %24, label %30, label %25
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 43
br i1 %29, label %30, label %33
30: ; preds = %25, %20
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %3, align 8
br label %33
33: ; preds = %30, %25
br label %34
34: ; preds = %65, %33
%35 = load ptr, ptr %3, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = sub nsw i32 %37, 0
%39 = sext i32 %38 to i64
%40 = call i64 @ft_isdigit(i64 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %66
42: ; preds = %34
%43 = load i64, ptr %4, align 8
%44 = mul i64 10, %43
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %3, align 8
%47 = load i8, ptr %45, align 1
%48 = sext i8 %47 to i32
%49 = sub nsw i32 %48, 48
%50 = srem i32 %49, 10
%51 = sext i32 %50 to i64
%52 = add i64 %44, %51
store i64 %52, ptr %4, align 8
%53 = load i64, ptr %4, align 8
%54 = load i64, ptr @LLONG_MAX, align 8
%55 = icmp ugt i64 %53, %54
br i1 %55, label %56, label %65
56: ; preds = %42
%57 = load i64, ptr %5, align 8
%58 = icmp eq i64 %57, 1
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = load i64, ptr @LLONG_MAX, align 8
br label %63
61: ; preds = %56
%62 = load i64, ptr @LLONG_MIN, align 8
br label %63
63: ; preds = %61, %59
%64 = phi i64 [ %60, %59 ], [ %62, %61 ]
store i64 %64, ptr %2, align 8
br label %70
65: ; preds = %42
br label %34, !llvm.loop !8
66: ; preds = %34
%67 = load i64, ptr %5, align 8
%68 = load i64, ptr %4, align 8
%69 = mul i64 %67, %68
store i64 %69, ptr %2, align 8
br label %70
70: ; preds = %66, %63
%71 = load i64, ptr %2, align 8
ret i64 %71
}
declare i64 @ft_iswhitespace(i8 noundef signext) #1
declare i64 @ft_isdigit(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ntbhzwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LLONG_MAX = dso_local global i64 0, align 8
@LLONG_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ft_atoll(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 1, ptr %5, align 8
store i64 0, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @ft_iswhitespace(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @ft_iswhitespace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 45
br i1 %21, label %22, label %23
22: ; preds = %17
store i64 -1, ptr %5, align 8
br label %23
23: ; preds = %22, %17
%24 = load ptr, ptr %3, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 45
br i1 %27, label %33, label %28
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 43
br i1 %32, label %33, label %36
33: ; preds = %28, %23
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %3, align 8
br label %36
36: ; preds = %33, %28
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sext i32 %39 to i64
%41 = call i64 @ft_isdigit(i64 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %.lr.ph2, label %74
.lr.ph2: ; preds = %36
br label %51
43: ; preds = %51
%44 = load ptr, ptr %3, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %46, 0
%48 = sext i32 %47 to i64
%49 = call i64 @ft_isdigit(i64 noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %._crit_edge3, !llvm.loop !8
51: ; preds = %.lr.ph2, %43
%52 = load i64, ptr %4, align 8
%53 = mul i64 10, %52
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %3, align 8
%56 = load i8, ptr %54, align 1
%57 = sext i8 %56 to i32
%58 = sub nsw i32 %57, 48
%59 = srem i32 %58, 10
%60 = sext i32 %59 to i64
%61 = add i64 %53, %60
store i64 %61, ptr %4, align 8
%62 = load i64, ptr %4, align 8
%63 = load i64, ptr @LLONG_MAX, align 8
%64 = icmp ugt i64 %62, %63
br i1 %64, label %65, label %43
65: ; preds = %51
%66 = load i64, ptr %5, align 8
%67 = icmp eq i64 %66, 1
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = load i64, ptr @LLONG_MAX, align 8
br label %72
70: ; preds = %65
%71 = load i64, ptr @LLONG_MIN, align 8
br label %72
72: ; preds = %70, %68
%73 = phi i64 [ %69, %68 ], [ %71, %70 ]
store i64 %73, ptr %2, align 8
br label %78
._crit_edge3: ; preds = %43
br label %74
74: ; preds = %._crit_edge3, %36
%75 = load i64, ptr %5, align 8
%76 = load i64, ptr %4, align 8
%77 = mul i64 %75, %76
store i64 %77, ptr %2, align 8
br label %78
78: ; preds = %74, %72
%79 = load i64, ptr %2, align 8
ret i64 %79
}
declare i64 @ft_iswhitespace(i8 noundef signext) #1
declare i64 @ft_isdigit(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz61xe1kb.c'
source_filename = "/tmp/tmpz61xe1kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz61xe1kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzqwrvr5i.c'
source_filename = "/tmp/tmpzqwrvr5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test6(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 32, ptr %7, align 1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 2
store i8 122, ptr %9, align 1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
store i8 122, ptr %11, align 1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strtol(ptr noundef %12, ptr noundef %4, i32 noundef 0)
store i64 %13, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp eq ptr %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load i64, ptr %5, align 8
%20 = icmp eq i64 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret void
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqwrvr5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test6(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 32, ptr %7, align 1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 2
store i8 122, ptr %9, align 1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 1
store i8 122, ptr %11, align 1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strtol(ptr noundef %12, ptr noundef %4, i32 noundef 0)
store i64 %13, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp eq ptr %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load i64, ptr %5, align 8
%20 = icmp eq i64 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret void
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi6avk42t.c'
source_filename = "/tmp/tmpi6avk42t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 @_rdrand64_step(ptr noundef %3)
ret i32 %4
}
declare i32 @_rdrand64_step(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi6avk42t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 @_rdrand64_step(ptr noundef %3)
ret i32 %4
}
declare i32 @_rdrand64_step(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpopafpvmi.c'
source_filename = "/tmp/tmpopafpvmi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x double], align 16
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000
br i1 %8, label %9, label %19
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = sitofp i32 %10 to double
%12 = fadd double 0x41F0000000000000, %11
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [1000 x double], ptr %2, i64 0, i64 %14
store double %12, ptr %15, align 8
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = getelementptr inbounds [1000 x double], ptr %2, i64 0, i64 0
%21 = load double, ptr %20, align 16
store double %21, ptr %3, align 8
%22 = load double, ptr %3, align 8
%23 = fptoui double %22 to i64
%24 = urem i64 %23, 4294967296
%25 = trunc i64 %24 to i32
%26 = uitofp i32 %25 to double
store double %26, ptr %4, align 8
%27 = load double, ptr %4, align 8
%28 = fcmp oge double %27, 0x41F0000000000000
br i1 %28, label %29, label %31
29: ; preds = %19
%30 = call i32 (...) @abort() #2
unreachable
31: ; preds = %19
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpopafpvmi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x double], align 16
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 1000
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %15
%9 = load i32, ptr %5, align 4
%10 = sitofp i32 %9 to double
%11 = fadd double 0x41F0000000000000, %10
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [1000 x double], ptr %2, i64 0, i64 %13
store double %11, ptr %14, align 8
br label %15
15: ; preds = %8
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 1000
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = getelementptr inbounds [1000 x double], ptr %2, i64 0, i64 0
%22 = load double, ptr %21, align 16
store double %22, ptr %3, align 8
%23 = load double, ptr %3, align 8
%24 = fptoui double %23 to i64
%25 = urem i64 %24, 4294967296
%26 = trunc i64 %25 to i32
%27 = uitofp i32 %26 to double
store double %27, ptr %4, align 8
%28 = load double, ptr %4, align 8
%29 = fcmp oge double %28, 0x41F0000000000000
br i1 %29, label %30, label %32
30: ; preds = %20
%31 = call i32 (...) @abort() #2
unreachable
32: ; preds = %20
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsm16kwkh.c'
source_filename = "/tmp/tmpsm16kwkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"%2d\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 void @showAsFatBoard(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %37, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 37
br i1 %7, label %8, label %40
8: ; preds = %5
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %15, %8
%10 = load i32, ptr %4, 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 (ptr, ...) @printf(ptr noundef @.str)
br label %15
15: ; preds = %13
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
br label %9, !llvm.loop !6
18: ; preds = %9
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %32, %18
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 37
br i1 %21, label %22, label %35
22: ; preds = %19
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = mul nsw i32 %24, 37
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %23, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %22
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %19, !llvm.loop !8
35: ; preds = %19
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %5, !llvm.loop !9
40: ; preds = %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsm16kwkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"%2d\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 void @showAsFatBoard(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 37
br i1 %6, label %.lr.ph5, label %44
.lr.ph5: ; preds = %1
br label %7
7: ; preds = %.lr.ph5, %39
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %19
.lr.ph: ; preds = %7
br label %11
11: ; preds = %.lr.ph, %13
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %11
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %7
store i32 0, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 37
br i1 %21, label %.lr.ph2, label %37
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %32
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = mul nsw i32 %24, 37
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %23, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %22
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 37
br i1 %36, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %37
37: ; preds = %._crit_edge3, %19
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %37
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %42, 37
br i1 %43, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %39
br label %44
44: ; preds = %._crit_edge6, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4d_iv3o6.c'
source_filename = "/tmp/tmp4d_iv3o6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_base64_decode_triple(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 3, ptr %8, align 4
store i32 1, ptr %9, align 4
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %24, %2
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %27
14: ; preds = %11
%15 = load ptr, ptr %4, 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 = call i32 @_base64_char_value(i8 noundef signext %19)
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %14
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %11, !llvm.loop !6
27: ; preds = %11
store i32 3, ptr %6, align 4
br label %28
28: ; preds = %56, %27
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %31, label %59
31: ; preds = %28
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %55
37: ; preds = %31
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %54
40: ; preds = %37
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 61
br i1 %47, label %48, label %54
48: ; preds = %40
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %50
store i32 0, ptr %51, align 4
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %8, align 4
br label %56
54: ; preds = %40, %37
store i32 0, ptr %3, align 4
br label %115
55: ; preds = %31
store i32 0, ptr %9, align 4
br label %56
56: ; preds = %55, %48
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, -1
store i32 %58, ptr %6, align 4
br label %28, !llvm.loop !8
59: ; preds = %28
%60 = load i32, ptr %8, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %59
store i32 0, ptr %8, align 4
br label %63
63: ; preds = %62, %59
%64 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%65 = load i32, ptr %64, align 16
store i32 %65, ptr %7, align 4
%66 = load i32, ptr %7, align 4
%67 = mul nsw i32 %66, 64
store i32 %67, ptr %7, align 4
%68 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 1
%69 = load i32, ptr %68, align 4
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, %69
store i32 %71, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = mul nsw i32 %72, 64
store i32 %73, ptr %7, align 4
%74 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 2
%75 = load i32, ptr %74, align 8
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %7, align 4
%78 = load i32, ptr %7, align 4
%79 = mul nsw i32 %78, 64
store i32 %79, ptr %7, align 4
%80 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 3
%81 = load i32, ptr %80, align 4
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %7, align 4
%84 = load i32, ptr %8, align 4
store i32 %84, ptr %6, align 4
br label %85
85: ; preds = %91, %63
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %86, 3
br i1 %87, label %88, label %94
88: ; preds = %85
%89 = load i32, ptr %7, align 4
%90 = sdiv i32 %89, 256
store i32 %90, ptr %7, align 4
br label %91
91: ; preds = %88
%92 = load i32, ptr %6, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %6, align 4
br label %85, !llvm.loop !9
94: ; preds = %85
%95 = load i32, ptr %8, align 4
%96 = sub nsw i32 %95, 1
store i32 %96, ptr %6, align 4
br label %97
97: ; preds = %110, %94
%98 = load i32, ptr %6, align 4
%99 = icmp sge i32 %98, 0
br i1 %99, label %100, label %113
100: ; preds = %97
%101 = load i32, ptr %7, align 4
%102 = srem i32 %101, 256
%103 = trunc i32 %102 to i8
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %6, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
store i8 %103, ptr %107, align 1
%108 = load i32, ptr %7, align 4
%109 = sdiv i32 %108, 256
store i32 %109, ptr %7, align 4
br label %110
110: ; preds = %100
%111 = load i32, ptr %6, align 4
%112 = add nsw i32 %111, -1
store i32 %112, ptr %6, align 4
br label %97, !llvm.loop !10
113: ; preds = %97
%114 = load i32, ptr %8, align 4
store i32 %114, ptr %3, align 4
br label %115
115: ; preds = %113, %54
%116 = load i32, ptr %3, align 4
ret i32 %116
}
declare i32 @_base64_char_value(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4d_iv3o6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_base64_decode_triple(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [4 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 3, ptr %8, align 4
store i32 1, ptr %9, align 4
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %23
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @_base64_char_value(i8 noundef signext %18)
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %21
store i32 %19, ptr %22, align 4
br label %23
23: ; preds = %13
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 4
br i1 %27, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %2
store i32 3, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %.lr.ph2, label %61
.lr.ph2: ; preds = %28
br label %31
31: ; preds = %.lr.ph2, %56
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %55
37: ; preds = %31
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %54
40: ; preds = %37
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 61
br i1 %47, label %48, label %54
48: ; preds = %40
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 %50
store i32 0, ptr %51, align 4
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %8, align 4
br label %56
54: ; preds = %40, %37
store i32 0, ptr %3, align 4
br label %119
55: ; preds = %31
store i32 0, ptr %9, align 4
br label %56
56: ; preds = %55, %48
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, -1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp sge i32 %59, 0
br i1 %60, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %61
61: ; preds = %._crit_edge3, %28
%62 = load i32, ptr %8, align 4
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 0, ptr %8, align 4
br label %65
65: ; preds = %64, %61
%66 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%67 = load i32, ptr %66, align 16
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %7, align 4
%69 = mul nsw i32 %68, 64
store i32 %69, ptr %7, align 4
%70 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 1
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %7, align 4
%73 = add nsw i32 %72, %71
store i32 %73, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = mul nsw i32 %74, 64
store i32 %75, ptr %7, align 4
%76 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 2
%77 = load i32, ptr %76, align 8
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %7, align 4
%80 = load i32, ptr %7, align 4
%81 = mul nsw i32 %80, 64
store i32 %81, ptr %7, align 4
%82 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 3
%83 = load i32, ptr %82, align 4
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, %83
store i32 %85, ptr %7, align 4
%86 = load i32, ptr %8, align 4
store i32 %86, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %87, 3
br i1 %88, label %.lr.ph5, label %97
.lr.ph5: ; preds = %65
br label %89
89: ; preds = %.lr.ph5, %92
%90 = load i32, ptr %7, align 4
%91 = sdiv i32 %90, 256
store i32 %91, ptr %7, align 4
br label %92
92: ; preds = %89
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %6, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %95, 3
br i1 %96, label %89, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %92
br label %97
97: ; preds = %._crit_edge6, %65
%98 = load i32, ptr %8, align 4
%99 = sub nsw i32 %98, 1
store i32 %99, ptr %6, align 4
%100 = load i32, ptr %6, align 4
%101 = icmp sge i32 %100, 0
br i1 %101, label %.lr.ph8, label %117
.lr.ph8: ; preds = %97
br label %102
102: ; preds = %.lr.ph8, %112
%103 = load i32, ptr %7, align 4
%104 = srem i32 %103, 256
%105 = trunc i32 %104 to i8
%106 = load ptr, ptr %5, align 8
%107 = load i32, ptr %6, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, ptr %106, i64 %108
store i8 %105, ptr %109, align 1
%110 = load i32, ptr %7, align 4
%111 = sdiv i32 %110, 256
store i32 %111, ptr %7, align 4
br label %112
112: ; preds = %102
%113 = load i32, ptr %6, align 4
%114 = add nsw i32 %113, -1
store i32 %114, ptr %6, align 4
%115 = load i32, ptr %6, align 4
%116 = icmp sge i32 %115, 0
br i1 %116, label %102, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %112
br label %117
117: ; preds = %._crit_edge9, %97
%118 = load i32, ptr %8, align 4
store i32 %118, ptr %3, align 4
br label %119
119: ; preds = %117, %54
%120 = load i32, ptr %3, align 4
ret i32 %120
}
declare i32 @_base64_char_value(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpay9nxi1_.c'
source_filename = "/tmp/tmpay9nxi1_.c"
target datalayout = "e-m:e-p270: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/tmpay9nxi1_.c"
target datalayout = "e-m:e-p270: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/tmp880idpv0.c'
source_filename = "/tmp/tmp880idpv0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hints() #0 {
%1 = call i32 (...) @__builtin_arm_nop()
%2 = call i32 (...) @__builtin_arm_yield()
%3 = call i32 (...) @__builtin_arm_wfe()
%4 = call i32 (...) @__builtin_arm_wfi()
%5 = call i32 (...) @__builtin_arm_sev()
%6 = call i32 (...) @__builtin_arm_sevl()
ret void
}
declare i32 @__builtin_arm_nop(...) #1
declare i32 @__builtin_arm_yield(...) #1
declare i32 @__builtin_arm_wfe(...) #1
declare i32 @__builtin_arm_wfi(...) #1
declare i32 @__builtin_arm_sev(...) #1
declare i32 @__builtin_arm_sevl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp880idpv0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hints() #0 {
%1 = call i32 (...) @__builtin_arm_nop()
%2 = call i32 (...) @__builtin_arm_yield()
%3 = call i32 (...) @__builtin_arm_wfe()
%4 = call i32 (...) @__builtin_arm_wfi()
%5 = call i32 (...) @__builtin_arm_sev()
%6 = call i32 (...) @__builtin_arm_sevl()
ret void
}
declare i32 @__builtin_arm_nop(...) #1
declare i32 @__builtin_arm_yield(...) #1
declare i32 @__builtin_arm_wfe(...) #1
declare i32 @__builtin_arm_wfi(...) #1
declare i32 @__builtin_arm_sev(...) #1
declare i32 @__builtin_arm_sevl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2_3fxhjv.c'
source_filename = "/tmp/tmp2_3fxhjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input x,y\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@M_PI = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load float, ptr %3, align 4
%8 = load float, ptr %2, align 4
%9 = call i32 @atan2(float noundef %7, float noundef %8)
%10 = mul nsw i32 %9, 180
%11 = load i32, ptr @M_PI, align 4
%12 = sdiv i32 %10, %11
%13 = sitofp i32 %12 to float
store float %13, ptr %4, align 4
%14 = load float, ptr %4, align 4
%15 = fcmp olt float %14, 0.000000e+00
br i1 %15, label %16, label %19
16: ; preds = %0
%17 = load float, ptr %4, align 4
%18 = fadd float %17, 3.600000e+02
store float %18, ptr %4, align 4
br label %19
19: ; preds = %16, %0
%20 = load float, ptr %4, align 4
%21 = fpext float %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %21)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @atan2(float 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_3fxhjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input x,y\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@M_PI = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load float, ptr %3, align 4
%8 = load float, ptr %2, align 4
%9 = call i32 @atan2(float noundef %7, float noundef %8)
%10 = mul nsw i32 %9, 180
%11 = load i32, ptr @M_PI, align 4
%12 = sdiv i32 %10, %11
%13 = sitofp i32 %12 to float
store float %13, ptr %4, align 4
%14 = load float, ptr %4, align 4
%15 = fcmp olt float %14, 0.000000e+00
br i1 %15, label %16, label %19
16: ; preds = %0
%17 = load float, ptr %4, align 4
%18 = fadd float %17, 3.600000e+02
store float %18, ptr %4, align 4
br label %19
19: ; preds = %16, %0
%20 = load float, ptr %4, align 4
%21 = fpext float %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %21)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @atan2(float 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"}
|
; ModuleID = '/tmp/tmps9z0ak7d.c'
source_filename = "/tmp/tmps9z0ak7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @evenlyDivisible()
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 @evenlyDivisible(...) #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/tmps9z0ak7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @evenlyDivisible()
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 @evenlyDivisible(...) #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/tmpnu_ug9nb.c'
source_filename = "/tmp/tmpnu_ug9nb.c"
target datalayout = "e-m:e-p270: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/tmpnu_ug9nb.c"
target datalayout = "e-m:e-p270: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/tmpsdorxso1.c'
source_filename = "/tmp/tmpsdorxso1.c"
target datalayout = "e-m:e-p270: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/tmpsdorxso1.c"
target datalayout = "e-m:e-p270: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/tmp8v9345_q.c'
source_filename = "/tmp/tmp8v9345_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @hoof_hook_fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i64 @fwrite(ptr noundef %9, i64 noundef %10, i64 noundef %11, ptr noundef %12)
ret i64 %13
}
declare i64 @fwrite(ptr noundef, i64 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/tmp8v9345_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @hoof_hook_fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i64 @fwrite(ptr noundef %9, i64 noundef %10, i64 noundef %11, ptr noundef %12)
ret i64 %13
}
declare i64 @fwrite(ptr noundef, i64 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/tmpvvqm0ws1.c'
source_filename = "/tmp/tmpvvqm0ws1.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"MIFER Shadow BIOS ROM Utility:\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"input file = %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"output file = %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Conversion to DAT complete\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = 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
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @filename_ext(ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16)
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %7, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 @make_hex(ptr noundef %21, ptr noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.3)
%26 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %26
}
declare ptr @filename_ext(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @make_hex(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/tmpvvqm0ws1.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"MIFER Shadow BIOS ROM Utility:\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"input file = %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"output file = %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Conversion to DAT complete\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = 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
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @filename_ext(ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %6, align 8
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16)
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %7, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 @make_hex(ptr noundef %21, ptr noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.3)
%26 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %26
}
declare ptr @filename_ext(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @make_hex(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/tmpcd609huq.c'
source_filename = "/tmp/tmpcd609huq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Error: Connection Failed \00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Connection Established\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Server Socket %d Connected\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_connection(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = call i32 @perror(ptr noundef @.str)
%7 = load i32, ptr @errno, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
9: ; preds = %1
%10 = call i32 (ptr, ...) @debugprintf(ptr noundef @.str.1)
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @debugprintf(ptr noundef @.str.2, i32 noundef %11)
br label %13
13: ; preds = %9
ret void
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @debugprintf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpcd609huq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Error: Connection Failed \00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Connection Established\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Server Socket %d Connected\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_connection(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = call i32 @perror(ptr noundef @.str)
%7 = load i32, ptr @errno, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
9: ; preds = %1
%10 = call i32 (ptr, ...) @debugprintf(ptr noundef @.str.1)
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @debugprintf(ptr noundef @.str.2, i32 noundef %11)
br label %13
13: ; preds = %9
ret void
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @debugprintf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpnmsr1qwg.c'
source_filename = "/tmp/tmpnmsr1qwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @cudaFree(ptr noundef %3)
%5 = call i32 @R(i32 noundef %4)
ret i32 %5
}
declare i32 @R(i32 noundef) #1
declare i32 @cudaFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnmsr1qwg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @cudaFree(ptr noundef %3)
%5 = call i32 @R(i32 noundef %4)
ret i32 %5
}
declare i32 @R(i32 noundef) #1
declare i32 @cudaFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp5dzst5z.c'
source_filename = "/tmp/tmpp5dzst5z.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [13 x i8] c"\0AEnd Tag:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @end(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store ptr null, ptr %9, align 8
%10 = load ptr, ptr %8, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = load ptr, ptr %8, align 8
store ptr %13, ptr %9, align 8
br label %16
14: ; preds = %4
%15 = load ptr, ptr @stderr, align 8
store ptr %15, ptr %9, align 8
br label %16
16: ; preds = %14, %12
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
ret i32 0
}
declare i32 @fprintf(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/tmpp5dzst5z.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [13 x i8] c"\0AEnd Tag:%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @end(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store ptr null, ptr %9, align 8
%10 = load ptr, ptr %8, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = load ptr, ptr %8, align 8
store ptr %13, ptr %9, align 8
br label %16
14: ; preds = %4
%15 = load ptr, ptr @stderr, align 8
store ptr %15, ptr %9, align 8
br label %16
16: ; preds = %14, %12
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
ret i32 0
}
declare i32 @fprintf(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/tmpmxsqqc6f.c'
source_filename = "/tmp/tmpmxsqqc6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%+8X : %s [%s (%u)]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @printb(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call ptr @bin(i32 noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %6, ptr noundef %7, ptr noundef %9, i32 noundef %10)
%12 = load i8, ptr %3, align 1
ret i8 %12
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @bin(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/tmpmxsqqc6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%+8X : %s [%s (%u)]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @printb(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call ptr @bin(i32 noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %6, ptr noundef %7, ptr noundef %9, i32 noundef %10)
%12 = load i8, ptr %3, align 1
ret i8 %12
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @bin(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/tmpo6zroork.c'
source_filename = "/tmp/tmpo6zroork.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @cimpl_test()
ret i32 0
}
declare i32 @cimpl_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6zroork.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @cimpl_test()
ret i32 0
}
declare i32 @cimpl_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbibdj88p.c'
source_filename = "/tmp/tmpbibdj88p.c"
target datalayout = "e-m:e-p270: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/tmpbibdj88p.c"
target datalayout = "e-m:e-p270: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/tmpnget13ku.c'
source_filename = "/tmp/tmpnget13ku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [58 x i8] c"Stencil: Time =%18.16f sec, MLups/s=%18.16f, sum=%18.16f\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 double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = 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 double 2.500000e-01, ptr %9, align 8
store i32 2, ptr %10, align 4
store double 0.000000e+00, ptr %11, align 8
store i32 1022, ptr %12, align 4
store i32 1022, ptr %13, align 4
%21 = load i32, ptr %12, align 4
%22 = add nsw i32 %21, 2
%23 = load i32, ptr %13, align 4
%24 = add nsw i32 %23, 2
%25 = call ptr @malloc_2d(i32 noundef %22, i32 noundef %24)
store ptr %25, ptr %7, align 8
%26 = load i32, ptr %12, align 4
%27 = add nsw i32 %26, 2
%28 = load i32, ptr %13, align 4
%29 = add nsw i32 %28, 2
%30 = call ptr @malloc_2d(i32 noundef %27, i32 noundef %29)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %13, align 4
%34 = call i32 @init(ptr noundef %31, i32 noundef %32, i32 noundef %33)
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %13, align 4
%38 = call i32 @init(ptr noundef %35, i32 noundef %36, i32 noundef %37)
%39 = call i64 (...) @clock()
store i64 %39, ptr %14, align 8
store i32 0, ptr %20, align 4
br label %40
40: ; preds = %188, %2
%41 = load i32, ptr %20, align 4
%42 = icmp slt i32 %41, 2
br i1 %42, label %43, label %191
43: ; preds = %40
store i32 1, ptr %18, align 4
br label %44
44: ; preds = %112, %43
%45 = load i32, ptr %18, align 4
%46 = load i32, ptr %12, align 4
%47 = add nsw i32 %46, 1
%48 = icmp slt i32 %45, %47
br i1 %48, label %49, label %115
49: ; preds = %44
store i32 1, ptr %19, align 4
br label %50
50: ; preds = %108, %49
%51 = load i32, ptr %19, align 4
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %52, 1
%54 = icmp slt i32 %51, %53
br i1 %54, label %55, label %111
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %18, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %56, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %19, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr %18, align 4
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %66, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %19, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = fadd double %65, %75
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %18, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr %19, align 4
%83 = sub nsw i32 %82, 1
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %81, i64 %84
%86 = load double, ptr %85, align 8
%87 = fadd double %76, %86
%88 = load ptr, ptr %7, align 8
%89 = load i32, ptr %18, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %19, align 4
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %92, i64 %95
%97 = load double, ptr %96, align 8
%98 = fadd double %87, %97
%99 = fmul double 2.500000e-01, %98
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %18, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds ptr, ptr %100, i64 %102
%104 = load ptr, ptr %103, align 8
%105 = load i32, ptr %19, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
store double %99, ptr %107, align 8
br label %108
108: ; preds = %55
%109 = load i32, ptr %19, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %19, align 4
br label %50, !llvm.loop !6
111: ; preds = %50
br label %112
112: ; preds = %111
%113 = load i32, ptr %18, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %18, align 4
br label %44, !llvm.loop !8
115: ; preds = %44
store i32 1, ptr %18, align 4
br label %116
116: ; preds = %184, %115
%117 = load i32, ptr %18, align 4
%118 = load i32, ptr %12, align 4
%119 = add nsw i32 %118, 1
%120 = icmp slt i32 %117, %119
br i1 %120, label %121, label %187
121: ; preds = %116
store i32 1, ptr %19, align 4
br label %122
122: ; preds = %180, %121
%123 = load i32, ptr %19, align 4
%124 = load i32, ptr %13, align 4
%125 = add nsw i32 %124, 1
%126 = icmp slt i32 %123, %125
br i1 %126, label %127, label %183
127: ; preds = %122
%128 = load ptr, ptr %8, align 8
%129 = load i32, ptr %18, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds ptr, ptr %128, i64 %131
%133 = load ptr, ptr %132, align 8
%134 = load i32, ptr %19, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %133, i64 %135
%137 = load double, ptr %136, align 8
%138 = load ptr, ptr %8, align 8
%139 = load i32, ptr %18, align 4
%140 = add nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %138, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %19, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds double, ptr %143, i64 %145
%147 = load double, ptr %146, align 8
%148 = fadd double %137, %147
%149 = load ptr, ptr %8, align 8
%150 = load i32, ptr %18, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds ptr, ptr %149, i64 %151
%153 = load ptr, ptr %152, align 8
%154 = load i32, ptr %19, align 4
%155 = sub nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %153, i64 %156
%158 = load double, ptr %157, align 8
%159 = fadd double %148, %158
%160 = load ptr, ptr %8, align 8
%161 = load i32, ptr %18, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds ptr, ptr %160, i64 %162
%164 = load ptr, ptr %163, align 8
%165 = load i32, ptr %19, align 4
%166 = add nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %164, i64 %167
%169 = load double, ptr %168, align 8
%170 = fadd double %159, %169
%171 = fmul double 2.500000e-01, %170
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %18, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds ptr, ptr %172, i64 %174
%176 = load ptr, ptr %175, align 8
%177 = load i32, ptr %19, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
store double %171, ptr %179, align 8
br label %180
180: ; preds = %127
%181 = load i32, ptr %19, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %19, align 4
br label %122, !llvm.loop !9
183: ; preds = %122
br label %184
184: ; preds = %183
%185 = load i32, ptr %18, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %18, align 4
br label %116, !llvm.loop !10
187: ; preds = %116
br label %188
188: ; preds = %187
%189 = load i32, ptr %20, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %20, align 4
br label %40, !llvm.loop !11
191: ; preds = %40
store double 0.000000e+00, ptr %17, align 8
store i32 1, ptr %18, align 4
br label %192
192: ; preds = %219, %191
%193 = load i32, ptr %18, align 4
%194 = load i32, ptr %12, align 4
%195 = add nsw i32 %194, 1
%196 = icmp slt i32 %193, %195
br i1 %196, label %197, label %222
197: ; preds = %192
store i32 1, ptr %19, align 4
br label %198
198: ; preds = %215, %197
%199 = load i32, ptr %19, align 4
%200 = load i32, ptr %13, align 4
%201 = add nsw i32 %200, 1
%202 = icmp slt i32 %199, %201
br i1 %202, label %203, label %218
203: ; preds = %198
%204 = load ptr, ptr %7, align 8
%205 = load i32, ptr %18, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds ptr, ptr %204, i64 %206
%208 = load ptr, ptr %207, align 8
%209 = load i32, ptr %19, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds double, ptr %208, i64 %210
%212 = load double, ptr %211, align 8
%213 = load double, ptr %17, align 8
%214 = fadd double %213, %212
store double %214, ptr %17, align 8
br label %215
215: ; preds = %203
%216 = load i32, ptr %19, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %19, align 4
br label %198, !llvm.loop !12
218: ; preds = %198
br label %219
219: ; preds = %218
%220 = load i32, ptr %18, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %18, align 4
br label %192, !llvm.loop !13
222: ; preds = %192
%223 = load ptr, ptr %7, align 8
%224 = call i32 @free_2d(ptr noundef %223)
%225 = load ptr, ptr %8, align 8
%226 = call i32 @free_2d(ptr noundef %225)
%227 = load i32, ptr %12, align 4
%228 = mul nsw i32 2, %227
%229 = load i32, ptr %13, align 4
%230 = mul nsw i32 %228, %229
%231 = sitofp i32 %230 to double
%232 = fmul double %231, 0x3EB0C6F7A0B5ED8D
store double %232, ptr %11, align 8
%233 = call i64 (...) @clock()
store i64 %233, ptr %15, align 8
%234 = load i64, ptr %15, align 8
%235 = load i64, ptr %14, align 8
%236 = sub nsw i64 %234, %235
%237 = sitofp i64 %236 to double
%238 = load double, ptr @CLOCKS_PER_SEC, align 8
%239 = fdiv double %237, %238
store double %239, ptr %16, align 8
%240 = load double, ptr %16, align 8
%241 = load double, ptr %11, align 8
%242 = load double, ptr %16, align 8
%243 = fdiv double %241, %242
%244 = load double, ptr %17, align 8
%245 = call i32 @printf(ptr noundef @.str, double noundef %240, double noundef %243, double noundef %244)
ret i32 0
}
declare ptr @malloc_2d(i32 noundef, i32 noundef) #1
declare i32 @init(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @clock(...) #1
declare i32 @free_2d(ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnget13ku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [58 x i8] c"Stencil: Time =%18.16f sec, MLups/s=%18.16f, sum=%18.16f\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 double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = 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 double 2.500000e-01, ptr %9, align 8
store i32 2, ptr %10, align 4
store double 0.000000e+00, ptr %11, align 8
store i32 1022, ptr %12, align 4
store i32 1022, ptr %13, align 4
%21 = load i32, ptr %12, align 4
%22 = add nsw i32 %21, 2
%23 = load i32, ptr %13, align 4
%24 = add nsw i32 %23, 2
%25 = call ptr @malloc_2d(i32 noundef %22, i32 noundef %24)
store ptr %25, ptr %7, align 8
%26 = load i32, ptr %12, align 4
%27 = add nsw i32 %26, 2
%28 = load i32, ptr %13, align 4
%29 = add nsw i32 %28, 2
%30 = call ptr @malloc_2d(i32 noundef %27, i32 noundef %29)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %13, align 4
%34 = call i32 @init(ptr noundef %31, i32 noundef %32, i32 noundef %33)
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %13, align 4
%38 = call i32 @init(ptr noundef %35, i32 noundef %36, i32 noundef %37)
%39 = call i64 (...) @clock()
store i64 %39, ptr %14, align 8
store i32 0, ptr %20, align 4
%40 = load i32, ptr %20, align 4
%41 = icmp slt i32 %40, 2
br i1 %41, label %.lr.ph11, label %204
.lr.ph11: ; preds = %2
br label %42
42: ; preds = %.lr.ph11, %199
store i32 1, ptr %18, align 4
%43 = load i32, ptr %18, align 4
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
%46 = icmp slt i32 %43, %45
br i1 %46, label %.lr.ph2, label %120
.lr.ph2: ; preds = %42
br label %47
47: ; preds = %.lr.ph2, %113
store i32 1, ptr %19, align 4
%48 = load i32, ptr %19, align 4
%49 = load i32, ptr %13, align 4
%50 = add nsw i32 %49, 1
%51 = icmp slt i32 %48, %50
br i1 %51, label %.lr.ph, label %112
.lr.ph: ; preds = %47
br label %52
52: ; preds = %.lr.ph, %105
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %18, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %53, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %19, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %18, align 4
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %63, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %19, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %68, i64 %70
%72 = load double, ptr %71, align 8
%73 = fadd double %62, %72
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %18, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load i32, ptr %19, align 4
%80 = sub nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, ptr %78, i64 %81
%83 = load double, ptr %82, align 8
%84 = fadd double %73, %83
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %18, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds ptr, ptr %85, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = load i32, ptr %19, align 4
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %89, i64 %92
%94 = load double, ptr %93, align 8
%95 = fadd double %84, %94
%96 = fmul double 2.500000e-01, %95
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %18, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = load i32, ptr %19, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %101, i64 %103
store double %96, ptr %104, align 8
br label %105
105: ; preds = %52
%106 = load i32, ptr %19, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %19, align 4
%108 = load i32, ptr %19, align 4
%109 = load i32, ptr %13, align 4
%110 = add nsw i32 %109, 1
%111 = icmp slt i32 %108, %110
br i1 %111, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %105
br label %112
112: ; preds = %._crit_edge, %47
br label %113
113: ; preds = %112
%114 = load i32, ptr %18, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %18, align 4
%116 = load i32, ptr %18, align 4
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 %117, 1
%119 = icmp slt i32 %116, %118
br i1 %119, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %113
br label %120
120: ; preds = %._crit_edge3, %42
store i32 1, ptr %18, align 4
%121 = load i32, ptr %18, align 4
%122 = load i32, ptr %12, align 4
%123 = add nsw i32 %122, 1
%124 = icmp slt i32 %121, %123
br i1 %124, label %.lr.ph8, label %198
.lr.ph8: ; preds = %120
br label %125
125: ; preds = %.lr.ph8, %191
store i32 1, ptr %19, align 4
%126 = load i32, ptr %19, align 4
%127 = load i32, ptr %13, align 4
%128 = add nsw i32 %127, 1
%129 = icmp slt i32 %126, %128
br i1 %129, label %.lr.ph5, label %190
.lr.ph5: ; preds = %125
br label %130
130: ; preds = %.lr.ph5, %183
%131 = load ptr, ptr %8, align 8
%132 = load i32, ptr %18, align 4
%133 = sub nsw i32 %132, 1
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds ptr, ptr %131, i64 %134
%136 = load ptr, ptr %135, align 8
%137 = load i32, ptr %19, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
%140 = load double, ptr %139, align 8
%141 = load ptr, ptr %8, align 8
%142 = load i32, ptr %18, align 4
%143 = add nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds ptr, ptr %141, i64 %144
%146 = load ptr, ptr %145, align 8
%147 = load i32, ptr %19, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %146, i64 %148
%150 = load double, ptr %149, align 8
%151 = fadd double %140, %150
%152 = load ptr, ptr %8, align 8
%153 = load i32, ptr %18, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds ptr, ptr %152, i64 %154
%156 = load ptr, ptr %155, align 8
%157 = load i32, ptr %19, align 4
%158 = sub nsw i32 %157, 1
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, ptr %156, i64 %159
%161 = load double, ptr %160, align 8
%162 = fadd double %151, %161
%163 = load ptr, ptr %8, align 8
%164 = load i32, ptr %18, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds ptr, ptr %163, i64 %165
%167 = load ptr, ptr %166, align 8
%168 = load i32, ptr %19, align 4
%169 = add nsw i32 %168, 1
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %167, i64 %170
%172 = load double, ptr %171, align 8
%173 = fadd double %162, %172
%174 = fmul double 2.500000e-01, %173
%175 = load ptr, ptr %7, align 8
%176 = load i32, ptr %18, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %175, i64 %177
%179 = load ptr, ptr %178, align 8
%180 = load i32, ptr %19, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %179, i64 %181
store double %174, ptr %182, align 8
br label %183
183: ; preds = %130
%184 = load i32, ptr %19, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %19, align 4
%186 = load i32, ptr %19, align 4
%187 = load i32, ptr %13, align 4
%188 = add nsw i32 %187, 1
%189 = icmp slt i32 %186, %188
br i1 %189, label %130, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %183
br label %190
190: ; preds = %._crit_edge6, %125
br label %191
191: ; preds = %190
%192 = load i32, ptr %18, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %18, align 4
%194 = load i32, ptr %18, align 4
%195 = load i32, ptr %12, align 4
%196 = add nsw i32 %195, 1
%197 = icmp slt i32 %194, %196
br i1 %197, label %125, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %191
br label %198
198: ; preds = %._crit_edge9, %120
br label %199
199: ; preds = %198
%200 = load i32, ptr %20, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %20, align 4
%202 = load i32, ptr %20, align 4
%203 = icmp slt i32 %202, 2
br i1 %203, label %42, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %199
br label %204
204: ; preds = %._crit_edge12, %2
store double 0.000000e+00, ptr %17, align 8
store i32 1, ptr %18, align 4
%205 = load i32, ptr %18, align 4
%206 = load i32, ptr %12, align 4
%207 = add nsw i32 %206, 1
%208 = icmp slt i32 %205, %207
br i1 %208, label %.lr.ph17, label %241
.lr.ph17: ; preds = %204
br label %209
209: ; preds = %.lr.ph17, %234
store i32 1, ptr %19, align 4
%210 = load i32, ptr %19, align 4
%211 = load i32, ptr %13, align 4
%212 = add nsw i32 %211, 1
%213 = icmp slt i32 %210, %212
br i1 %213, label %.lr.ph14, label %233
.lr.ph14: ; preds = %209
br label %214
214: ; preds = %.lr.ph14, %226
%215 = load ptr, ptr %7, align 8
%216 = load i32, ptr %18, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds ptr, ptr %215, i64 %217
%219 = load ptr, ptr %218, align 8
%220 = load i32, ptr %19, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds double, ptr %219, i64 %221
%223 = load double, ptr %222, align 8
%224 = load double, ptr %17, align 8
%225 = fadd double %224, %223
store double %225, ptr %17, align 8
br label %226
226: ; preds = %214
%227 = load i32, ptr %19, align 4
%228 = add nsw i32 %227, 1
store i32 %228, ptr %19, align 4
%229 = load i32, ptr %19, align 4
%230 = load i32, ptr %13, align 4
%231 = add nsw i32 %230, 1
%232 = icmp slt i32 %229, %231
br i1 %232, label %214, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %226
br label %233
233: ; preds = %._crit_edge15, %209
br label %234
234: ; preds = %233
%235 = load i32, ptr %18, align 4
%236 = add nsw i32 %235, 1
store i32 %236, ptr %18, align 4
%237 = load i32, ptr %18, align 4
%238 = load i32, ptr %12, align 4
%239 = add nsw i32 %238, 1
%240 = icmp slt i32 %237, %239
br i1 %240, label %209, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %234
br label %241
241: ; preds = %._crit_edge18, %204
%242 = load ptr, ptr %7, align 8
%243 = call i32 @free_2d(ptr noundef %242)
%244 = load ptr, ptr %8, align 8
%245 = call i32 @free_2d(ptr noundef %244)
%246 = load i32, ptr %12, align 4
%247 = mul nsw i32 2, %246
%248 = load i32, ptr %13, align 4
%249 = mul nsw i32 %247, %248
%250 = sitofp i32 %249 to double
%251 = fmul double %250, 0x3EB0C6F7A0B5ED8D
store double %251, ptr %11, align 8
%252 = call i64 (...) @clock()
store i64 %252, ptr %15, align 8
%253 = load i64, ptr %15, align 8
%254 = load i64, ptr %14, align 8
%255 = sub nsw i64 %253, %254
%256 = sitofp i64 %255 to double
%257 = load double, ptr @CLOCKS_PER_SEC, align 8
%258 = fdiv double %256, %257
store double %258, ptr %16, align 8
%259 = load double, ptr %16, align 8
%260 = load double, ptr %11, align 8
%261 = load double, ptr %16, align 8
%262 = fdiv double %260, %261
%263 = load double, ptr %17, align 8
%264 = call i32 @printf(ptr noundef @.str, double noundef %259, double noundef %262, double noundef %263)
ret i32 0
}
declare ptr @malloc_2d(i32 noundef, i32 noundef) #1
declare i32 @init(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @clock(...) #1
declare i32 @free_2d(ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpgbac1nwn.c'
source_filename = "/tmp/tmpgbac1nwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"cs530\09stat\09user\09%d\09%lld\09\22%s\22\0A\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define dso_local i32 @stat_printk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = call i64 (...) @rdtsc_ordered()
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @syscall(i32 noundef 547, ptr noundef %9, ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = call i64 (...) @rdtsc_ordered()
store i64 %12, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %5, align 8
%16 = sub i64 %14, %15
%17 = load ptr, ptr %3, align 8
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i64 noundef %16, ptr noundef %17)
%19 = load i32, ptr %7, align 4
ret i32 %19
}
declare i64 @rdtsc_ordered(...) #1
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgbac1nwn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"cs530\09stat\09user\09%d\09%lld\09\22%s\22\0A\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define dso_local i32 @stat_printk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = call i64 (...) @rdtsc_ordered()
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @syscall(i32 noundef 547, ptr noundef %9, ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = call i64 (...) @rdtsc_ordered()
store i64 %12, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %5, align 8
%16 = sub i64 %14, %15
%17 = load ptr, ptr %3, align 8
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i64 noundef %16, ptr noundef %17)
%19 = load i32, ptr %7, align 4
ret i32 %19
}
declare i64 @rdtsc_ordered(...) #1
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuxgovkl9.c'
source_filename = "/tmp/tmpuxgovkl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = 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/tmpuxgovkl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = 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/tmpdfu27ag8.c'
source_filename = "/tmp/tmpdfu27ag8.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"%s in file:%s, line:%d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bt_error_fn(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdfu27ag8.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"%s in file:%s, line:%d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bt_error_fn(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz1155uf5.c'
source_filename = "/tmp/tmpz1155uf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @ya_getopt_internal(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
ret i32 %16
}
declare i32 @ya_getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1155uf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @ya_getopt_internal(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
ret i32 %16
}
declare i32 @ya_getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpstzavkv3.c'
source_filename = "/tmp/tmpstzavkv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glWindowPos3i(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @glWindowPos4f(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 1)
ret void
}
declare i32 @glWindowPos4f(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpstzavkv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glWindowPos3i(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @glWindowPos4f(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 1)
ret void
}
declare i32 @glWindowPos4f(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmply4rh6pa.c'
source_filename = "/tmp/tmply4rh6pa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [79 x i8] c"Test FAILED: %d seconds have elapsed and sigtimedwait() has not yet returned.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myhandler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 2)
%4 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmply4rh6pa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [79 x i8] c"Test FAILED: %d seconds have elapsed and sigtimedwait() has not yet returned.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myhandler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 2)
%4 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprdw23_jv.c'
source_filename = "/tmp/tmprdw23_jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [110 x i32], 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
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %19, %0
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %22
13: ; preds = %9
%14 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %13
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %9, !llvm.loop !6
22: ; preds = %9
store i32 0, ptr %5, align 4
br label %23
23: ; preds = %43, %22
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %46
27: ; preds = %23
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
br label %43
34: ; preds = %27
%35 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 0
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = call i32 @do_callatz(ptr noundef %35, i32 noundef %36, i32 noundef %40)
br label %42
42: ; preds = %34
br label %43
43: ; preds = %42, %33
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %23, !llvm.loop !8
46: ; preds = %23
%47 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 0
%48 = load i32, ptr %3, align 4
%49 = call i32 @sort(ptr noundef %47, i32 noundef %48)
store i32 %49, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %50
50: ; preds = %61, %46
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 1
%54 = icmp slt i32 %51, %53
br i1 %54, label %55, label %64
55: ; preds = %50
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = call i32 @printf(ptr noundef @.str.1, i32 noundef %59)
br label %61
61: ; preds = %55
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %50, !llvm.loop !9
64: ; preds = %50
%65 = load i32, ptr %6, align 4
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = call i32 @printf(ptr noundef @.str, i32 noundef %69)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @do_callatz(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sort(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprdw23_jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [110 x i32], 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
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %18
%13 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 0
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %12
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph2, label %50
.lr.ph2: ; preds = %24
br label %28
28: ; preds = %.lr.ph2, %44
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %28
br label %44
35: ; preds = %28
%36 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 0
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = call i32 @do_callatz(ptr noundef %36, i32 noundef %37, i32 noundef %41)
br label %43
43: ; preds = %35
br label %44
44: ; preds = %43, %34
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %24
%51 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 0
%52 = load i32, ptr %3, align 4
%53 = call i32 @sort(ptr noundef %51, i32 noundef %52)
store i32 %53, ptr %6, align 4
store i32 0, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %6, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %.lr.ph5, label %71
.lr.ph5: ; preds = %50
br label %58
58: ; preds = %.lr.ph5, %64
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = call i32 @printf(ptr noundef @.str.1, i32 noundef %62)
br label %64
64: ; preds = %58
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %6, align 4
%69 = sub nsw i32 %68, 1
%70 = icmp slt i32 %67, %69
br i1 %70, label %58, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %71
71: ; preds = %._crit_edge6, %50
%72 = load i32, ptr %6, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [110 x i32], ptr %2, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = call i32 @printf(ptr noundef @.str, i32 noundef %76)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @do_callatz(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sort(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpanjrykfr.c'
source_filename = "/tmp/tmpanjrykfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"&arr2= %p\0A&arr2[0]= %p\0A&arrr2[0][0]= %p\0Aarr2= %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [5 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca [5 x ptr], align 16
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i64 @malloc(i32 noundef 20)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %22, %0
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 5
br i1 %14, label %15, label %25
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %17, ptr %21, align 4
br label %22
22: ; preds = %15
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %12, !llvm.loop !6
25: ; preds = %12
%26 = call i64 @malloc(i32 noundef 20)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %28
28: ; preds = %38, %25
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %31, label %41
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 %33, ptr %37, align 4
br label %38
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %28, !llvm.loop !8
41: ; preds = %28
store i32 0, ptr %7, align 4
br label %42
42: ; preds = %56, %41
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %43, 5
br i1 %44, label %45, label %59
45: ; preds = %42
%46 = call i64 @malloc(i32 noundef 4)
%47 = inttoptr i64 %46 to ptr
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 %49
store ptr %47, ptr %50, align 8
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 %53
%55 = load ptr, ptr %54, align 8
store i32 %51, ptr %55, align 4
br label %56
56: ; preds = %45
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %42, !llvm.loop !9
59: ; preds = %42
store i32 0, ptr %9, align 4
br label %60
60: ; preds = %76, %59
%61 = load i32, ptr %9, align 4
%62 = icmp slt i32 %61, 5
br i1 %62, label %63, label %79
63: ; preds = %60
%64 = call i64 @malloc(i32 noundef 4)
%65 = inttoptr i64 %64 to ptr
%66 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 0
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
store ptr %65, ptr %69, align 8
%70 = load i32, ptr %9, align 4
%71 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 0
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
store i32 %70, ptr %75, align 4
br label %76
76: ; preds = %63
%77 = load i32, ptr %9, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %9, align 4
br label %60, !llvm.loop !10
79: ; preds = %60
%80 = getelementptr inbounds [5 x ptr], ptr %8, i64 0, i64 0
%81 = getelementptr inbounds [5 x ptr], ptr %8, i64 0, i64 0
%82 = load ptr, ptr %81, align 16
%83 = getelementptr inbounds i32, ptr %82, i64 0
%84 = getelementptr inbounds [5 x ptr], ptr %8, i64 0, i64 0
%85 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %80, ptr noundef %83, ptr noundef %84)
%86 = load i32, ptr %1, align 4
ret i32 %86
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpanjrykfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"&arr2= %p\0A&arr2[0]= %p\0A&arrr2[0][0]= %p\0Aarr2= %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [5 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca [5 x ptr], align 16
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i64 @malloc(i32 noundef 20)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %2, align 8
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 5
br i1 %13, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %21
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %14
%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 slt i32 %24, 5
br i1 %25, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
%27 = call i64 @malloc(i32 noundef 20)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %4, align 8
store i32 0, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %.lr.ph2, label %43
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %38
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 %33, ptr %37, align 4
br label %38
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %41, 5
br i1 %42, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %26
store i32 0, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %44, 5
br i1 %45, label %.lr.ph5, label %62
.lr.ph5: ; preds = %43
br label %46
46: ; preds = %.lr.ph5, %57
%47 = call i64 @malloc(i32 noundef 4)
%48 = inttoptr i64 %47 to ptr
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 %50
store ptr %48, ptr %51, align 8
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 %54
%56 = load ptr, ptr %55, align 8
store i32 %52, ptr %56, align 4
br label %57
57: ; preds = %46
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = icmp slt i32 %60, 5
br i1 %61, label %46, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %62
62: ; preds = %._crit_edge6, %43
store i32 0, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = icmp slt i32 %63, 5
br i1 %64, label %.lr.ph8, label %83
.lr.ph8: ; preds = %62
br label %65
65: ; preds = %.lr.ph8, %78
%66 = call i64 @malloc(i32 noundef 4)
%67 = inttoptr i64 %66 to ptr
%68 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 0
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
store ptr %67, ptr %71, align 8
%72 = load i32, ptr %9, align 4
%73 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 0
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
store i32 %72, ptr %77, align 4
br label %78
78: ; preds = %65
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = icmp slt i32 %81, 5
br i1 %82, label %65, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %78
br label %83
83: ; preds = %._crit_edge9, %62
%84 = getelementptr inbounds [5 x ptr], ptr %8, i64 0, i64 0
%85 = getelementptr inbounds [5 x ptr], ptr %8, i64 0, i64 0
%86 = load ptr, ptr %85, align 16
%87 = getelementptr inbounds i32, ptr %86, i64 0
%88 = getelementptr inbounds [5 x ptr], ptr %8, i64 0, i64 0
%89 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %84, ptr noundef %87, ptr noundef %88)
%90 = load i32, ptr %1, align 4
ret i32 %90
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp5208x_73.c'
source_filename = "/tmp/tmp5208x_73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pki_write_privatekey(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
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @BIO_new_file(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef null)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @BIO_free(ptr noundef %11)
ret void
}
declare ptr @BIO_new_file(ptr noundef, ptr noundef) #1
declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_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/tmp5208x_73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pki_write_privatekey(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
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @BIO_new_file(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef null)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @BIO_free(ptr noundef %11)
ret void
}
declare ptr @BIO_new_file(ptr noundef, ptr noundef) #1
declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_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/tmp1vjwbp0f.c'
source_filename = "/tmp/tmp1vjwbp0f.c"
target datalayout = "e-m:e-p270: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/tmp1vjwbp0f.c"
target datalayout = "e-m:e-p270: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/tmp3sy5je6j.c'
source_filename = "/tmp/tmp3sy5je6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bogobogosort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = call ptr @bogobogosort_rec(ptr noundef %14, i32 noundef %15)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 4
%22 = trunc i64 %21 to i32
%23 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %22)
store i32 0, ptr %5, align 4
br label %24
24: ; preds = %42, %2
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %45
28: ; preds = %24
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %33, %38
br i1 %39, label %40, label %41
40: ; preds = %28
br label %42
41: ; preds = %28
br label %42
42: ; preds = %41, %40
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %24, !llvm.loop !6
45: ; preds = %24
%46 = load ptr, ptr %6, align 8
ret ptr %46
}
declare i64 @malloc(i32 noundef) #1
declare ptr @bogobogosort_rec(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3sy5je6j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bogobogosort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = call ptr @bogobogosort_rec(ptr noundef %14, i32 noundef %15)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 4
%22 = trunc i64 %21 to i32
%23 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %22)
store i32 0, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %47
.lr.ph: ; preds = %2
br label %27
27: ; preds = %.lr.ph, %41
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = icmp eq i32 %32, %37
br i1 %38, label %39, label %40
39: ; preds = %27
br label %41
40: ; preds = %27
br label %41
41: ; preds = %40, %39
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %2
%48 = load ptr, ptr %6, align 8
ret ptr %48
}
declare i64 @malloc(i32 noundef) #1
declare ptr @bogobogosort_rec(ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbmgo32c1.c'
source_filename = "/tmp/tmpbmgo32c1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @out_of_memory() #0 {
%1 = call i32 @fatal(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fatal(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/tmpbmgo32c1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @out_of_memory() #0 {
%1 = call i32 @fatal(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fatal(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/tmp_454nkdd.c'
source_filename = "/tmp/tmp_454nkdd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter a 24-hour time: h:m\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Input Error1!\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Equivalent 12-hour time: %2d:%2d AM\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Equivalent 12-hour time: %2d:%2d PM\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Input Error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @time24hto12h() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %34
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 12
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %15)
br label %32
17: ; preds = %10
%18 = load i32, ptr %2, align 4
%19 = icmp sgt i32 %18, 12
br i1 %19, label %20, label %29
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 24
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = sub nsw i32 %24, 12
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26, i32 noundef %27)
br label %31
29: ; preds = %20, %17
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %34
31: ; preds = %23
br label %32
32: ; preds = %31, %13
br label %33
33: ; preds = %32
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %33, %29, %8
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp_454nkdd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter a 24-hour time: h:m\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Input Error1!\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Equivalent 12-hour time: %2d:%2d AM\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Equivalent 12-hour time: %2d:%2d PM\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Input Error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @time24hto12h() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %34
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 12
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %15)
br label %32
17: ; preds = %10
%18 = load i32, ptr %2, align 4
%19 = icmp sgt i32 %18, 12
br i1 %19, label %20, label %29
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 24
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = sub nsw i32 %24, 12
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26, i32 noundef %27)
br label %31
29: ; preds = %20, %17
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %34
31: ; preds = %23
br label %32
32: ; preds = %31, %13
br label %33
33: ; preds = %32
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %33, %29, %8
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpatx8q_wu.c'
source_filename = "/tmp/tmpatx8q_wu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"load: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"smooth5: %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"store: %ld\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %9
9: ; preds = %2
%10 = call i64 (...) @tick()
store i64 %10, ptr %6, align 8
%11 = call i32 (...) @load()
%12 = call i64 (...) @tick()
%13 = load i64, ptr %6, align 8
%14 = sub nsw i64 %12, %13
%15 = call i32 @printf(ptr noundef @.str, i64 noundef %14)
br label %16
16: ; preds = %9
br label %17
17: ; preds = %16
%18 = call i64 (...) @tick()
store i64 %18, ptr %7, align 8
%19 = call i32 (...) @smooth5()
%20 = call i64 (...) @tick()
%21 = load i64, ptr %7, align 8
%22 = sub nsw i64 %20, %21
%23 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22)
br label %24
24: ; preds = %17
br label %25
25: ; preds = %24
%26 = call i64 (...) @tick()
store i64 %26, ptr %8, align 8
%27 = call i32 (...) @store()
%28 = call i64 (...) @tick()
%29 = load i64, ptr %8, align 8
%30 = sub nsw i64 %28, %29
%31 = call i32 @printf(ptr noundef @.str.2, i64 noundef %30)
br label %32
32: ; preds = %25
ret i32 0
}
declare i64 @tick(...) #1
declare i32 @load(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @smooth5(...) #1
declare i32 @store(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpatx8q_wu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"load: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"smooth5: %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"store: %ld\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %9
9: ; preds = %2
%10 = call i64 (...) @tick()
store i64 %10, ptr %6, align 8
%11 = call i32 (...) @load()
%12 = call i64 (...) @tick()
%13 = load i64, ptr %6, align 8
%14 = sub nsw i64 %12, %13
%15 = call i32 @printf(ptr noundef @.str, i64 noundef %14)
br label %16
16: ; preds = %9
br label %17
17: ; preds = %16
%18 = call i64 (...) @tick()
store i64 %18, ptr %7, align 8
%19 = call i32 (...) @smooth5()
%20 = call i64 (...) @tick()
%21 = load i64, ptr %7, align 8
%22 = sub nsw i64 %20, %21
%23 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22)
br label %24
24: ; preds = %17
br label %25
25: ; preds = %24
%26 = call i64 (...) @tick()
store i64 %26, ptr %8, align 8
%27 = call i32 (...) @store()
%28 = call i64 (...) @tick()
%29 = load i64, ptr %8, align 8
%30 = sub nsw i64 %28, %29
%31 = call i32 @printf(ptr noundef @.str.2, i64 noundef %30)
br label %32
32: ; preds = %25
ret i32 0
}
declare i64 @tick(...) #1
declare i32 @load(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @smooth5(...) #1
declare i32 @store(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqznrcghq.c'
source_filename = "/tmp/tmpqznrcghq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recursive_unlink(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 @recursive_unlink_helper(i32 noundef -1, ptr noundef %3)
ret i32 %4
}
declare i32 @recursive_unlink_helper(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/tmpqznrcghq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recursive_unlink(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 @recursive_unlink_helper(i32 noundef -1, ptr noundef %3)
ret i32 %4
}
declare i32 @recursive_unlink_helper(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/tmpc7qyim8g.c'
source_filename = "/tmp/tmpc7qyim8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VdsRealloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc7qyim8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VdsRealloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ap6ibjm.c'
source_filename = "/tmp/tmp5ap6ibjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oscap_htable_iterator_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ap6ibjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @oscap_htable_iterator_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6lnhgyiy.c'
source_filename = "/tmp/tmp6lnhgyiy.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_to_epoll(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.epoll_event, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%8 = load i32, ptr @EPOLLIN, align 4
%9 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 1
store i32 %8, ptr %9, align 4
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 0
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0
store i32 %10, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @EPOLL_CTL_ADD, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @epoll_ctl(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %6)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6lnhgyiy.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_to_epoll(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.epoll_event, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%8 = load i32, ptr @EPOLLIN, align 4
%9 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 1
store i32 %8, ptr %9, align 4
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 0
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0
store i32 %10, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @EPOLL_CTL_ADD, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @epoll_ctl(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %6)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj54os7mp.c'
source_filename = "/tmp/tmpj54os7mp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @twtailx(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
store double %0, ptr %3, align 8
%9 = load double, ptr %3, align 8
%10 = fcmp ole double %9, 0.000000e+00
br i1 %10, label %11, label %12
11: ; preds = %1
store double 1.000000e+00, ptr %2, align 8
br label %29
12: ; preds = %1
store double 0x401C5BF891B4EF6B, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = call double @log(double noundef %13) #2
store double %14, ptr %5, align 8
%15 = load double, ptr %3, align 8
%16 = call double @log(double noundef %15) #2
%17 = fmul double -7.500000e-01, %16
store double %17, ptr %7, align 8
%18 = load double, ptr %3, align 8
%19 = call double @pow(double noundef %18, double noundef 1.500000e+00) #2
%20 = fmul double -2.000000e+00, %19
%21 = fdiv double %20, 3.000000e+00
store double %21, ptr %8, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %8, align 8
%24 = fadd double %22, %23
store double %24, ptr %6, align 8
%25 = load double, ptr %6, align 8
%26 = load double, ptr %5, align 8
%27 = fsub double %25, %26
%28 = call double @exp(double noundef %27) #2
store double %28, ptr %2, align 8
br label %29
29: ; preds = %12, %11
%30 = load double, ptr %2, align 8
ret double %30
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj54os7mp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @twtailx(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
store double %0, ptr %3, align 8
%9 = load double, ptr %3, align 8
%10 = fcmp ole double %9, 0.000000e+00
br i1 %10, label %11, label %12
11: ; preds = %1
store double 1.000000e+00, ptr %2, align 8
br label %29
12: ; preds = %1
store double 0x401C5BF891B4EF6B, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = call double @log(double noundef %13) #2
store double %14, ptr %5, align 8
%15 = load double, ptr %3, align 8
%16 = call double @log(double noundef %15) #2
%17 = fmul double -7.500000e-01, %16
store double %17, ptr %7, align 8
%18 = load double, ptr %3, align 8
%19 = call double @pow(double noundef %18, double noundef 1.500000e+00) #2
%20 = fmul double -2.000000e+00, %19
%21 = fdiv double %20, 3.000000e+00
store double %21, ptr %8, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %8, align 8
%24 = fadd double %22, %23
store double %24, ptr %6, align 8
%25 = load double, ptr %6, align 8
%26 = load double, ptr %5, align 8
%27 = fsub double %25, %26
%28 = call double @exp(double noundef %27) #2
store double %28, ptr %2, align 8
br label %29
29: ; preds = %12, %11
%30 = load double, ptr %2, align 8
ret double %30
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkcpj53vs.c'
source_filename = "/tmp/tmpkcpj53vs.c"
target datalayout = "e-m:e-p270: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/tmpkcpj53vs.c"
target datalayout = "e-m:e-p270: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/tmpaw7pyth2.c'
source_filename = "/tmp/tmpaw7pyth2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dectobin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @setnull(ptr noundef %7)
%9 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @arrcpy(ptr noundef %9, ptr noundef %10)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%12 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %16
15: ; preds = %1
store i32 1, ptr %5, align 4
br label %17
16: ; preds = %1
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %16, %15
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%22 = call i32 @negate(ptr noundef %21)
br label %23
23: ; preds = %20, %17
store i32 15, ptr %6, align 4
br label %24
24: ; preds = %42, %23
%25 = load i32, ptr %6, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %45
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %41
33: ; preds = %27
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 15, %34
%36 = call i64 @int_pow(i32 noundef 2, i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = add nsw i64 %38, %36
%40 = trunc i64 %39 to i32
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %33, %27
br label %42
42: ; preds = %41
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %6, align 4
br label %24, !llvm.loop !6
45: ; preds = %24
%46 = load i32, ptr %5, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %45
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 0, %49
%51 = sub nsw i32 %50, 1
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %48, %45
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @setnull(ptr noundef) #1
declare i32 @arrcpy(ptr noundef, ptr noundef) #1
declare i32 @negate(ptr noundef) #1
declare i64 @int_pow(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/tmpaw7pyth2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dectobin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @setnull(ptr noundef %7)
%9 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @arrcpy(ptr noundef %9, ptr noundef %10)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%12 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %16
15: ; preds = %1
store i32 1, ptr %5, align 4
br label %17
16: ; preds = %1
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %16, %15
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%22 = call i32 @negate(ptr noundef %21)
br label %23
23: ; preds = %20, %17
store i32 15, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %.lr.ph, label %46
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %41
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %40
32: ; preds = %26
%33 = load i32, ptr %6, align 4
%34 = sub nsw i32 15, %33
%35 = call i64 @int_pow(i32 noundef 2, i32 noundef %34)
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = add nsw i64 %37, %35
%39 = trunc i64 %38 to i32
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %32, %26
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sge i32 %44, 0
br i1 %45, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %23
%47 = load i32, ptr %5, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %4, align 4
%51 = sub nsw i32 0, %50
%52 = sub nsw i32 %51, 1
store i32 %52, ptr %4, align 4
br label %53
53: ; preds = %49, %46
%54 = load i32, ptr %4, align 4
ret i32 %54
}
declare i32 @setnull(ptr noundef) #1
declare i32 @arrcpy(ptr noundef, ptr noundef) #1
declare i32 @negate(ptr noundef) #1
declare i64 @int_pow(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/tmpgm2zdv5h.c'
source_filename = "/tmp/tmpgm2zdv5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@normdist.have_number = internal global i32 0, align 4
@normdist.nd2 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @normdist() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double 0.000000e+00, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
%6 = load i32, ptr @normdist.have_number, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %41, label %8
8: ; preds = %0
br label %9
9: ; preds = %26, %8
%10 = call double (...) @eqdist()
%11 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %10, double -1.000000e+00)
store double %11, ptr %2, align 8
%12 = call double (...) @eqdist()
%13 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %12, double -1.000000e+00)
store double %13, ptr %3, align 8
%14 = load double, ptr %2, align 8
%15 = load double, ptr %2, align 8
%16 = load double, ptr %3, align 8
%17 = load double, ptr %3, align 8
%18 = fmul double %16, %17
%19 = call double @llvm.fmuladd.f64(double %14, double %15, double %18)
store double %19, ptr %4, align 8
br label %20
20: ; preds = %9
%21 = load double, ptr %4, align 8
%22 = fcmp oge double %21, 1.000000e+00
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = load double, ptr %4, align 8
%25 = fcmp oeq double %24, 0.000000e+00
br label %26
26: ; preds = %23, %20
%27 = phi i1 [ true, %20 ], [ %25, %23 ]
br i1 %27, label %9, label %28, !llvm.loop !6
28: ; preds = %26
%29 = load double, ptr %4, align 8
%30 = call double @log(double noundef %29) #4
%31 = fmul double -2.000000e+00, %30
%32 = load double, ptr %4, align 8
%33 = fdiv double %31, %32
%34 = call double @sqrt(double noundef %33) #4
store double %34, ptr %5, align 8
%35 = load double, ptr %3, align 8
%36 = load double, ptr %5, align 8
%37 = fmul double %35, %36
store double %37, ptr @normdist.nd2, align 8
store i32 1, ptr @normdist.have_number, align 4
%38 = load double, ptr %2, align 8
%39 = load double, ptr %5, align 8
%40 = fmul double %38, %39
store double %40, ptr %1, align 8
br label %43
41: ; preds = %0
store i32 0, ptr @normdist.have_number, align 4
%42 = load double, ptr @normdist.nd2, align 8
store double %42, ptr %1, align 8
br label %43
43: ; preds = %41, %28
%44 = load double, ptr %1, align 8
ret double %44
}
declare double @eqdist(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
; Function Attrs: nounwind
declare double @log(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgm2zdv5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@normdist.have_number = internal global i32 0, align 4
@normdist.nd2 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @normdist() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double 0.000000e+00, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
store double 0.000000e+00, ptr %4, align 8
%6 = load i32, ptr @normdist.have_number, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %41, label %8
8: ; preds = %0
br label %9
9: ; preds = %26, %8
%10 = call double (...) @eqdist()
%11 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %10, double -1.000000e+00)
store double %11, ptr %2, align 8
%12 = call double (...) @eqdist()
%13 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %12, double -1.000000e+00)
store double %13, ptr %3, align 8
%14 = load double, ptr %2, align 8
%15 = load double, ptr %2, align 8
%16 = load double, ptr %3, align 8
%17 = load double, ptr %3, align 8
%18 = fmul double %16, %17
%19 = call double @llvm.fmuladd.f64(double %14, double %15, double %18)
store double %19, ptr %4, align 8
br label %20
20: ; preds = %9
%21 = load double, ptr %4, align 8
%22 = fcmp oge double %21, 1.000000e+00
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = load double, ptr %4, align 8
%25 = fcmp oeq double %24, 0.000000e+00
br label %26
26: ; preds = %23, %20
%27 = phi i1 [ true, %20 ], [ %25, %23 ]
br i1 %27, label %9, label %28, !llvm.loop !6
28: ; preds = %26
%29 = load double, ptr %4, align 8
%30 = call double @log(double noundef %29) #4
%31 = fmul double -2.000000e+00, %30
%32 = load double, ptr %4, align 8
%33 = fdiv double %31, %32
%34 = call double @sqrt(double noundef %33) #4
store double %34, ptr %5, align 8
%35 = load double, ptr %3, align 8
%36 = load double, ptr %5, align 8
%37 = fmul double %35, %36
store double %37, ptr @normdist.nd2, align 8
store i32 1, ptr @normdist.have_number, align 4
%38 = load double, ptr %2, align 8
%39 = load double, ptr %5, align 8
%40 = fmul double %38, %39
store double %40, ptr %1, align 8
br label %43
41: ; preds = %0
store i32 0, ptr @normdist.have_number, align 4
%42 = load double, ptr @normdist.nd2, align 8
store double %42, ptr %1, align 8
br label %43
43: ; preds = %41, %28
%44 = load double, ptr %1, align 8
ret double %44
}
declare double @eqdist(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
; Function Attrs: nounwind
declare double @log(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpukv_mk77.c'
source_filename = "/tmp/tmpukv_mk77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdir(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = trunc i64 %8 to i32
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %6, align 4
br label %12
12: ; preds = %33, %2
%13 = load i32, ptr %6, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %36
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 47
br i1 %22, label %31, label %23
23: ; preds = %15
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %32
31: ; preds = %23, %15
br label %36
32: ; preds = %23
br label %33
33: ; preds = %32
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %6, align 4
br label %12, !llvm.loop !6
36: ; preds = %31, %12
%37 = load i32, ptr %6, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 1
%46 = trunc i64 %45 to i32
%47 = call i32 @memcpy(ptr noundef %40, ptr noundef %41, i32 noundef %46)
br label %48
48: ; preds = %39, %36
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpukv_mk77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getdir(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = trunc i64 %8 to i32
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %32
%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 eq i32 %20, 47
br i1 %21, label %30, label %22
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 eq i32 %28, 92
br i1 %29, label %30, label %31
30: ; preds = %22, %14
br label %37
31: ; preds = %22
br label %32
32: ; preds = %31
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %37
37: ; preds = %.loopexit, %30
%38 = load i32, ptr %6, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %49
40: ; preds = %37
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 1
%47 = trunc i64 %46 to i32
%48 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %47)
br label %49
49: ; preds = %40, %37
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpx56s4hxn.c'
source_filename = "/tmp/tmpx56s4hxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c"Enter value of hardness, carbon content and tensile strength of steel\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Grade:10\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Grade:9\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Grade:8\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"Grade:7\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Grade:6\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"Grade:5\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
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 50
br i1 %8, label %9, label %18
9: ; preds = %0
%10 = load i32, ptr %3, align 4
%11 = sitofp i32 %10 to double
%12 = fcmp olt double %11, 0x3FE6666666666666
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 5600
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.2)
br label %83
18: ; preds = %13, %9, %0
%19 = load i32, ptr %2, align 4
%20 = icmp sgt i32 %19, 50
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = sitofp i32 %22 to double
%24 = fcmp olt double %23, 0x3FE6666666666666
br i1 %24, label %28, label %25
25: ; preds = %21, %18
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 5600
br i1 %27, label %28, label %30
28: ; preds = %25, %21
%29 = call i32 @printf(ptr noundef @.str.3)
br label %82
30: ; preds = %25
%31 = load i32, ptr %2, align 4
%32 = icmp sgt i32 %31, 50
br i1 %32, label %40, label %33
33: ; preds = %30
%34 = load i32, ptr %3, align 4
%35 = sitofp i32 %34 to double
%36 = fcmp olt double %35, 0x3FE6666666666666
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load i32, ptr %4, align 4
%39 = icmp sgt i32 %38, 5600
br i1 %39, label %40, label %42
40: ; preds = %37, %30
%41 = call i32 @printf(ptr noundef @.str.4)
br label %81
42: ; preds = %37, %33
%43 = load i32, ptr %2, align 4
%44 = icmp sgt i32 %43, 50
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = icmp sgt i32 %46, 5600
br i1 %47, label %52, label %48
48: ; preds = %45, %42
%49 = load i32, ptr %3, align 4
%50 = sitofp i32 %49 to double
%51 = fcmp olt double %50, 0x3FE6666666666666
br i1 %51, label %52, label %54
52: ; preds = %48, %45
%53 = call i32 @printf(ptr noundef @.str.5)
br label %80
54: ; preds = %48
%55 = load i32, ptr %2, align 4
%56 = icmp sgt i32 %55, 50
br i1 %56, label %64, label %57
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = sitofp i32 %58 to double
%60 = fcmp olt double %59, 0x3FE6666666666666
br i1 %60, label %64, label %61
61: ; preds = %57
%62 = load i32, ptr %4, align 4
%63 = icmp sgt i32 %62, 5600
br i1 %63, label %64, label %66
64: ; preds = %61, %57, %54
%65 = call i32 @printf(ptr noundef @.str.6)
br label %79
66: ; preds = %61
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %67, 50
br i1 %68, label %69, label %78
69: ; preds = %66
%70 = load i32, ptr %3, align 4
%71 = sitofp i32 %70 to double
%72 = fcmp ogt double %71, 0x3FE6666666666666
br i1 %72, label %73, label %78
73: ; preds = %69
%74 = load i32, ptr %4, align 4
%75 = icmp slt i32 %74, 5600
br i1 %75, label %76, label %78
76: ; preds = %73
%77 = call i32 @printf(ptr noundef @.str.7)
br label %78
78: ; preds = %76, %73, %69, %66
br label %79
79: ; preds = %78, %64
br label %80
80: ; preds = %79, %52
br label %81
81: ; preds = %80, %40
br label %82
82: ; preds = %81, %28
br label %83
83: ; preds = %82, %16
%84 = load i32, ptr %1, align 4
ret i32 %84
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmpx56s4hxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c"Enter value of hardness, carbon content and tensile strength of steel\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Grade:10\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Grade:9\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Grade:8\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"Grade:7\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Grade:6\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"Grade:5\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
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 50
br i1 %8, label %9, label %18
9: ; preds = %0
%10 = load i32, ptr %3, align 4
%11 = sitofp i32 %10 to double
%12 = fcmp olt double %11, 0x3FE6666666666666
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 5600
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.2)
br label %83
18: ; preds = %13, %9, %0
%19 = load i32, ptr %2, align 4
%20 = icmp sgt i32 %19, 50
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = sitofp i32 %22 to double
%24 = fcmp olt double %23, 0x3FE6666666666666
br i1 %24, label %28, label %25
25: ; preds = %21, %18
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 5600
br i1 %27, label %28, label %30
28: ; preds = %25, %21
%29 = call i32 @printf(ptr noundef @.str.3)
br label %82
30: ; preds = %25
%31 = load i32, ptr %2, align 4
%32 = icmp sgt i32 %31, 50
br i1 %32, label %40, label %33
33: ; preds = %30
%34 = load i32, ptr %3, align 4
%35 = sitofp i32 %34 to double
%36 = fcmp olt double %35, 0x3FE6666666666666
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load i32, ptr %4, align 4
%39 = icmp sgt i32 %38, 5600
br i1 %39, label %40, label %42
40: ; preds = %37, %30
%41 = call i32 @printf(ptr noundef @.str.4)
br label %81
42: ; preds = %37, %33
%43 = load i32, ptr %2, align 4
%44 = icmp sgt i32 %43, 50
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = icmp sgt i32 %46, 5600
br i1 %47, label %52, label %48
48: ; preds = %45, %42
%49 = load i32, ptr %3, align 4
%50 = sitofp i32 %49 to double
%51 = fcmp olt double %50, 0x3FE6666666666666
br i1 %51, label %52, label %54
52: ; preds = %48, %45
%53 = call i32 @printf(ptr noundef @.str.5)
br label %80
54: ; preds = %48
%55 = load i32, ptr %2, align 4
%56 = icmp sgt i32 %55, 50
br i1 %56, label %64, label %57
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = sitofp i32 %58 to double
%60 = fcmp olt double %59, 0x3FE6666666666666
br i1 %60, label %64, label %61
61: ; preds = %57
%62 = load i32, ptr %4, align 4
%63 = icmp sgt i32 %62, 5600
br i1 %63, label %64, label %66
64: ; preds = %61, %57, %54
%65 = call i32 @printf(ptr noundef @.str.6)
br label %79
66: ; preds = %61
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %67, 50
br i1 %68, label %69, label %78
69: ; preds = %66
%70 = load i32, ptr %3, align 4
%71 = sitofp i32 %70 to double
%72 = fcmp ogt double %71, 0x3FE6666666666666
br i1 %72, label %73, label %78
73: ; preds = %69
%74 = load i32, ptr %4, align 4
%75 = icmp slt i32 %74, 5600
br i1 %75, label %76, label %78
76: ; preds = %73
%77 = call i32 @printf(ptr noundef @.str.7)
br label %78
78: ; preds = %76, %73, %69, %66
br label %79
79: ; preds = %78, %64
br label %80
80: ; preds = %79, %52
br label %81
81: ; preds = %80, %40
br label %82
82: ; preds = %81, %28
br label %83
83: ; preds = %82, %16
%84 = load i32, ptr %1, align 4
ret i32 %84
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmp0jikstk2.c'
source_filename = "/tmp/tmp0jikstk2.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @skaliraj(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %11, %12
%14 = call i32 @gluPerspective(double noundef 3.000000e+01, i32 noundef %13, double noundef 1.000000e+00, double noundef 1.000000e+02)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(double noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jikstk2.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @skaliraj(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %11, %12
%14 = call i32 @gluPerspective(double noundef 3.000000e+01, i32 noundef %13, double noundef 1.000000e+00, double noundef 1.000000e+02)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(double noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_sdpj66e.c'
source_filename = "/tmp/tmp_sdpj66e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_required_vowels(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %30, %2
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %33
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i64 @is_vowel(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %21
store i32 1, ptr %3, align 4
br label %34
28: ; preds = %21
br label %29
29: ; preds = %28, %13
br label %30
30: ; preds = %29
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %8, !llvm.loop !6
33: ; preds = %8
store i32 0, ptr %3, align 4
br label %34
34: ; preds = %33, %27
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @strlen(ptr noundef) #1
declare i64 @is_vowel(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/tmp_sdpj66e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_required_vowels(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %29
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i64 @is_vowel(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %12
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %20
store i32 1, ptr %3, align 4
br label %37
27: ; preds = %20
br label %28
28: ; preds = %27, %12
br label %29
29: ; preds = %28
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %4, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = icmp slt i32 %32, %34
br i1 %35, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %26
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i32 @strlen(ptr noundef) #1
declare i64 @is_vowel(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/tmp7egwqbhj.c'
source_filename = "/tmp/tmp7egwqbhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cur_plo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 0
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %5, align 4
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %25, %1
%10 = load i32, ptr %3, align 4
%11 = icmp ult i32 %10, 128
br i1 %11, label %12, label %28
12: ; preds = %9
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %4, align 4
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = sub i32 %19, 1
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @interpo(i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23)
br label %25
25: ; preds = %12
%26 = load i32, ptr %3, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %3, align 4
br label %9, !llvm.loop !6
28: ; preds = %9
ret void
}
declare i32 @interpo(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7egwqbhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cur_plo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 0
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %5, align 4
store i32 1, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp ult i32 %9, 128
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %24
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %4, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = sub i32 %18, 1
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 @interpo(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
br label %24
24: ; preds = %11
%25 = load i32, ptr %3, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp ult i32 %27, 128
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %1
ret void
}
declare i32 @interpo(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1lw4qcdc.c'
source_filename = "/tmp/tmp1lw4qcdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"sxacl\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @userdel_cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @userdel_cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @userdel_cmdline_parser_dump(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1lw4qcdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"sxacl\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @userdel_cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @userdel_cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @userdel_cmdline_parser_dump(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvbm8w428.c'
source_filename = "/tmp/tmpvbm8w428.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_bus_creds_get_pid_starttime(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 @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvbm8w428.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_bus_creds_get_pid_starttime(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 @EINVAL, align 4
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjq7_uwnk.c'
source_filename = "/tmp/tmpjq7_uwnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%*d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @int2str(i32 noundef %0, i32 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 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @xmalloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12, i32 noundef %13)
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @xmalloc(i64 noundef) #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjq7_uwnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%*d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @int2str(i32 noundef %0, i32 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 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @xmalloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12, i32 noundef %13)
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @xmalloc(i64 noundef) #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg33k4og7.c'
source_filename = "/tmp/tmpg33k4og7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clsl(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @__builtin_arm_cls64(i64 noundef %3)
ret i32 %4
}
declare i32 @__builtin_arm_cls64(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/tmpg33k4og7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clsl(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @__builtin_arm_cls64(i64 noundef %3)
ret i32 %4
}
declare i32 @__builtin_arm_cls64(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/tmp40vttrqw.c'
source_filename = "/tmp/tmp40vttrqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_cosh(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 i64 @cosh(double noundef %3)
%5 = load double, ptr %2, align 8
%6 = call i64 @cosh(double noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_cosh()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @cosh(double noundef) #1
declare i32 @link_failure_cosh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40vttrqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_cosh(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 i64 @cosh(double noundef %3)
%5 = load double, ptr %2, align 8
%6 = call i64 @cosh(double noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_cosh()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @cosh(double noundef) #1
declare i32 @link_failure_cosh(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkigjl6z0.c'
source_filename = "/tmp/tmpkigjl6z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %37, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = load i32, ptr %3, align 4
br label %16
14: ; preds = %7
%15 = load i32, ptr %4, align 4
br label %16
16: ; preds = %14, %12
%17 = phi i32 [ %13, %12 ], [ %15, %14 ]
%18 = icmp sle i32 %8, %17
br i1 %18, label %19, label %40
19: ; preds = %16
%20 = call i32 @hash(i32 noundef 1)
%21 = load i32, ptr %5, align 4
%22 = call i32 @hash(i32 noundef %21)
store i32 1, ptr %6, align 4
br label %23
23: ; preds = %33, %19
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %36
27: ; preds = %23
%28 = call i32 @hash(i32 noundef 2)
%29 = load i32, ptr %5, align 4
%30 = call i32 @hash(i32 noundef %29)
%31 = load i32, ptr %6, align 4
%32 = call i32 @hash(i32 noundef %31)
br label %33
33: ; preds = %27
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %23, !llvm.loop !6
36: ; preds = %23
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %7, !llvm.loop !8
40: ; preds = %16
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %51, %40
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = call i32 @hash(i32 noundef 1)
%49 = load i32, ptr %5, align 4
%50 = call i32 @hash(i32 noundef %49)
br label %51
51: ; preds = %47
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %43, !llvm.loop !9
54: ; preds = %43
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
br label %57
57: ; preds = %76, %54
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %4, align 4
%60 = icmp sle i32 %58, %59
br i1 %60, label %61, label %79
61: ; preds = %57
store i32 1, ptr %6, align 4
br label %62
62: ; preds = %72, %61
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %3, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %66, label %75
66: ; preds = %62
%67 = call i32 @hash(i32 noundef 2)
%68 = load i32, ptr %5, align 4
%69 = call i32 @hash(i32 noundef %68)
%70 = load i32, ptr %6, align 4
%71 = call i32 @hash(i32 noundef %70)
br label %72
72: ; preds = %66
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %62, !llvm.loop !10
75: ; preds = %62
br label %76
76: ; preds = %75
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
br label %57, !llvm.loop !11
79: ; preds = %57
ret void
}
declare i32 @hash(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkigjl6z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %39, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = load i32, ptr %3, align 4
br label %16
14: ; preds = %7
%15 = load i32, ptr %4, align 4
br label %16
16: ; preds = %14, %12
%17 = phi i32 [ %13, %12 ], [ %15, %14 ]
%18 = icmp sle i32 %8, %17
br i1 %18, label %19, label %42
19: ; preds = %16
%20 = call i32 @hash(i32 noundef 1)
%21 = load i32, ptr %5, align 4
%22 = call i32 @hash(i32 noundef %21)
store i32 1, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %.lr.ph, label %38
.lr.ph: ; preds = %19
br label %26
26: ; preds = %.lr.ph, %32
%27 = call i32 @hash(i32 noundef 2)
%28 = load i32, ptr %5, align 4
%29 = call i32 @hash(i32 noundef %28)
%30 = load i32, ptr %6, align 4
%31 = call i32 @hash(i32 noundef %30)
br label %32
32: ; preds = %26
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %19
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %7, !llvm.loop !8
42: ; preds = %16
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %3, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %.lr.ph2, label %58
.lr.ph2: ; preds = %42
br label %48
48: ; preds = %.lr.ph2, %52
%49 = call i32 @hash(i32 noundef 1)
%50 = load i32, ptr %5, align 4
%51 = call i32 @hash(i32 noundef %50)
br label %52
52: ; preds = %48
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp sle i32 %55, %56
br i1 %57, label %48, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %42
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp sle i32 %61, %62
br i1 %63, label %.lr.ph8, label %87
.lr.ph8: ; preds = %58
br label %64
64: ; preds = %.lr.ph8, %81
store i32 1, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %3, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %.lr.ph5, label %80
.lr.ph5: ; preds = %64
br label %68
68: ; preds = %.lr.ph5, %74
%69 = call i32 @hash(i32 noundef 2)
%70 = load i32, ptr %5, align 4
%71 = call i32 @hash(i32 noundef %70)
%72 = load i32, ptr %6, align 4
%73 = call i32 @hash(i32 noundef %72)
br label %74
74: ; preds = %68
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr %3, align 4
%79 = icmp sle i32 %77, %78
br i1 %79, label %68, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %74
br label %80
80: ; preds = %._crit_edge6, %64
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %4, align 4
%86 = icmp sle i32 %84, %85
br i1 %86, label %64, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %81
br label %87
87: ; preds = %._crit_edge9, %58
ret void
}
declare i32 @hash(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}
|
; ModuleID = '/tmp/tmp0nqcx22_.c'
source_filename = "/tmp/tmp0nqcx22_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Calculadora b\C3\A1sica.\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0A\C2\BFQu\C3\A9 operaci\C3\B3n desea efectuar?\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"\0AIntroduzca:\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"\0A\091 si desea efectuar una suma.\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"\0A\092 si desea efectuar una resta.\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"\0A\093 si desea efectuar una multiplicaci\C3\B3n.\00", align 1
@.str.6 = private unnamed_addr constant [38 x i8] c"\0A\094 si desea efectuar una divisi\C3\B3n.\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"\0AOperaci\C3\B3n: \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"Usted ingres\C3\B3 una opci\C3\B3n erronia.\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"\0AIntroduzca el primer valor: \00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.12 = private unnamed_addr constant [30 x i8] c"Introduzca el segundo valor: \00", align 1
@.str.13 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %f + %f es: %f\00", align 1
@.str.14 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %f - %f es: %f\00", align 1
@.str.15 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %d * %f es: %f\00", align 1
@.str.16 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %d / %f es: %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %2)
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = icmp sgt i32 %17, 4
br i1 %18, label %19, label %21
19: ; preds = %16, %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %1, align 4
br label %57
21: ; preds = %16
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef %3)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef %4)
br label %26
26: ; preds = %21
%27 = load i32, ptr %2, align 4
switch i32 %27, label %56 [
i32 1, label %28
i32 2, label %35
i32 3, label %42
i32 4, label %49
]
28: ; preds = %26
%29 = load double, ptr %3, align 8
%30 = load double, ptr %4, align 8
%31 = load double, ptr %3, align 8
%32 = load double, ptr %4, align 8
%33 = fadd double %31, %32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %29, double noundef %30, double noundef %33)
br label %56
35: ; preds = %26
%36 = load double, ptr %3, align 8
%37 = load double, ptr %4, align 8
%38 = load double, ptr %3, align 8
%39 = load double, ptr %4, align 8
%40 = fsub double %38, %39
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %36, double noundef %37, double noundef %40)
br label %56
42: ; preds = %26
%43 = load double, ptr %3, align 8
%44 = load double, ptr %4, align 8
%45 = load double, ptr %3, align 8
%46 = load double, ptr %4, align 8
%47 = fmul double %45, %46
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %43, double noundef %44, double noundef %47)
br label %56
49: ; preds = %26
%50 = load double, ptr %3, align 8
%51 = load double, ptr %4, align 8
%52 = load double, ptr %3, align 8
%53 = load double, ptr %4, align 8
%54 = fdiv double %52, %53
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %50, double noundef %51, double noundef %54)
br label %56
56: ; preds = %26, %49, %42, %35, %28
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %56, %19
%58 = load i32, ptr %1, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0nqcx22_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Calculadora b\C3\A1sica.\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0A\C2\BFQu\C3\A9 operaci\C3\B3n desea efectuar?\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"\0AIntroduzca:\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"\0A\091 si desea efectuar una suma.\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"\0A\092 si desea efectuar una resta.\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"\0A\093 si desea efectuar una multiplicaci\C3\B3n.\00", align 1
@.str.6 = private unnamed_addr constant [38 x i8] c"\0A\094 si desea efectuar una divisi\C3\B3n.\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"\0AOperaci\C3\B3n: \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"Usted ingres\C3\B3 una opci\C3\B3n erronia.\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"\0AIntroduzca el primer valor: \00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.12 = private unnamed_addr constant [30 x i8] c"Introduzca el segundo valor: \00", align 1
@.str.13 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %f + %f es: %f\00", align 1
@.str.14 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %f - %f es: %f\00", align 1
@.str.15 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %d * %f es: %f\00", align 1
@.str.16 = private unnamed_addr constant [32 x i8] c"\0AEl resultado de %d / %f es: %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %2)
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %0
%17 = load i32, ptr %2, align 4
%18 = icmp sgt i32 %17, 4
br i1 %18, label %19, label %21
19: ; preds = %16, %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %1, align 4
br label %57
21: ; preds = %16
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef %3)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef %4)
br label %26
26: ; preds = %21
%27 = load i32, ptr %2, align 4
switch i32 %27, label %56 [
i32 1, label %28
i32 2, label %35
i32 3, label %42
i32 4, label %49
]
28: ; preds = %26
%29 = load double, ptr %3, align 8
%30 = load double, ptr %4, align 8
%31 = load double, ptr %3, align 8
%32 = load double, ptr %4, align 8
%33 = fadd double %31, %32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %29, double noundef %30, double noundef %33)
br label %56
35: ; preds = %26
%36 = load double, ptr %3, align 8
%37 = load double, ptr %4, align 8
%38 = load double, ptr %3, align 8
%39 = load double, ptr %4, align 8
%40 = fsub double %38, %39
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %36, double noundef %37, double noundef %40)
br label %56
42: ; preds = %26
%43 = load double, ptr %3, align 8
%44 = load double, ptr %4, align 8
%45 = load double, ptr %3, align 8
%46 = load double, ptr %4, align 8
%47 = fmul double %45, %46
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %43, double noundef %44, double noundef %47)
br label %56
49: ; preds = %26
%50 = load double, ptr %3, align 8
%51 = load double, ptr %4, align 8
%52 = load double, ptr %3, align 8
%53 = load double, ptr %4, align 8
%54 = fdiv double %52, %53
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %50, double noundef %51, double noundef %54)
br label %56
56: ; preds = %49, %42, %35, %28, %26
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %56, %19
%58 = load i32, ptr %1, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzcnfkkxe.c'
source_filename = "/tmp/tmpzcnfkkxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mdfour(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [128 x i8], align 16
%8 = alloca [16 x i32], align 16
%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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = mul nsw i32 %15, 8
store i32 %16, ptr %9, align 4
store i32 1732584193, ptr %11, align 4
store i32 -271733879, ptr %12, align 4
store i32 -1732584194, ptr %13, align 4
store i32 271733878, ptr %14, align 4
br label %17
17: ; preds = %20, %3
%18 = load i32, ptr %6, align 4
%19 = icmp sgt i32 %18, 64
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%22 = load ptr, ptr %5, align 8
%23 = call i32 @copy64(ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%25 = call i32 @mdfour64(ptr noundef %24, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 64
store ptr %27, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sub nsw i32 %28, 64
store i32 %29, ptr %6, align 4
br label %17, !llvm.loop !6
30: ; preds = %17
store i32 0, ptr %10, align 4
br label %31
31: ; preds = %38, %30
%32 = load i32, ptr %10, align 4
%33 = icmp slt i32 %32, 128
br i1 %33, label %34, label %41
34: ; preds = %31
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %36
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %34
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
br label %31, !llvm.loop !8
41: ; preds = %31
%42 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %6, align 4
%45 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %44)
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %47
store i8 -128, ptr %48, align 1
%49 = load i32, ptr %6, align 4
%50 = icmp sle i32 %49, 55
br i1 %50, label %51, label %61
51: ; preds = %41
%52 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%53 = getelementptr inbounds i8, ptr %52, i64 56
%54 = load i32, ptr %9, align 4
%55 = call i32 @copy4(ptr noundef %53, i32 noundef %54)
%56 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%57 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%58 = call i32 @copy64(ptr noundef %56, ptr noundef %57)
%59 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%60 = call i32 @mdfour64(ptr noundef %59, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
br label %77
61: ; preds = %41
%62 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%63 = getelementptr inbounds i8, ptr %62, i64 120
%64 = load i32, ptr %9, align 4
%65 = call i32 @copy4(ptr noundef %63, i32 noundef %64)
%66 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%67 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%68 = call i32 @copy64(ptr noundef %66, ptr noundef %67)
%69 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%70 = call i32 @mdfour64(ptr noundef %69, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%71 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%72 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%73 = getelementptr inbounds i8, ptr %72, i64 64
%74 = call i32 @copy64(ptr noundef %71, ptr noundef %73)
%75 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%76 = call i32 @mdfour64(ptr noundef %75, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
br label %77
77: ; preds = %61, %51
store i32 0, ptr %10, align 4
br label %78
78: ; preds = %85, %77
%79 = load i32, ptr %10, align 4
%80 = icmp slt i32 %79, 128
br i1 %80, label %81, label %88
81: ; preds = %78
%82 = load i32, ptr %10, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %83
store i8 0, ptr %84, align 1
br label %85
85: ; preds = %81
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %10, align 4
br label %78, !llvm.loop !9
88: ; preds = %78
%89 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%90 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%91 = call i32 @copy64(ptr noundef %89, ptr noundef %90)
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %11, align 4
%94 = call i32 @copy4(ptr noundef %92, i32 noundef %93)
%95 = load ptr, ptr %4, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 4
%97 = load i32, ptr %12, align 4
%98 = call i32 @copy4(ptr noundef %96, i32 noundef %97)
%99 = load ptr, ptr %4, align 8
%100 = getelementptr inbounds i8, ptr %99, i64 8
%101 = load i32, ptr %13, align 4
%102 = call i32 @copy4(ptr noundef %100, i32 noundef %101)
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 12
%105 = load i32, ptr %14, align 4
%106 = call i32 @copy4(ptr noundef %104, i32 noundef %105)
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
ret void
}
declare i32 @copy64(ptr noundef, ptr noundef) #1
declare i32 @mdfour64(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @copy4(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcnfkkxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mdfour(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [128 x i8], align 16
%8 = alloca [16 x i32], align 16
%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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = mul nsw i32 %15, 8
store i32 %16, ptr %9, align 4
store i32 1732584193, ptr %11, align 4
store i32 -271733879, ptr %12, align 4
store i32 -1732584194, ptr %13, align 4
store i32 271733878, ptr %14, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 64
br i1 %18, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %19
%20 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%21 = load ptr, ptr %5, align 8
%22 = call i32 @copy64(ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%24 = call i32 @mdfour64(ptr noundef %23, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 64
store ptr %26, ptr %5, align 8
%27 = load i32, ptr %6, align 4
%28 = sub nsw i32 %27, 64
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sgt i32 %29, 64
br i1 %30, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %31
31: ; preds = %._crit_edge, %3
store i32 0, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp slt i32 %32, 128
br i1 %33, label %.lr.ph2, label %43
.lr.ph2: ; preds = %31
br label %34
34: ; preds = %.lr.ph2, %38
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %36
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %34
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = icmp slt i32 %41, 128
br i1 %42, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %31
%44 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %6, align 4
%47 = call i32 @memcpy(ptr noundef %44, ptr noundef %45, i32 noundef %46)
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %49
store i8 -128, ptr %50, align 1
%51 = load i32, ptr %6, align 4
%52 = icmp sle i32 %51, 55
br i1 %52, label %53, label %63
53: ; preds = %43
%54 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%55 = getelementptr inbounds i8, ptr %54, i64 56
%56 = load i32, ptr %9, align 4
%57 = call i32 @copy4(ptr noundef %55, i32 noundef %56)
%58 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%59 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%60 = call i32 @copy64(ptr noundef %58, ptr noundef %59)
%61 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%62 = call i32 @mdfour64(ptr noundef %61, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
br label %79
63: ; preds = %43
%64 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%65 = getelementptr inbounds i8, ptr %64, i64 120
%66 = load i32, ptr %9, align 4
%67 = call i32 @copy4(ptr noundef %65, i32 noundef %66)
%68 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%69 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%70 = call i32 @copy64(ptr noundef %68, ptr noundef %69)
%71 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%72 = call i32 @mdfour64(ptr noundef %71, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%73 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%74 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%75 = getelementptr inbounds i8, ptr %74, i64 64
%76 = call i32 @copy64(ptr noundef %73, ptr noundef %75)
%77 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%78 = call i32 @mdfour64(ptr noundef %77, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
br label %79
79: ; preds = %63, %53
store i32 0, ptr %10, align 4
%80 = load i32, ptr %10, align 4
%81 = icmp slt i32 %80, 128
br i1 %81, label %.lr.ph5, label %91
.lr.ph5: ; preds = %79
br label %82
82: ; preds = %.lr.ph5, %86
%83 = load i32, ptr %10, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 %84
store i8 0, ptr %85, align 1
br label %86
86: ; preds = %82
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %10, align 4
%89 = load i32, ptr %10, align 4
%90 = icmp slt i32 %89, 128
br i1 %90, label %82, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %86
br label %91
91: ; preds = %._crit_edge6, %79
%92 = getelementptr inbounds [16 x i32], ptr %8, i64 0, i64 0
%93 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%94 = call i32 @copy64(ptr noundef %92, ptr noundef %93)
%95 = load ptr, ptr %4, align 8
%96 = load i32, ptr %11, align 4
%97 = call i32 @copy4(ptr noundef %95, i32 noundef %96)
%98 = load ptr, ptr %4, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 4
%100 = load i32, ptr %12, align 4
%101 = call i32 @copy4(ptr noundef %99, i32 noundef %100)
%102 = load ptr, ptr %4, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 8
%104 = load i32, ptr %13, align 4
%105 = call i32 @copy4(ptr noundef %103, i32 noundef %104)
%106 = load ptr, ptr %4, align 8
%107 = getelementptr inbounds i8, ptr %106, i64 12
%108 = load i32, ptr %14, align 4
%109 = call i32 @copy4(ptr noundef %107, i32 noundef %108)
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
ret void
}
declare i32 @copy64(ptr noundef, ptr noundef) #1
declare i32 @mdfour64(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @copy4(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3jl0xt64.c'
source_filename = "/tmp/tmp3jl0xt64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"=====Students whose score is good=====\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NO.\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c" average\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @good(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %25, %4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %28
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10 x i8], ptr %19, i64 %21
%23 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %100, %28
%31 = load i32, ptr %9, align 4
%32 = icmp slt i32 %31, 4
br i1 %32, label %33, label %103
33: ; preds = %30
store i32 0, ptr %12, align 4
store i32 0, ptr %10, align 4
br label %34
34: ; preds = %53, %33
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %35, 5
br i1 %36, label %37, label %56
37: ; preds = %34
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %9, align 4
%40 = mul nsw i32 5, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds float, ptr %38, i64 %41
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds float, ptr %42, i64 %44
%46 = load float, ptr %45, align 4
%47 = fpext float %46 to double
%48 = fcmp ogt double %47, 8.500000e+01
br i1 %48, label %49, label %52
49: ; preds = %37
%50 = load i32, ptr %12, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %12, align 4
br label %52
52: ; preds = %49, %37
br label %53
53: ; preds = %52
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
br label %34, !llvm.loop !8
56: ; preds = %34
%57 = load i32, ptr %12, align 4
%58 = icmp eq i32 %57, 5
br i1 %58, label %66, label %59
59: ; preds = %56
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
%64 = load float, ptr %63, align 4
%65 = fcmp oge float %64, 9.000000e+01
br i1 %65, label %66, label %99
66: ; preds = %59, %56
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %71)
store i32 0, ptr %11, align 4
br label %73
73: ; preds = %88, %66
%74 = load i32, ptr %11, align 4
%75 = icmp slt i32 %74, 5
br i1 %75, label %76, label %91
76: ; preds = %73
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %9, align 4
%79 = mul nsw i32 5, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds float, ptr %77, i64 %80
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %81, i64 %83
%85 = load float, ptr %84, align 4
%86 = fpext float %85 to double
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %86)
br label %88
88: ; preds = %76
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %11, align 4
br label %73, !llvm.loop !9
91: ; preds = %73
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds float, ptr %92, i64 %94
%96 = load float, ptr %95, align 4
%97 = fpext float %96 to double
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %97)
br label %99
99: ; preds = %91, %59
br label %100
100: ; preds = %99
%101 = load i32, ptr %9, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %9, align 4
br label %30, !llvm.loop !10
103: ; preds = %30
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jl0xt64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"=====Students whose score is good=====\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NO.\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c" average\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%f \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @good(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %24
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x i8], ptr %18, i64 %20
%22 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 5
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp slt i32 %31, 4
br i1 %32, label %.lr.ph8, label %107
.lr.ph8: ; preds = %29
br label %33
33: ; preds = %.lr.ph8, %102
store i32 0, ptr %12, align 4
store i32 0, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %34, 5
br i1 %35, label %.lr.ph2, label %57
.lr.ph2: ; preds = %33
br label %36
36: ; preds = %.lr.ph2, %52
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %9, align 4
%39 = mul nsw i32 5, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, ptr %37, i64 %40
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
%45 = load float, ptr %44, align 4
%46 = fpext float %45 to double
%47 = fcmp ogt double %46, 8.500000e+01
br i1 %47, label %48, label %51
48: ; preds = %36
%49 = load i32, ptr %12, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %12, align 4
br label %51
51: ; preds = %48, %36
br label %52
52: ; preds = %51
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %10, align 4
%56 = icmp slt i32 %55, 5
br i1 %56, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %57
57: ; preds = %._crit_edge3, %33
%58 = load i32, ptr %12, align 4
%59 = icmp eq i32 %58, 5
br i1 %59, label %67, label %60
60: ; preds = %57
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %61, i64 %63
%65 = load float, ptr %64, align 4
%66 = fcmp oge float %65, 9.000000e+01
br i1 %66, label %67, label %101
67: ; preds = %60, %57
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %72)
store i32 0, ptr %11, align 4
%74 = load i32, ptr %11, align 4
%75 = icmp slt i32 %74, 5
br i1 %75, label %.lr.ph5, label %93
.lr.ph5: ; preds = %67
br label %76
76: ; preds = %.lr.ph5, %88
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %9, align 4
%79 = mul nsw i32 5, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds float, ptr %77, i64 %80
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %81, i64 %83
%85 = load float, ptr %84, align 4
%86 = fpext float %85 to double
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %86)
br label %88
88: ; preds = %76
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %11, align 4
%91 = load i32, ptr %11, align 4
%92 = icmp slt i32 %91, 5
br i1 %92, label %76, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %88
br label %93
93: ; preds = %._crit_edge6, %67
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %9, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds float, ptr %94, i64 %96
%98 = load float, ptr %97, align 4
%99 = fpext float %98 to double
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %99)
br label %101
101: ; preds = %93, %60
br label %102
102: ; preds = %101
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %9, align 4
%105 = load i32, ptr %9, align 4
%106 = icmp slt i32 %105, 4
br i1 %106, label %33, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %102
br label %107
107: ; preds = %._crit_edge9, %29
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp58hq6gz_.c'
source_filename = "/tmp/tmp58hq6gz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x8d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x8d() #0 {
%1 = call i64 @isalpha(i32 noundef 141)
%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 710, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmp58hq6gz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x8d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x8d() #0 {
%1 = call i64 @isalpha(i32 noundef 141)
%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 710, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmp8n0rdf0z.c'
source_filename = "/tmp/tmp8n0rdf0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @append(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %9, %11
%13 = add nsw i64 %12, 1
%14 = call ptr @realloc(ptr noundef %6, i64 noundef %13)
%15 = load ptr, ptr %3, align 8
store ptr %14, ptr %15, align 8
%16 = icmp eq ptr %14, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (...) @nomem()
br label %19
19: ; preds = %17, %2
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
ret void
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @nomem(...) #1
declare i32 @strcat(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/tmp8n0rdf0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @append(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %9, %11
%13 = add nsw i64 %12, 1
%14 = call ptr @realloc(ptr noundef %6, i64 noundef %13)
%15 = load ptr, ptr %3, align 8
store ptr %14, ptr %15, align 8
%16 = icmp eq ptr %14, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (...) @nomem()
br label %19
19: ; preds = %17, %2
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
ret void
}
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @nomem(...) #1
declare i32 @strcat(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/tmp2sgu4iea.c'
source_filename = "/tmp/tmp2sgu4iea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzero(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @memset(ptr noundef %5, i32 noundef 0, i64 noundef %6)
ret void
}
declare i32 @memset(ptr noundef, i32 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/tmp2sgu4iea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzero(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @memset(ptr noundef %5, i32 noundef 0, i64 noundef %6)
ret void
}
declare i32 @memset(ptr noundef, i32 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/tmpb4p619bd.c'
source_filename = "/tmp/tmpb4p619bd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fncval.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Incomplete Gamma Function\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"%4s %11s %14s %13s %13s %8s\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"actual\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"gcf(a,x)\00", align 1
@.str.12 = private unnamed_addr constant [10 x i8] c"gammln(a)\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"gln\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1
@.str.15 = private unnamed_addr constant [37 x i8] c"%6.2f%13.6f%13.6f%13.6f%12.6f%13.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %10, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @nrerror(ptr noundef @.str.2)
br label %15
15: ; preds = %13, %0
%16 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%17 = load ptr, ptr %10, align 8
%18 = call i32 @fgets(ptr noundef %16, i32 noundef 80, ptr noundef %17)
br label %19
19: ; preds = %32, %15
%20 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%21 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str.3, i32 noundef 25)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @fgets(ptr noundef %24, i32 noundef 80, ptr noundef %25)
%27 = load ptr, ptr %10, align 8
%28 = call i64 @feof(ptr noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %23
%31 = call i32 @nrerror(ptr noundef @.str.4)
br label %32
32: ; preds = %30, %23
br label %19, !llvm.loop !6
33: ; preds = %19
%34 = load ptr, ptr %10, align 8
%35 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %34, ptr noundef @.str.5, ptr noundef %4)
%36 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13)
store i32 1, ptr %3, align 4
br label %39
39: ; preds = %71, %33
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %43, label %74
43: ; preds = %39
%44 = load ptr, ptr %10, align 8
%45 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %44, ptr noundef @.str.14, ptr noundef %5, ptr noundef %7, ptr noundef %6)
%46 = load float, ptr %7, align 4
%47 = fpext float %46 to double
%48 = load float, ptr %5, align 4
%49 = fpext float %48 to double
%50 = fadd double %49, 1.000000e+00
%51 = fcmp oge double %47, %50
br i1 %51, label %52, label %70
52: ; preds = %43
%53 = load float, ptr %5, align 4
%54 = load float, ptr %7, align 4
%55 = call i32 @gcf(ptr noundef %8, float noundef %53, float noundef %54, ptr noundef %9)
%56 = load float, ptr %5, align 4
%57 = fpext float %56 to double
%58 = load float, ptr %7, align 4
%59 = fpext float %58 to double
%60 = load float, ptr %6, align 4
%61 = fpext float %60 to double
%62 = fsub double 1.000000e+00, %61
%63 = load float, ptr %8, align 4
%64 = fpext float %63 to double
%65 = load float, ptr %5, align 4
%66 = call i32 @gammln(float noundef %65)
%67 = load float, ptr %9, align 4
%68 = fpext float %67 to double
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %57, double noundef %59, double noundef %62, double noundef %64, i32 noundef %66, double noundef %68)
br label %70
70: ; preds = %52, %43
br label %71
71: ; preds = %70
%72 = load i32, ptr %3, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %3, align 4
br label %39, !llvm.loop !8
74: ; preds = %39
%75 = load ptr, ptr %10, align 8
%76 = call i32 @fclose(ptr noundef %75)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gcf(ptr noundef, float noundef, float noundef, ptr noundef) #1
declare i32 @gammln(float noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb4p619bd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fncval.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Data file fncval.dat not found\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Incomplete Gamma Function\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Data not found in fncval.dat\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"%d %*s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"%4s %11s %14s %13s %13s %8s\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"actual\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"gcf(a,x)\00", align 1
@.str.12 = private unnamed_addr constant [10 x i8] c"gammln(a)\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"gln\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1
@.str.15 = private unnamed_addr constant [37 x i8] c"%6.2f%13.6f%13.6f%13.6f%12.6f%13.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %10, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @nrerror(ptr noundef @.str.2)
br label %15
15: ; preds = %13, %0
%16 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%17 = load ptr, ptr %10, align 8
%18 = call i32 @fgets(ptr noundef %16, i32 noundef 80, ptr noundef %17)
%19 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%20 = call i64 @strncmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 25)
%21 = icmp ne i64 %20, 0
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %31
%23 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%24 = load ptr, ptr %10, align 8
%25 = call i32 @fgets(ptr noundef %23, i32 noundef 80, ptr noundef %24)
%26 = load ptr, ptr %10, align 8
%27 = call i64 @feof(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %22
%30 = call i32 @nrerror(ptr noundef @.str.4)
br label %31
31: ; preds = %29, %22
%32 = call i64 @strncmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 25)
%33 = icmp ne i64 %32, 0
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %34
34: ; preds = %._crit_edge, %15
%35 = load ptr, ptr %10, align 8
%36 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %35, ptr noundef @.str.5, ptr noundef %4)
%37 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13)
store i32 1, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %.lr.ph2, label %77
.lr.ph2: ; preds = %34
br label %43
43: ; preds = %.lr.ph2, %71
%44 = load ptr, ptr %10, align 8
%45 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %44, ptr noundef @.str.14, ptr noundef %5, ptr noundef %7, ptr noundef %6)
%46 = load float, ptr %7, align 4
%47 = fpext float %46 to double
%48 = load float, ptr %5, align 4
%49 = fpext float %48 to double
%50 = fadd double %49, 1.000000e+00
%51 = fcmp oge double %47, %50
br i1 %51, label %52, label %70
52: ; preds = %43
%53 = load float, ptr %5, align 4
%54 = load float, ptr %7, align 4
%55 = call i32 @gcf(ptr noundef %8, float noundef %53, float noundef %54, ptr noundef %9)
%56 = load float, ptr %5, align 4
%57 = fpext float %56 to double
%58 = load float, ptr %7, align 4
%59 = fpext float %58 to double
%60 = load float, ptr %6, align 4
%61 = fpext float %60 to double
%62 = fsub double 1.000000e+00, %61
%63 = load float, ptr %8, align 4
%64 = fpext float %63 to double
%65 = load float, ptr %5, align 4
%66 = call i32 @gammln(float noundef %65)
%67 = load float, ptr %9, align 4
%68 = fpext float %67 to double
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %57, double noundef %59, double noundef %62, double noundef %64, i32 noundef %66, double noundef %68)
br label %70
70: ; preds = %52, %43
br label %71
71: ; preds = %70
%72 = load i32, ptr %3, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %3, align 4
%74 = load i32, ptr %3, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %77
77: ; preds = %._crit_edge3, %34
%78 = load ptr, ptr %10, align 8
%79 = call i32 @fclose(ptr noundef %78)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gcf(ptr noundef, float noundef, float noundef, ptr noundef) #1
declare i32 @gammln(float noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsp4n4h8x.c'
source_filename = "/tmp/tmpsp4n4h8x.c"
target datalayout = "e-m:e-p270: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/tmpsp4n4h8x.c"
target datalayout = "e-m:e-p270: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/tmpw_znx4au.c'
source_filename = "/tmp/tmpw_znx4au.c"
target datalayout = "e-m:e-p270: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 @yesno() #0 {
%1 = alloca [128 x i8], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %33, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, 10
br label %11
11: ; preds = %8, %4
%12 = phi i1 [ false, %4 ], [ %10, %8 ]
br i1 %12, label %13, label %34
13: ; preds = %11
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 127
br i1 %18, label %26, label %19
19: ; preds = %16, %13
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = call i32 @isspace(i32 noundef %23) #3
%25 = icmp ne i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %22, %16
%27 = load i32, ptr %3, align 4
%28 = trunc i32 %27 to i8
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %26, %22, %19
br label %4, !llvm.loop !6
34: ; preds = %11
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %36
store i8 0, ptr %37, align 1
%38 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%39 = call i32 @rpmatch(ptr noundef %38)
%40 = icmp eq i32 %39, 1
%41 = zext i1 %40 to i32
ret i32 %41
}
declare i32 @getchar(...) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #2
declare i32 @rpmatch(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw_znx4au.c"
target datalayout = "e-m:e-p270: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 @yesno() #0 {
%1 = alloca [128 x i8], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %33, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, 10
br label %11
11: ; preds = %8, %4
%12 = phi i1 [ false, %4 ], [ %10, %8 ]
br i1 %12, label %13, label %34
13: ; preds = %11
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 127
br i1 %18, label %26, label %19
19: ; preds = %16, %13
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = call i32 @isspace(i32 noundef %23) #3
%25 = icmp ne i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %22, %16
%27 = load i32, ptr %3, align 4
%28 = trunc i32 %27 to i8
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %26, %22, %19
br label %4, !llvm.loop !6
34: ; preds = %11
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %36
store i8 0, ptr %37, align 1
%38 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%39 = call i32 @rpmatch(ptr noundef %38)
%40 = icmp eq i32 %39, 1
%41 = zext i1 %40 to i32
ret i32 %41
}
declare i32 @getchar(...) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #2
declare i32 @rpmatch(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8kcnxmqo.c'
source_filename = "/tmp/tmp8kcnxmqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mi_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @mi_strlen(ptr noundef %9)
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %27
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %12
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 0, ptr %31, align 1
ret void
}
declare i32 @mi_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8kcnxmqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mi_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @mi_strlen(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %23
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 %16, ptr %20, align 1
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %11
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load ptr, ptr %4, align 8
%28 = call i32 @mi_strlen(ptr noundef %27)
%29 = icmp slt i32 %26, %28
br i1 %29, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
ret void
}
declare i32 @mi_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpittyued8.c'
source_filename = "/tmp/tmpittyued8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"Tiempo de Ejecuci\C3\B3n: %f s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [48612 x i32], align 16
%9 = alloca [48612 x i32], align 16
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call double (...) @clock()
store double %13, ptr %10, align 8
store i32 2, ptr %6, align 4
br label %14
14: ; preds = %21, %2
%15 = load i32, ptr %6, align 4
%16 = icmp sle i32 %15, 48612
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %19
store i32 0, ptr %20, align 4
br label %21
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %14, !llvm.loop !6
24: ; preds = %14
store i32 0, ptr %6, align 4
br label %25
25: ; preds = %33, %24
%26 = load i32, ptr %6, align 4
%27 = icmp sle i32 %26, 48612
br i1 %27, label %28, label %36
28: ; preds = %25
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [48612 x i32], ptr %9, i64 0, i64 %31
store i32 %29, ptr %32, align 4
br label %33
33: ; preds = %28
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %25, !llvm.loop !8
36: ; preds = %25
store i32 2, ptr %6, align 4
br label %37
37: ; preds = %65, %36
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = mul nsw i32 %38, %39
%41 = icmp sle i32 %40, 48612
br i1 %41, label %42, label %68
42: ; preds = %37
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %64
48: ; preds = %42
store i32 2, ptr %7, align 4
br label %49
49: ; preds = %60, %48
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %7, align 4
%52 = mul nsw i32 %50, %51
%53 = icmp sle i32 %52, 48612
br i1 %53, label %54, label %63
54: ; preds = %49
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %7, align 4
%57 = mul nsw i32 %55, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %58
store i32 1, ptr %59, align 4
br label %60
60: ; preds = %54
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %49, !llvm.loop !9
63: ; preds = %49
br label %64
64: ; preds = %63, %42
br label %65
65: ; preds = %64
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %6, align 4
br label %37, !llvm.loop !10
68: ; preds = %37
store i32 2, ptr %6, align 4
br label %69
69: ; preds = %85, %68
%70 = load i32, ptr %6, align 4
%71 = icmp sle i32 %70, 48612
br i1 %71, label %72, label %88
72: ; preds = %69
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %84
78: ; preds = %72
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [48612 x i32], ptr %9, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %82)
br label %84
84: ; preds = %78, %72
br label %85
85: ; preds = %84
%86 = load i32, ptr %6, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %6, align 4
br label %69, !llvm.loop !11
88: ; preds = %69
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%90 = call double (...) @clock()
store double %90, ptr %11, align 8
%91 = load double, ptr %11, align 8
%92 = load double, ptr %10, align 8
%93 = fsub double %91, %92
%94 = load double, ptr @CLOCKS_PER_SEC, align 8
%95 = fdiv double %93, %94
store double %95, ptr %12, align 8
%96 = load double, ptr %12, align 8
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %96)
ret i32 0
}
declare double @clock(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpittyued8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"Tiempo de Ejecuci\C3\B3n: %f s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [48612 x i32], align 16
%9 = alloca [48612 x i32], align 16
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call double (...) @clock()
store double %13, ptr %10, align 8
store i32 2, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sle i32 %14, 48612
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %20
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %18
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %16
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %23, 48612
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sle i32 %26, 48612
br i1 %27, label %.lr.ph2, label %38
.lr.ph2: ; preds = %25
br label %28
28: ; preds = %.lr.ph2, %33
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [48612 x i32], ptr %9, i64 0, i64 %31
store i32 %29, ptr %32, align 4
br label %33
33: ; preds = %28
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp sle i32 %36, 48612
br i1 %37, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %25
store i32 2, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = mul nsw i32 %39, %40
%42 = icmp sle i32 %41, 48612
br i1 %42, label %.lr.ph8, label %76
.lr.ph8: ; preds = %38
br label %43
43: ; preds = %.lr.ph8, %69
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %68
49: ; preds = %43
store i32 2, ptr %7, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %7, align 4
%52 = mul nsw i32 %50, %51
%53 = icmp sle i32 %52, 48612
br i1 %53, label %.lr.ph5, label %67
.lr.ph5: ; preds = %49
br label %54
54: ; preds = %.lr.ph5, %60
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %7, align 4
%57 = mul nsw i32 %55, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %58
store i32 1, ptr %59, align 4
br label %60
60: ; preds = %54
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %7, align 4
%65 = mul nsw i32 %63, %64
%66 = icmp sle i32 %65, 48612
br i1 %66, label %54, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %60
br label %67
67: ; preds = %._crit_edge6, %49
br label %68
68: ; preds = %67, %43
br label %69
69: ; preds = %68
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %6, align 4
%74 = mul nsw i32 %72, %73
%75 = icmp sle i32 %74, 48612
br i1 %75, label %43, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %69
br label %76
76: ; preds = %._crit_edge9, %38
store i32 2, ptr %6, align 4
%77 = load i32, ptr %6, align 4
%78 = icmp sle i32 %77, 48612
br i1 %78, label %.lr.ph11, label %97
.lr.ph11: ; preds = %76
br label %79
79: ; preds = %.lr.ph11, %92
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [48612 x i32], ptr %8, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %91
85: ; preds = %79
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [48612 x i32], ptr %9, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %89)
br label %91
91: ; preds = %85, %79
br label %92
92: ; preds = %91
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %6, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp sle i32 %95, 48612
br i1 %96, label %79, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %92
br label %97
97: ; preds = %._crit_edge12, %76
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%99 = call double (...) @clock()
store double %99, ptr %11, align 8
%100 = load double, ptr %11, align 8
%101 = load double, ptr %10, align 8
%102 = fsub double %100, %101
%103 = load double, ptr @CLOCKS_PER_SEC, align 8
%104 = fdiv double %102, %103
store double %104, ptr %12, align 8
%105 = load double, ptr %12, align 8
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %105)
ret i32 0
}
declare double @clock(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpt7j9qe4k.c'
source_filename = "/tmp/tmpt7j9qe4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_bond(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_bond(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/tmpt7j9qe4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_bond(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_bond(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/tmps4cxofz9.c'
source_filename = "/tmp/tmps4cxofz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4x\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02X \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"%s[%4.4s] %-50.50s %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"%s%-50.50s %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hex_dump(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%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 i8, align 1
%13 = alloca i32, align 4
%14 = alloca [4 x i8], align 1
%15 = alloca [10 x i8], align 1
%16 = alloca [53 x i8], align 16
%17 = alloca [21 x i8], align 16
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
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
store ptr %4, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
store ptr %21, ptr %11, align 8
call void @llvm.memset.p0.i64(ptr align 1 %14, i8 0, i64 4, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %15, i8 0, i64 10, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 53, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 21, i1 false)
%22 = load ptr, ptr %9, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %5
store ptr null, ptr %9, align 8
br label %25
25: ; preds = %24, %5
%26 = load ptr, ptr %10, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %25
store ptr null, ptr %10, align 8
br label %29
29: ; preds = %28, %25
store i32 1, ptr %13, align 4
br label %30
30: ; preds = %135, %29
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %138
34: ; preds = %30
%35 = load i32, ptr %13, align 4
%36 = srem i32 %35, 16
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %49
38: ; preds = %34
%39 = load ptr, ptr %11, align 8
%40 = ptrtoint ptr %39 to i64
%41 = load ptr, ptr %6, align 8
%42 = ptrtoint ptr %41 to i64
%43 = sub i64 %40, %42
%44 = trunc i64 %43 to i32
store i32 %44, ptr %18, align 4
%45 = getelementptr inbounds [10 x i8], ptr %15, i64 0, i64 0
%46 = load i32, ptr %18, align 4
%47 = trunc i32 %46 to i8
%48 = call i32 @snprintf(ptr noundef %45, i32 noundef 10, ptr noundef @.str, i8 noundef zeroext %47)
br label %49
49: ; preds = %38, %34
%50 = load ptr, ptr %11, align 8
%51 = load i8, ptr %50, align 1
store i8 %51, ptr %12, align 1
%52 = load i8, ptr %12, align 1
%53 = call i32 @isprint(i8 noundef zeroext %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %49
store i8 46, ptr %12, align 1
br label %56
56: ; preds = %55, %49
%57 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%58 = load ptr, ptr %11, align 8
%59 = load i8, ptr %58, align 1
%60 = call i32 @snprintf(ptr noundef %57, i32 noundef 4, ptr noundef @.str.1, i8 noundef zeroext %59)
%61 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%62 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%63 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%64 = call i32 @strlen(ptr noundef %63)
%65 = sext i32 %64 to i64
%66 = sub i64 53, %65
%67 = sub i64 %66, 1
%68 = trunc i64 %67 to i32
%69 = call i32 @strncat(ptr noundef %61, ptr noundef %62, i32 noundef %68)
%70 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%71 = load i8, ptr %12, align 1
%72 = call i32 @snprintf(ptr noundef %70, i32 noundef 4, ptr noundef @.str.2, i8 noundef zeroext %71)
%73 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%74 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%75 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%76 = call i32 @strlen(ptr noundef %75)
%77 = sext i32 %76 to i64
%78 = sub i64 21, %77
%79 = sub i64 %78, 1
%80 = trunc i64 %79 to i32
%81 = call i32 @strncat(ptr noundef %73, ptr noundef %74, i32 noundef %80)
%82 = load i32, ptr %13, align 4
%83 = srem i32 %82, 16
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %110
85: ; preds = %56
%86 = load i32, ptr %13, align 4
%87 = icmp sle i32 %86, 16
br i1 %87, label %88, label %90
88: ; preds = %85
%89 = load ptr, ptr %9, align 8
br label %92
90: ; preds = %85
%91 = load ptr, ptr %10, align 8
br label %92
92: ; preds = %90, %88
%93 = phi ptr [ %89, %88 ], [ %91, %90 ]
store ptr %93, ptr %19, align 8
%94 = load i32, ptr %8, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %102
96: ; preds = %92
%97 = load ptr, ptr %19, align 8
%98 = getelementptr inbounds [10 x i8], ptr %15, i64 0, i64 0
%99 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%100 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%101 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef %100)
br label %107
102: ; preds = %92
%103 = load ptr, ptr %19, align 8
%104 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%105 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%106 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %103, ptr noundef %104, ptr noundef %105)
br label %107
107: ; preds = %102, %96
%108 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
store i8 0, ptr %108, align 16
%109 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
store i8 0, ptr %109, align 16
br label %132
110: ; preds = %56
%111 = load i32, ptr %13, align 4
%112 = srem i32 %111, 8
%113 = icmp eq i32 %112, 0
br i1 %113, label %114, label %131
114: ; preds = %110
%115 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%116 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%117 = call i32 @strlen(ptr noundef %116)
%118 = sext i32 %117 to i64
%119 = sub i64 53, %118
%120 = sub i64 %119, 1
%121 = trunc i64 %120 to i32
%122 = call i32 @strncat(ptr noundef %115, ptr noundef @.str.5, i32 noundef %121)
%123 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%124 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%125 = call i32 @strlen(ptr noundef %124)
%126 = sext i32 %125 to i64
%127 = sub i64 21, %126
%128 = sub i64 %127, 1
%129 = trunc i64 %128 to i32
%130 = call i32 @strncat(ptr noundef %123, ptr noundef @.str.6, i32 noundef %129)
br label %131
131: ; preds = %114, %110
br label %132
132: ; preds = %131, %107
%133 = load ptr, ptr %11, align 8
%134 = getelementptr inbounds i8, ptr %133, i32 1
store ptr %134, ptr %11, align 8
br label %135
135: ; preds = %132
%136 = load i32, ptr %13, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %13, align 4
br label %30, !llvm.loop !6
138: ; preds = %30
%139 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%140 = call i32 @strlen(ptr noundef %139)
%141 = icmp sgt i32 %140, 0
br i1 %141, label %142, label %165
142: ; preds = %138
%143 = load i32, ptr %13, align 4
%144 = icmp sle i32 %143, 16
br i1 %144, label %145, label %147
145: ; preds = %142
%146 = load ptr, ptr %9, align 8
br label %149
147: ; preds = %142
%148 = load ptr, ptr %10, align 8
br label %149
149: ; preds = %147, %145
%150 = phi ptr [ %146, %145 ], [ %148, %147 ]
store ptr %150, ptr %20, align 8
%151 = load i32, ptr %8, align 4
%152 = icmp ne i32 %151, 0
br i1 %152, label %153, label %159
153: ; preds = %149
%154 = load ptr, ptr %20, align 8
%155 = getelementptr inbounds [10 x i8], ptr %15, i64 0, i64 0
%156 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%157 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%158 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %154, ptr noundef %155, ptr noundef %156, ptr noundef %157)
br label %164
159: ; preds = %149
%160 = load ptr, ptr %20, align 8
%161 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%162 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%163 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %160, ptr noundef %161, ptr noundef %162)
br label %164
164: ; preds = %159, %153
br label %165
165: ; preds = %164, %138
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext) #2
declare i32 @isprint(i8 noundef zeroext) #2
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4cxofz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4x\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02X \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"%s[%4.4s] %-50.50s %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"%s%-50.50s %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hex_dump(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%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 i8, align 1
%13 = alloca i32, align 4
%14 = alloca [4 x i8], align 1
%15 = alloca [10 x i8], align 1
%16 = alloca [53 x i8], align 16
%17 = alloca [21 x i8], align 16
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
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
store ptr %4, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
store ptr %21, ptr %11, align 8
call void @llvm.memset.p0.i64(ptr align 1 %14, i8 0, i64 4, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %15, i8 0, i64 10, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 53, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 21, i1 false)
%22 = load ptr, ptr %9, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %5
store ptr null, ptr %9, align 8
br label %25
25: ; preds = %24, %5
%26 = load ptr, ptr %10, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %25
store ptr null, ptr %10, align 8
br label %29
29: ; preds = %28, %25
store i32 1, ptr %13, align 4
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %.lr.ph, label %140
.lr.ph: ; preds = %29
br label %33
33: ; preds = %.lr.ph, %134
%34 = load i32, ptr %13, align 4
%35 = srem i32 %34, 16
%36 = icmp eq i32 %35, 1
br i1 %36, label %37, label %48
37: ; preds = %33
%38 = load ptr, ptr %11, align 8
%39 = ptrtoint ptr %38 to i64
%40 = load ptr, ptr %6, align 8
%41 = ptrtoint ptr %40 to i64
%42 = sub i64 %39, %41
%43 = trunc i64 %42 to i32
store i32 %43, ptr %18, align 4
%44 = getelementptr inbounds [10 x i8], ptr %15, i64 0, i64 0
%45 = load i32, ptr %18, align 4
%46 = trunc i32 %45 to i8
%47 = call i32 @snprintf(ptr noundef %44, i32 noundef 10, ptr noundef @.str, i8 noundef zeroext %46)
br label %48
48: ; preds = %37, %33
%49 = load ptr, ptr %11, align 8
%50 = load i8, ptr %49, align 1
store i8 %50, ptr %12, align 1
%51 = load i8, ptr %12, align 1
%52 = call i32 @isprint(i8 noundef zeroext %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %48
store i8 46, ptr %12, align 1
br label %55
55: ; preds = %54, %48
%56 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%57 = load ptr, ptr %11, align 8
%58 = load i8, ptr %57, align 1
%59 = call i32 @snprintf(ptr noundef %56, i32 noundef 4, ptr noundef @.str.1, i8 noundef zeroext %58)
%60 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%61 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%62 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%63 = call i32 @strlen(ptr noundef %62)
%64 = sext i32 %63 to i64
%65 = sub i64 53, %64
%66 = sub i64 %65, 1
%67 = trunc i64 %66 to i32
%68 = call i32 @strncat(ptr noundef %60, ptr noundef %61, i32 noundef %67)
%69 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%70 = load i8, ptr %12, align 1
%71 = call i32 @snprintf(ptr noundef %69, i32 noundef 4, ptr noundef @.str.2, i8 noundef zeroext %70)
%72 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%73 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
%74 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%75 = call i32 @strlen(ptr noundef %74)
%76 = sext i32 %75 to i64
%77 = sub i64 21, %76
%78 = sub i64 %77, 1
%79 = trunc i64 %78 to i32
%80 = call i32 @strncat(ptr noundef %72, ptr noundef %73, i32 noundef %79)
%81 = load i32, ptr %13, align 4
%82 = srem i32 %81, 16
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %109
84: ; preds = %55
%85 = load i32, ptr %13, align 4
%86 = icmp sle i32 %85, 16
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = load ptr, ptr %9, align 8
br label %91
89: ; preds = %84
%90 = load ptr, ptr %10, align 8
br label %91
91: ; preds = %89, %87
%92 = phi ptr [ %88, %87 ], [ %90, %89 ]
store ptr %92, ptr %19, align 8
%93 = load i32, ptr %8, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %101
95: ; preds = %91
%96 = load ptr, ptr %19, align 8
%97 = getelementptr inbounds [10 x i8], ptr %15, i64 0, i64 0
%98 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%99 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%100 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99)
br label %106
101: ; preds = %91
%102 = load ptr, ptr %19, align 8
%103 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%104 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%105 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %102, ptr noundef %103, ptr noundef %104)
br label %106
106: ; preds = %101, %95
%107 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
store i8 0, ptr %107, align 16
%108 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
store i8 0, ptr %108, align 16
br label %131
109: ; preds = %55
%110 = load i32, ptr %13, align 4
%111 = srem i32 %110, 8
%112 = icmp eq i32 %111, 0
br i1 %112, label %113, label %130
113: ; preds = %109
%114 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%115 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%116 = call i32 @strlen(ptr noundef %115)
%117 = sext i32 %116 to i64
%118 = sub i64 53, %117
%119 = sub i64 %118, 1
%120 = trunc i64 %119 to i32
%121 = call i32 @strncat(ptr noundef %114, ptr noundef @.str.5, i32 noundef %120)
%122 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%123 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%124 = call i32 @strlen(ptr noundef %123)
%125 = sext i32 %124 to i64
%126 = sub i64 21, %125
%127 = sub i64 %126, 1
%128 = trunc i64 %127 to i32
%129 = call i32 @strncat(ptr noundef %122, ptr noundef @.str.6, i32 noundef %128)
br label %130
130: ; preds = %113, %109
br label %131
131: ; preds = %130, %106
%132 = load ptr, ptr %11, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %11, align 8
br label %134
134: ; preds = %131
%135 = load i32, ptr %13, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %13, align 4
%137 = load i32, ptr %13, align 4
%138 = load i32, ptr %7, align 4
%139 = icmp sle i32 %137, %138
br i1 %139, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %134
br label %140
140: ; preds = %._crit_edge, %29
%141 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%142 = call i32 @strlen(ptr noundef %141)
%143 = icmp sgt i32 %142, 0
br i1 %143, label %144, label %167
144: ; preds = %140
%145 = load i32, ptr %13, align 4
%146 = icmp sle i32 %145, 16
br i1 %146, label %147, label %149
147: ; preds = %144
%148 = load ptr, ptr %9, align 8
br label %151
149: ; preds = %144
%150 = load ptr, ptr %10, align 8
br label %151
151: ; preds = %149, %147
%152 = phi ptr [ %148, %147 ], [ %150, %149 ]
store ptr %152, ptr %20, align 8
%153 = load i32, ptr %8, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %161
155: ; preds = %151
%156 = load ptr, ptr %20, align 8
%157 = getelementptr inbounds [10 x i8], ptr %15, i64 0, i64 0
%158 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%159 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%160 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %156, ptr noundef %157, ptr noundef %158, ptr noundef %159)
br label %166
161: ; preds = %151
%162 = load ptr, ptr %20, align 8
%163 = getelementptr inbounds [53 x i8], ptr %16, i64 0, i64 0
%164 = getelementptr inbounds [21 x i8], ptr %17, i64 0, i64 0
%165 = call i32 (ptr, ptr, ptr, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %162, ptr noundef %163, ptr noundef %164)
br label %166
166: ; preds = %161, %155
br label %167
167: ; preds = %166, %140
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext) #2
declare i32 @isprint(i8 noundef zeroext) #2
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeuv5hsei.c'
source_filename = "/tmp/tmpeuv5hsei.c"
target datalayout = "e-m:e-p270: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/tmpeuv5hsei.c"
target datalayout = "e-m:e-p270: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/tmpei9glkog.c'
source_filename = "/tmp/tmpei9glkog.c"
target datalayout = "e-m:e-p270: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/tmpei9glkog.c"
target datalayout = "e-m:e-p270: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/tmp79y8_b7j.c'
source_filename = "/tmp/tmp79y8_b7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getpass.e = internal global [1 x i8] zeroinitializer, align 1
@getpass.buf = internal global ptr null, align 8
@getpass.bufsiz = internal global i64 0, align 8
@_SC_PASS_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getpass(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr @getpass.buf, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %18
7: ; preds = %1
%8 = load i32, ptr @_SC_PASS_MAX, align 4
%9 = call i64 @sysconf(i32 noundef %8)
store i64 %9, ptr @getpass.bufsiz, align 8
%10 = icmp eq i64 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %7
store ptr @getpass.e, ptr %2, align 8
br label %27
12: ; preds = %7
%13 = load i64, ptr @getpass.bufsiz, align 8
%14 = call ptr @malloc(i64 noundef %13)
store ptr %14, ptr @getpass.buf, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %12
store ptr @getpass.e, ptr %2, align 8
br label %27
17: ; preds = %12
br label %18
18: ; preds = %17, %1
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr @getpass.buf, align 8
%21 = load i64, ptr @getpass.bufsiz, align 8
%22 = call ptr @getpass_r(ptr noundef %19, ptr noundef %20, i64 noundef %21)
store ptr %22, ptr %4, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %18
store ptr @getpass.e, ptr %2, align 8
br label %27
25: ; preds = %18
%26 = load ptr, ptr %4, align 8
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %25, %24, %16, %11
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare i64 @sysconf(i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @getpass_r(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79y8_b7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getpass.e = internal global [1 x i8] zeroinitializer, align 1
@getpass.buf = internal global ptr null, align 8
@getpass.bufsiz = internal global i64 0, align 8
@_SC_PASS_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getpass(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr @getpass.buf, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %18
7: ; preds = %1
%8 = load i32, ptr @_SC_PASS_MAX, align 4
%9 = call i64 @sysconf(i32 noundef %8)
store i64 %9, ptr @getpass.bufsiz, align 8
%10 = icmp eq i64 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %7
store ptr @getpass.e, ptr %2, align 8
br label %27
12: ; preds = %7
%13 = load i64, ptr @getpass.bufsiz, align 8
%14 = call ptr @malloc(i64 noundef %13)
store ptr %14, ptr @getpass.buf, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %12
store ptr @getpass.e, ptr %2, align 8
br label %27
17: ; preds = %12
br label %18
18: ; preds = %17, %1
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr @getpass.buf, align 8
%21 = load i64, ptr @getpass.bufsiz, align 8
%22 = call ptr @getpass_r(ptr noundef %19, ptr noundef %20, i64 noundef %21)
store ptr %22, ptr %4, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %18
store ptr @getpass.e, ptr %2, align 8
br label %27
25: ; preds = %18
%26 = load ptr, ptr %4, align 8
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %25, %24, %16, %11
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare i64 @sysconf(i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @getpass_r(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvggyfnao.c'
source_filename = "/tmp/tmpvggyfnao.c"
target datalayout = "e-m:e-p270: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/tmpvggyfnao.c"
target datalayout = "e-m:e-p270: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/tmpnd2jserx.c'
source_filename = "/tmp/tmpnd2jserx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [2 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.args, i64 16, i1 false)
%2 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
%3 = call i32 @execvp(ptr noundef @.str, ptr noundef %2)
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 @execvp(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/tmpnd2jserx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"ls\00", align 1
@__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [2 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.args, i64 16, i1 false)
%2 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
%3 = call i32 @execvp(ptr noundef @.str, ptr noundef %2)
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 @execvp(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/tmpy9ea115a.c'
source_filename = "/tmp/tmpy9ea115a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xa1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xa1() #0 {
%1 = call i64 @isgraph(i32 noundef 161)
%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 810, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpy9ea115a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xa1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0xa1() #0 {
%1 = call i64 @isgraph(i32 noundef 161)
%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 810, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpw5gbnw30.c'
source_filename = "/tmp/tmpw5gbnw30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_memblockq_push\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblockq_push() #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/tmpw5gbnw30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_memblockq_push\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblockq_push() #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/tmp7pnjgmdq.c'
source_filename = "/tmp/tmp7pnjgmdq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sync() #0 {
%1 = call i32 @__syscall(i32 noundef 36)
ret void
}
declare i32 @__syscall(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/tmp7pnjgmdq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sync() #0 {
%1 = call i32 @__syscall(i32 noundef 36)
ret void
}
declare i32 @__syscall(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.