llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpkwnae2s5.c'
source_filename = "/tmp/tmpkwnae2s5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%lf %lf %lf %lf %lf %lf %lf %lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %34, %0
%11 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%12 = load i64, ptr @EOF, align 8
%13 = icmp ne i64 %11, %12
br i1 %13, label %14, label %35
14: ; preds = %10
%15 = load double, ptr %4, align 8
%16 = load double, ptr %2, align 8
%17 = fsub double %15, %16
%18 = load double, ptr %8, align 8
%19 = load double, ptr %6, align 8
%20 = fsub double %18, %19
%21 = load double, ptr %5, align 8
%22 = load double, ptr %3, align 8
%23 = fsub double %21, %22
%24 = load double, ptr %9, align 8
%25 = load double, ptr %7, align 8
%26 = fsub double %24, %25
%27 = fmul double %23, %26
%28 = call double @llvm.fmuladd.f64(double %17, double %20, double %27)
%29 = fcmp oeq double %28, 0.000000e+00
br i1 %29, label %30, label %32
30: ; preds = %14
%31 = call i32 @printf(ptr noundef @.str.1)
br label %34
32: ; preds = %14
%33 = call i32 @printf(ptr noundef @.str.2)
br label %34
34: ; preds = %32, %30
br label %10, !llvm.loop !6
35: ; preds = %10
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkwnae2s5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%lf %lf %lf %lf %lf %lf %lf %lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 0, ptr %1, align 4
%10 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%11 = load i64, ptr @EOF, align 8
%12 = icmp ne i64 %10, %11
br i1 %12, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %33
%14 = load double, ptr %4, align 8
%15 = load double, ptr %2, align 8
%16 = fsub double %14, %15
%17 = load double, ptr %8, align 8
%18 = load double, ptr %6, align 8
%19 = fsub double %17, %18
%20 = load double, ptr %5, align 8
%21 = load double, ptr %3, align 8
%22 = fsub double %20, %21
%23 = load double, ptr %9, align 8
%24 = load double, ptr %7, align 8
%25 = fsub double %23, %24
%26 = fmul double %22, %25
%27 = call double @llvm.fmuladd.f64(double %16, double %19, double %26)
%28 = fcmp oeq double %27, 0.000000e+00
br i1 %28, label %29, label %31
29: ; preds = %13
%30 = call i32 @printf(ptr noundef @.str.1)
br label %33
31: ; preds = %13
%32 = call i32 @printf(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %29
%34 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%35 = load i64, ptr @EOF, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %37
37: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb9wlkepf.c'
source_filename = "/tmp/tmpb9wlkepf.c"
target datalayout = "e-m:e-p270: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/tmpb9wlkepf.c"
target datalayout = "e-m:e-p270: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/tmp30v5bsn1.c'
source_filename = "/tmp/tmp30v5bsn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"12\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"123\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Hello world!\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"printf test\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"%s is null pointer\0A\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"%d = 5\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"%d = - max int\0A\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"char %c = 'a'\0A\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"hex %x = ff\0A\00", align 1
@.str.12 = private unnamed_addr constant [15 x i8] c"hex %02x = 00\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c"signed %d = unsigned %u = hex %x\0A\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"%d %s(s)%\00", align 1
@.str.15 = private unnamed_addr constant [8 x i8] c"message\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.17 = private unnamed_addr constant [18 x i8] c"%d %s(s) with %%\0A\00", align 1
@.str.18 = private unnamed_addr constant [17 x i8] c"justif: \22%-10s\22\0A\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"left\00", align 1
@.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.21 = private unnamed_addr constant [16 x i8] c"justif: \22%10s\22\0A\00", align 1
@.str.22 = private unnamed_addr constant [6 x i8] c"right\00", align 1
@.str.23 = private unnamed_addr constant [22 x i8] c" 3: %04d zero padded\0A\00", align 1
@.str.24 = private unnamed_addr constant [23 x i8] c" 3: %-4d left justif.\0A\00", align 1
@.str.25 = private unnamed_addr constant [23 x i8] c" 3: %4d right justif.\0A\00", align 1
@.str.26 = private unnamed_addr constant [22 x i8] c"-3: %04d zero padded\0A\00", align 1
@.str.27 = private unnamed_addr constant [23 x i8] c"-3: %-4d left justif.\0A\00", align 1
@.str.28 = private unnamed_addr constant [23 x i8] c"-3: %4d right justif.\0A\00", align 1
@.str.29 = private unnamed_addr constant [66 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789\0A\00", align 1
@.str.30 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.31 = private unnamed_addr constant [12 x i8] c"count = %d\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 ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [80 x i8], align 16
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 3212836864 to ptr), ptr %2, align 8
store ptr inttoptr (i64 3212836876 to ptr), ptr %3, align 8
store volatile i16 0, ptr %5, align 2
%12 = call i32 (...) @fdc_init()
br label %13
13: ; preds = %0, %129
%14 = load ptr, ptr %3, align 8
%15 = load volatile i32, ptr %14, align 4
store volatile i32 %15, ptr %4, align 4
%16 = load volatile i32, ptr %4, align 4
switch i32 %16, label %118 [
i32 1, label %17
i32 2, label %32
i32 4, label %96
i32 8, label %100
i32 16, label %113
]
17: ; preds = %13
%18 = load volatile i16, ptr %5, align 2
%19 = zext i16 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store volatile i16 -4096, ptr %5, align 2
br label %27
22: ; preds = %17
%23 = load volatile i16, ptr %5, align 2
%24 = zext i16 %23 to i32
%25 = ashr i32 %24, 1
%26 = trunc i32 %25 to i16
store volatile i16 %26, ptr %5, align 2
br label %27
27: ; preds = %22, %21
%28 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str)
%29 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.1)
%30 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.2)
%31 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.3)
br label %129
32: ; preds = %13
%33 = load volatile i16, ptr %5, align 2
%34 = zext i16 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %32
%37 = load volatile i16, ptr %5, align 2
%38 = zext i16 %37 to i32
%39 = xor i32 %38, -1
%40 = trunc i32 %39 to i16
store volatile i16 %40, ptr %5, align 2
br label %42
41: ; preds = %32
store volatile i16 0, ptr %5, align 2
br label %42
42: ; preds = %41, %36
store ptr @.str.4, ptr %6, align 8
store ptr null, ptr %7, align 8
store i32 5, ptr %8, align 4
store i32 32, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = sub i32 %43, 1
%45 = shl i32 1, %44
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load ptr, ptr %6, align 8
%48 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.5, ptr noundef %47)
%49 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.6)
%50 = load ptr, ptr %7, align 8
%51 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.7, ptr noundef %50)
%52 = load i32, ptr %8, align 4
%53 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.8, i32 noundef %52)
%54 = load i32, ptr %10, align 4
%55 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.9, i32 noundef %54)
%56 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.10, i32 noundef 97)
%57 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.11, i32 noundef 255)
%58 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.12, i32 noundef 0)
%59 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.13, i32 noundef -3, i32 noundef -3, i32 noundef -3)
%60 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.14, i32 noundef 0, ptr noundef @.str.15)
%61 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.16)
%62 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.17, i32 noundef 0, ptr noundef @.str.15)
%63 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.18, ptr noundef @.str.19)
%64 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%65 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %64, ptr noundef @.str.18, ptr noundef @.str.19)
%66 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%67 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %66)
%68 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%69 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %68, ptr noundef @.str.21, ptr noundef @.str.22)
%70 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%71 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %70)
%72 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%73 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %72, ptr noundef @.str.23, i32 noundef 3)
%74 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%75 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %74)
%76 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%77 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %76, ptr noundef @.str.24, i32 noundef 3)
%78 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%79 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %78)
%80 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%81 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %80, ptr noundef @.str.25, i32 noundef 3)
%82 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%83 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %82)
%84 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%85 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %84, ptr noundef @.str.26, i32 noundef -3)
%86 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%87 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %86)
%88 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%89 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %88, ptr noundef @.str.27, i32 noundef -3)
%90 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%91 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %90)
%92 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%93 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %92, ptr noundef @.str.28, i32 noundef -3)
%94 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%95 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %94)
br label %129
96: ; preds = %13
%97 = load volatile i16, ptr %5, align 2
%98 = add i16 %97, -1
store volatile i16 %98, ptr %5, align 2
%99 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.29)
br label %129
100: ; preds = %13
store volatile i16 -1536, ptr %5, align 2
br label %101
101: ; preds = %109, %100
%102 = load volatile i16, ptr %5, align 2
%103 = zext i16 %102 to i32
%104 = icmp slt i32 %103, 65000
br i1 %104, label %105, label %112
105: ; preds = %101
%106 = load volatile i16, ptr %5, align 2
%107 = zext i16 %106 to i32
%108 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.30, i32 noundef %107)
br label %109
109: ; preds = %105
%110 = load volatile i16, ptr %5, align 2
%111 = add i16 %110, 1
store volatile i16 %111, ptr %5, align 2
br label %101, !llvm.loop !6
112: ; preds = %101
br label %129
113: ; preds = %13
%114 = load volatile i16, ptr %5, align 2
%115 = add i16 %114, 1
store volatile i16 %115, ptr %5, align 2
%116 = zext i16 %114 to i32
%117 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.31, i32 noundef %116)
br label %129
118: ; preds = %13
%119 = load volatile i16, ptr %5, align 2
%120 = zext i16 %119 to i32
%121 = icmp eq i32 %120, 0
br i1 %121, label %122, label %123
122: ; preds = %118
store volatile i16 15, ptr %5, align 2
br label %128
123: ; preds = %118
%124 = load volatile i16, ptr %5, align 2
%125 = zext i16 %124 to i32
%126 = shl i32 %125, 1
%127 = trunc i32 %126 to i16
store volatile i16 %127, ptr %5, align 2
br label %128
128: ; preds = %123, %122
br label %129
129: ; preds = %128, %113, %112, %96, %42, %27
%130 = load volatile i16, ptr %5, align 2
%131 = zext i16 %130 to i32
%132 = load ptr, ptr %2, align 8
store volatile i32 %131, ptr %132, align 4
%133 = call i32 (...) @delay()
br label %13
}
declare i32 @fdc_init(...) #1
declare i32 @fdc_printf(ptr noundef, ...) #1
declare i32 @fdc_sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @delay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp30v5bsn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"12\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"123\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Hello world!\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"printf test\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"%s is null pointer\0A\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"%d = 5\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"%d = - max int\0A\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"char %c = 'a'\0A\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"hex %x = ff\0A\00", align 1
@.str.12 = private unnamed_addr constant [15 x i8] c"hex %02x = 00\0A\00", align 1
@.str.13 = private unnamed_addr constant [34 x i8] c"signed %d = unsigned %u = hex %x\0A\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"%d %s(s)%\00", align 1
@.str.15 = private unnamed_addr constant [8 x i8] c"message\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.17 = private unnamed_addr constant [18 x i8] c"%d %s(s) with %%\0A\00", align 1
@.str.18 = private unnamed_addr constant [17 x i8] c"justif: \22%-10s\22\0A\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"left\00", align 1
@.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.21 = private unnamed_addr constant [16 x i8] c"justif: \22%10s\22\0A\00", align 1
@.str.22 = private unnamed_addr constant [6 x i8] c"right\00", align 1
@.str.23 = private unnamed_addr constant [22 x i8] c" 3: %04d zero padded\0A\00", align 1
@.str.24 = private unnamed_addr constant [23 x i8] c" 3: %-4d left justif.\0A\00", align 1
@.str.25 = private unnamed_addr constant [23 x i8] c" 3: %4d right justif.\0A\00", align 1
@.str.26 = private unnamed_addr constant [22 x i8] c"-3: %04d zero padded\0A\00", align 1
@.str.27 = private unnamed_addr constant [23 x i8] c"-3: %-4d left justif.\0A\00", align 1
@.str.28 = private unnamed_addr constant [23 x i8] c"-3: %4d right justif.\0A\00", align 1
@.str.29 = private unnamed_addr constant [66 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789\0A\00", align 1
@.str.30 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.31 = private unnamed_addr constant [12 x i8] c"count = %d\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 ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [80 x i8], align 16
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 3212836864 to ptr), ptr %2, align 8
store ptr inttoptr (i64 3212836876 to ptr), ptr %3, align 8
store volatile i16 0, ptr %5, align 2
%12 = call i32 (...) @fdc_init()
br label %13
13: ; preds = %131, %0
%14 = load ptr, ptr %3, align 8
%15 = load volatile i32, ptr %14, align 4
store volatile i32 %15, ptr %4, align 4
%16 = load volatile i32, ptr %4, align 4
switch i32 %16, label %120 [
i32 1, label %17
i32 2, label %32
i32 4, label %96
i32 8, label %100
i32 16, label %115
]
17: ; preds = %13
%18 = load volatile i16, ptr %5, align 2
%19 = zext i16 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store volatile i16 -4096, ptr %5, align 2
br label %27
22: ; preds = %17
%23 = load volatile i16, ptr %5, align 2
%24 = zext i16 %23 to i32
%25 = ashr i32 %24, 1
%26 = trunc i32 %25 to i16
store volatile i16 %26, ptr %5, align 2
br label %27
27: ; preds = %22, %21
%28 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str)
%29 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.1)
%30 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.2)
%31 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.3)
br label %131
32: ; preds = %13
%33 = load volatile i16, ptr %5, align 2
%34 = zext i16 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %32
%37 = load volatile i16, ptr %5, align 2
%38 = zext i16 %37 to i32
%39 = xor i32 %38, -1
%40 = trunc i32 %39 to i16
store volatile i16 %40, ptr %5, align 2
br label %42
41: ; preds = %32
store volatile i16 0, ptr %5, align 2
br label %42
42: ; preds = %41, %36
store ptr @.str.4, ptr %6, align 8
store ptr null, ptr %7, align 8
store i32 5, ptr %8, align 4
store i32 32, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = sub i32 %43, 1
%45 = shl i32 1, %44
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load ptr, ptr %6, align 8
%48 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.5, ptr noundef %47)
%49 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.6)
%50 = load ptr, ptr %7, align 8
%51 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.7, ptr noundef %50)
%52 = load i32, ptr %8, align 4
%53 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.8, i32 noundef %52)
%54 = load i32, ptr %10, align 4
%55 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.9, i32 noundef %54)
%56 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.10, i32 noundef 97)
%57 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.11, i32 noundef 255)
%58 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.12, i32 noundef 0)
%59 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.13, i32 noundef -3, i32 noundef -3, i32 noundef -3)
%60 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.14, i32 noundef 0, ptr noundef @.str.15)
%61 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.16)
%62 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.17, i32 noundef 0, ptr noundef @.str.15)
%63 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.18, ptr noundef @.str.19)
%64 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%65 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %64, ptr noundef @.str.18, ptr noundef @.str.19)
%66 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%67 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %66)
%68 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%69 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %68, ptr noundef @.str.21, ptr noundef @.str.22)
%70 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%71 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %70)
%72 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%73 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %72, ptr noundef @.str.23, i32 noundef 3)
%74 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%75 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %74)
%76 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%77 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %76, ptr noundef @.str.24, i32 noundef 3)
%78 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%79 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %78)
%80 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%81 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %80, ptr noundef @.str.25, i32 noundef 3)
%82 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%83 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %82)
%84 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%85 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %84, ptr noundef @.str.26, i32 noundef -3)
%86 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%87 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %86)
%88 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%89 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %88, ptr noundef @.str.27, i32 noundef -3)
%90 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%91 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %90)
%92 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%93 = call i32 (ptr, ptr, ...) @fdc_sprintf(ptr noundef %92, ptr noundef @.str.28, i32 noundef -3)
%94 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%95 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.20, ptr noundef %94)
br label %131
96: ; preds = %13
%97 = load volatile i16, ptr %5, align 2
%98 = add i16 %97, -1
store volatile i16 %98, ptr %5, align 2
%99 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.29)
br label %131
100: ; preds = %13
store volatile i16 -1536, ptr %5, align 2
%101 = load volatile i16, ptr %5, align 2
%102 = zext i16 %101 to i32
%103 = icmp slt i32 %102, 65000
br i1 %103, label %.lr.ph, label %114
.lr.ph: ; preds = %100
br label %104
104: ; preds = %.lr.ph, %108
%105 = load volatile i16, ptr %5, align 2
%106 = zext i16 %105 to i32
%107 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.30, i32 noundef %106)
br label %108
108: ; preds = %104
%109 = load volatile i16, ptr %5, align 2
%110 = add i16 %109, 1
store volatile i16 %110, ptr %5, align 2
%111 = load volatile i16, ptr %5, align 2
%112 = zext i16 %111 to i32
%113 = icmp slt i32 %112, 65000
br i1 %113, label %104, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %108
br label %114
114: ; preds = %._crit_edge, %100
br label %131
115: ; preds = %13
%116 = load volatile i16, ptr %5, align 2
%117 = add i16 %116, 1
store volatile i16 %117, ptr %5, align 2
%118 = zext i16 %116 to i32
%119 = call i32 (ptr, ...) @fdc_printf(ptr noundef @.str.31, i32 noundef %118)
br label %131
120: ; preds = %13
%121 = load volatile i16, ptr %5, align 2
%122 = zext i16 %121 to i32
%123 = icmp eq i32 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %120
store volatile i16 15, ptr %5, align 2
br label %130
125: ; preds = %120
%126 = load volatile i16, ptr %5, align 2
%127 = zext i16 %126 to i32
%128 = shl i32 %127, 1
%129 = trunc i32 %128 to i16
store volatile i16 %129, ptr %5, align 2
br label %130
130: ; preds = %125, %124
br label %131
131: ; preds = %130, %115, %114, %96, %42, %27
%132 = load volatile i16, ptr %5, align 2
%133 = zext i16 %132 to i32
%134 = load ptr, ptr %2, align 8
store volatile i32 %133, ptr %134, align 4
%135 = call i32 (...) @delay()
br label %13
}
declare i32 @fdc_init(...) #1
declare i32 @fdc_printf(ptr noundef, ...) #1
declare i32 @fdc_sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @delay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvf5szyuu.c'
source_filename = "/tmp/tmpvf5szyuu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GoRgbaFindPillars(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, i64 noundef %8, i64 noundef %9, i64 noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i64, align 8
%33 = alloca i64, align 8
%34 = alloca i64, align 8
%35 = alloca ptr, align 8
%36 = alloca i32, align 4
%37 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store i32 %2, ptr %14, align 4
store i32 %3, ptr %15, align 4
store i32 %4, ptr %16, align 4
store i64 %5, ptr %17, align 8
store i64 %6, ptr %18, align 8
store i64 %7, ptr %19, align 8
store i64 %8, ptr %20, align 8
store i64 %9, ptr %21, align 8
store i64 %10, ptr %22, align 8
%38 = load ptr, ptr %12, align 8
store ptr %38, ptr %23, align 8
%39 = load ptr, ptr %13, align 8
store ptr %39, ptr %24, align 8
%40 = load ptr, ptr %24, align 8
%41 = load i32, ptr %16, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 16, %42
%44 = trunc i64 %43 to i32
%45 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %44)
%46 = load ptr, ptr %24, align 8
store ptr %46, ptr %25, align 8
store i32 0, ptr %26, align 4
store i32 0, ptr %27, align 4
br label %47
47: ; preds = %153, %11
%48 = load i32, ptr %27, align 4
%49 = load i32, ptr %14, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %156
51: ; preds = %47
store i32 0, ptr %28, align 4
%52 = load ptr, ptr %12, align 8
%53 = load i32, ptr %27, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store ptr %55, ptr %29, align 8
store i32 0, ptr %30, align 4
br label %56
56: ; preds = %145, %51
%57 = load i32, ptr %30, align 4
%58 = load i32, ptr %15, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %152
60: ; preds = %56
%61 = load ptr, ptr %29, align 8
%62 = load i32, ptr %61, align 4
store i32 %62, ptr %31, align 4
%63 = load i32, ptr %31, align 4
%64 = and i32 %63, 255
%65 = sext i32 %64 to i64
store i64 %65, ptr %32, align 8
%66 = load i32, ptr %31, align 4
%67 = ashr i32 %66, 8
%68 = and i32 %67, 255
%69 = sext i32 %68 to i64
store i64 %69, ptr %33, align 8
%70 = load i32, ptr %31, align 4
%71 = ashr i32 %70, 16
%72 = and i32 %71, 255
%73 = sext i32 %72 to i64
store i64 %73, ptr %34, align 8
%74 = load i64, ptr %32, align 8
%75 = load i64, ptr %17, align 8
%76 = icmp sge i64 %74, %75
br i1 %76, label %77, label %100
77: ; preds = %60
%78 = load i64, ptr %33, align 8
%79 = load i64, ptr %18, align 8
%80 = icmp sge i64 %78, %79
br i1 %80, label %81, label %100
81: ; preds = %77
%82 = load i64, ptr %34, align 8
%83 = load i64, ptr %19, align 8
%84 = icmp sge i64 %82, %83
br i1 %84, label %85, label %100
85: ; preds = %81
%86 = load i64, ptr %32, align 8
%87 = load i64, ptr %20, align 8
%88 = icmp sle i64 %86, %87
br i1 %88, label %89, label %100
89: ; preds = %85
%90 = load i64, ptr %33, align 8
%91 = load i64, ptr %21, align 8
%92 = icmp sle i64 %90, %91
br i1 %92, label %93, label %100
93: ; preds = %89
%94 = load i64, ptr %34, align 8
%95 = load i64, ptr %22, align 8
%96 = icmp sle i64 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %93
%98 = load i32, ptr %28, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %28, align 4
br label %144
100: ; preds = %93, %89, %85, %81, %77, %60
%101 = load i32, ptr %28, align 4
%102 = load i32, ptr %26, align 4
%103 = icmp sgt i32 %101, %102
br i1 %103, label %104, label %143
104: ; preds = %100
%105 = load i32, ptr %28, align 4
%106 = load ptr, ptr %25, align 8
%107 = getelementptr inbounds i32, ptr %106, i64 0
store i32 %105, ptr %107, align 4
%108 = load i32, ptr %27, align 4
%109 = load ptr, ptr %25, align 8
%110 = getelementptr inbounds i32, ptr %109, i64 1
store i32 %108, ptr %110, align 4
%111 = load i32, ptr %30, align 4
%112 = load i32, ptr %28, align 4
%113 = sub nsw i32 %111, %112
%114 = load ptr, ptr %25, align 8
%115 = getelementptr inbounds i32, ptr %114, i64 2
store i32 %113, ptr %115, align 4
%116 = load i32, ptr %30, align 4
%117 = sub nsw i32 %116, 1
%118 = load ptr, ptr %25, align 8
%119 = getelementptr inbounds i32, ptr %118, i64 3
store i32 %117, ptr %119, align 4
%120 = load i32, ptr %28, align 4
store i32 %120, ptr %26, align 4
%121 = load ptr, ptr %24, align 8
store ptr %121, ptr %35, align 8
%122 = load i32, ptr %16, align 4
store i32 %122, ptr %36, align 4
br label %123
123: ; preds = %137, %104
%124 = load i32, ptr %36, align 4
%125 = icmp sgt i32 %124, 0
br i1 %125, label %126, label %142
126: ; preds = %123
%127 = load ptr, ptr %35, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 0
%129 = load i32, ptr %128, align 4
store i32 %129, ptr %37, align 4
%130 = load i32, ptr %37, align 4
%131 = load i32, ptr %26, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %133, label %136
133: ; preds = %126
%134 = load i32, ptr %37, align 4
store i32 %134, ptr %26, align 4
%135 = load ptr, ptr %35, align 8
store ptr %135, ptr %25, align 8
br label %136
136: ; preds = %133, %126
br label %137
137: ; preds = %136
%138 = load i32, ptr %36, align 4
%139 = add nsw i32 %138, -1
store i32 %139, ptr %36, align 4
%140 = load ptr, ptr %35, align 8
%141 = getelementptr inbounds i32, ptr %140, i64 4
store ptr %141, ptr %35, align 8
br label %123, !llvm.loop !6
142: ; preds = %123
br label %143
143: ; preds = %142, %100
store i32 0, ptr %28, align 4
br label %144
144: ; preds = %143, %97
br label %145
145: ; preds = %144
%146 = load i32, ptr %30, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %30, align 4
%148 = load i32, ptr %14, align 4
%149 = load ptr, ptr %29, align 8
%150 = sext i32 %148 to i64
%151 = getelementptr inbounds i32, ptr %149, i64 %150
store ptr %151, ptr %29, align 8
br label %56, !llvm.loop !8
152: ; preds = %56
br label %153
153: ; preds = %152
%154 = load i32, ptr %27, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %27, align 4
br label %47, !llvm.loop !9
156: ; preds = %47
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvf5szyuu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GoRgbaFindPillars(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, i64 noundef %8, i64 noundef %9, i64 noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i64, align 8
%33 = alloca i64, align 8
%34 = alloca i64, align 8
%35 = alloca ptr, align 8
%36 = alloca i32, align 4
%37 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store i32 %2, ptr %14, align 4
store i32 %3, ptr %15, align 4
store i32 %4, ptr %16, align 4
store i64 %5, ptr %17, align 8
store i64 %6, ptr %18, align 8
store i64 %7, ptr %19, align 8
store i64 %8, ptr %20, align 8
store i64 %9, ptr %21, align 8
store i64 %10, ptr %22, align 8
%38 = load ptr, ptr %12, align 8
store ptr %38, ptr %23, align 8
%39 = load ptr, ptr %13, align 8
store ptr %39, ptr %24, align 8
%40 = load ptr, ptr %24, align 8
%41 = load i32, ptr %16, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 16, %42
%44 = trunc i64 %43 to i32
%45 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %44)
%46 = load ptr, ptr %24, align 8
store ptr %46, ptr %25, align 8
store i32 0, ptr %26, align 4
store i32 0, ptr %27, align 4
%47 = load i32, ptr %27, align 4
%48 = load i32, ptr %14, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph5, label %161
.lr.ph5: ; preds = %11
br label %50
50: ; preds = %.lr.ph5, %155
store i32 0, ptr %28, align 4
%51 = load ptr, ptr %12, align 8
%52 = load i32, ptr %27, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store ptr %54, ptr %29, align 8
store i32 0, ptr %30, align 4
%55 = load i32, ptr %30, align 4
%56 = load i32, ptr %15, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph2, label %154
.lr.ph2: ; preds = %50
br label %58
58: ; preds = %.lr.ph2, %144
%59 = load ptr, ptr %29, align 8
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %31, align 4
%61 = load i32, ptr %31, align 4
%62 = and i32 %61, 255
%63 = sext i32 %62 to i64
store i64 %63, ptr %32, align 8
%64 = load i32, ptr %31, align 4
%65 = ashr i32 %64, 8
%66 = and i32 %65, 255
%67 = sext i32 %66 to i64
store i64 %67, ptr %33, align 8
%68 = load i32, ptr %31, align 4
%69 = ashr i32 %68, 16
%70 = and i32 %69, 255
%71 = sext i32 %70 to i64
store i64 %71, ptr %34, align 8
%72 = load i64, ptr %32, align 8
%73 = load i64, ptr %17, align 8
%74 = icmp sge i64 %72, %73
br i1 %74, label %75, label %98
75: ; preds = %58
%76 = load i64, ptr %33, align 8
%77 = load i64, ptr %18, align 8
%78 = icmp sge i64 %76, %77
br i1 %78, label %79, label %98
79: ; preds = %75
%80 = load i64, ptr %34, align 8
%81 = load i64, ptr %19, align 8
%82 = icmp sge i64 %80, %81
br i1 %82, label %83, label %98
83: ; preds = %79
%84 = load i64, ptr %32, align 8
%85 = load i64, ptr %20, align 8
%86 = icmp sle i64 %84, %85
br i1 %86, label %87, label %98
87: ; preds = %83
%88 = load i64, ptr %33, align 8
%89 = load i64, ptr %21, align 8
%90 = icmp sle i64 %88, %89
br i1 %90, label %91, label %98
91: ; preds = %87
%92 = load i64, ptr %34, align 8
%93 = load i64, ptr %22, align 8
%94 = icmp sle i64 %92, %93
br i1 %94, label %95, label %98
95: ; preds = %91
%96 = load i32, ptr %28, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %28, align 4
br label %143
98: ; preds = %91, %87, %83, %79, %75, %58
%99 = load i32, ptr %28, align 4
%100 = load i32, ptr %26, align 4
%101 = icmp sgt i32 %99, %100
br i1 %101, label %102, label %142
102: ; preds = %98
%103 = load i32, ptr %28, align 4
%104 = load ptr, ptr %25, align 8
%105 = getelementptr inbounds i32, ptr %104, i64 0
store i32 %103, ptr %105, align 4
%106 = load i32, ptr %27, align 4
%107 = load ptr, ptr %25, align 8
%108 = getelementptr inbounds i32, ptr %107, i64 1
store i32 %106, ptr %108, align 4
%109 = load i32, ptr %30, align 4
%110 = load i32, ptr %28, align 4
%111 = sub nsw i32 %109, %110
%112 = load ptr, ptr %25, align 8
%113 = getelementptr inbounds i32, ptr %112, i64 2
store i32 %111, ptr %113, align 4
%114 = load i32, ptr %30, align 4
%115 = sub nsw i32 %114, 1
%116 = load ptr, ptr %25, align 8
%117 = getelementptr inbounds i32, ptr %116, i64 3
store i32 %115, ptr %117, align 4
%118 = load i32, ptr %28, align 4
store i32 %118, ptr %26, align 4
%119 = load ptr, ptr %24, align 8
store ptr %119, ptr %35, align 8
%120 = load i32, ptr %16, align 4
store i32 %120, ptr %36, align 4
%121 = load i32, ptr %36, align 4
%122 = icmp sgt i32 %121, 0
br i1 %122, label %.lr.ph, label %141
.lr.ph: ; preds = %102
br label %123
123: ; preds = %.lr.ph, %134
%124 = load ptr, ptr %35, align 8
%125 = getelementptr inbounds i32, ptr %124, i64 0
%126 = load i32, ptr %125, align 4
store i32 %126, ptr %37, align 4
%127 = load i32, ptr %37, align 4
%128 = load i32, ptr %26, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %130, label %133
130: ; preds = %123
%131 = load i32, ptr %37, align 4
store i32 %131, ptr %26, align 4
%132 = load ptr, ptr %35, align 8
store ptr %132, ptr %25, align 8
br label %133
133: ; preds = %130, %123
br label %134
134: ; preds = %133
%135 = load i32, ptr %36, align 4
%136 = add nsw i32 %135, -1
store i32 %136, ptr %36, align 4
%137 = load ptr, ptr %35, align 8
%138 = getelementptr inbounds i32, ptr %137, i64 4
store ptr %138, ptr %35, align 8
%139 = load i32, ptr %36, align 4
%140 = icmp sgt i32 %139, 0
br i1 %140, label %123, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %134
br label %141
141: ; preds = %._crit_edge, %102
br label %142
142: ; preds = %141, %98
store i32 0, ptr %28, align 4
br label %143
143: ; preds = %142, %95
br label %144
144: ; preds = %143
%145 = load i32, ptr %30, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %30, align 4
%147 = load i32, ptr %14, align 4
%148 = load ptr, ptr %29, align 8
%149 = sext i32 %147 to i64
%150 = getelementptr inbounds i32, ptr %148, i64 %149
store ptr %150, ptr %29, align 8
%151 = load i32, ptr %30, align 4
%152 = load i32, ptr %15, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %58, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %144
br label %154
154: ; preds = %._crit_edge3, %50
br label %155
155: ; preds = %154
%156 = load i32, ptr %27, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %27, align 4
%158 = load i32, ptr %27, align 4
%159 = load i32, ptr %14, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %50, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %155
br label %161
161: ; preds = %._crit_edge6, %11
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_4wbicme.c'
source_filename = "/tmp/tmp_4wbicme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_4wbicme.c"
target datalayout = "e-m:e-p270: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_a2wlk7g.c'
source_filename = "/tmp/tmp_a2wlk7g.c"
target datalayout = "e-m:e-p270: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.__user_cap_header_struct = type { i32, i32 }
%struct.__user_cap_data_struct = type { i32, i32, i32 }
@_LINUX_CAPABILITY_VERSION_1 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Failed capget\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Cap data 0x%x,0x%x,0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca %struct.__user_cap_header_struct, align 4
%2 = alloca ptr, align 8
%3 = alloca %struct.__user_cap_data_struct, align 4
%4 = alloca ptr, align 8
store ptr %1, ptr %2, align 8
store ptr %3, ptr %4, align 8
%5 = call i32 (...) @getpid()
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds %struct.__user_cap_header_struct, ptr %6, i32 0, i32 1
store i32 %5, ptr %7, align 4
%8 = load i32, ptr @_LINUX_CAPABILITY_VERSION_1, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.__user_cap_header_struct, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @capget(ptr noundef %11, ptr noundef %12)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %0
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds %struct.__user_cap_data_struct, ptr %19, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.__user_cap_data_struct, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds %struct.__user_cap_data_struct, ptr %25, i32 0, i32 2
%27 = load i32, ptr %26, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %24, i32 noundef %27)
ret i32 0
}
declare i32 @getpid(...) #1
declare i64 @capget(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp_a2wlk7g.c"
target datalayout = "e-m:e-p270: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.__user_cap_header_struct = type { i32, i32 }
%struct.__user_cap_data_struct = type { i32, i32, i32 }
@_LINUX_CAPABILITY_VERSION_1 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Failed capget\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Cap data 0x%x,0x%x,0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca %struct.__user_cap_header_struct, align 4
%2 = alloca ptr, align 8
%3 = alloca %struct.__user_cap_data_struct, align 4
%4 = alloca ptr, align 8
store ptr %1, ptr %2, align 8
store ptr %3, ptr %4, align 8
%5 = call i32 (...) @getpid()
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds %struct.__user_cap_header_struct, ptr %6, i32 0, i32 1
store i32 %5, ptr %7, align 4
%8 = load i32, ptr @_LINUX_CAPABILITY_VERSION_1, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.__user_cap_header_struct, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @capget(ptr noundef %11, ptr noundef %12)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %0
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds %struct.__user_cap_data_struct, ptr %19, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.__user_cap_data_struct, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds %struct.__user_cap_data_struct, ptr %25, i32 0, i32 2
%27 = load i32, ptr %26, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %24, i32 noundef %27)
ret i32 0
}
declare i32 @getpid(...) #1
declare i64 @capget(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpe_wetps2.c'
source_filename = "/tmp/tmpe_wetps2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x94\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x94() #0 {
%1 = call i64 @iscntrl(i32 noundef 148)
%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 745, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe_wetps2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0x94\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x94() #0 {
%1 = call i64 @iscntrl(i32 noundef 148)
%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 745, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsxhwudus.c'
source_filename = "/tmp/tmpsxhwudus.c"
target datalayout = "e-m:e-p270: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/tmpsxhwudus.c"
target datalayout = "e-m:e-p270: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/tmpyylkqjot.c'
source_filename = "/tmp/tmpyylkqjot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_graph(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 0, ptr %4, align 4
br label %42
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %14, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @check_vertex_count(i32 noundef %15, i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %19, align 4
%21 = mul nsw i32 %20, 512
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef %24)
store i32 0, ptr %8, align 4
br label %26
26: ; preds = %38, %13
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %27, %29
br i1 %30, label %31, label %41
31: ; preds = %26
%32 = load i32, ptr %8, align 4
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %7, align 4
%37 = call i32 @read_vertex(i32 noundef %32, i32 noundef %34, ptr noundef %35, i32 noundef %36)
br label %38
38: ; preds = %31
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
br label %26, !llvm.loop !6
41: ; preds = %26
store i32 1, ptr %4, align 4
br label %42
42: ; preds = %41, %12
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @check_vertex_count(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read_vertex(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyylkqjot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_graph(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 0, ptr %4, align 4
br label %45
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %14, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @check_vertex_count(i32 noundef %15, i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %19, align 4
%21 = mul nsw i32 %20, 512
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef %24)
store i32 0, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %26, %28
br i1 %29, label %.lr.ph, label %44
.lr.ph: ; preds = %13
br label %30
30: ; preds = %.lr.ph, %37
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %7, align 4
%36 = call i32 @read_vertex(i32 noundef %31, i32 noundef %33, ptr noundef %34, i32 noundef %35)
br label %37
37: ; preds = %30
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %41, align 4
%43 = icmp slt i32 %40, %42
br i1 %43, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %44
44: ; preds = %._crit_edge, %13
store i32 1, ptr %4, align 4
br label %45
45: ; preds = %44, %12
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @check_vertex_count(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read_vertex(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmbr1vmrb.c'
source_filename = "/tmp/tmpmbr1vmrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"gxrandr-switch-mode.sh COMPUTER\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"gxrandr-switch-mode.sh DUPLICATE\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"gxrandr-switch-mode.sh EXTENSION\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"gxrandr-switch-mode.sh PROJECTOR\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"gxrandr-switch-mode.sh\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"echo %d > ~/.gxrandr\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"touch ~/.gxrandr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @real_change_mode(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [256 x i8], align 16
%4 = alloca [256 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 256, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 256, i1 false)
store ptr null, ptr %5, align 8
%7 = load i32, ptr %2, align 4
switch i32 %7, label %20 [
i32 0, label %8
i32 1, label %11
i32 2, label %14
i32 3, label %17
]
8: ; preds = %1
%9 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%10 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %9, ptr noundef @.str)
br label %23
11: ; preds = %1
%12 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%13 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %12, ptr noundef @.str.1)
br label %23
14: ; preds = %1
%15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.2)
br label %23
17: ; preds = %1
%18 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str.3)
br label %23
20: ; preds = %1
%21 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %21, ptr noundef @.str.4)
br label %23
23: ; preds = %20, %17, %14, %11, %8
%24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%25 = call i32 @system(ptr noundef %24)
%26 = load i32, ptr %2, align 4
switch i32 %26, label %39 [
i32 0, label %27
i32 1, label %30
i32 2, label %33
i32 3, label %36
]
27: ; preds = %23
%28 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.5, i32 noundef 0)
br label %39
30: ; preds = %23
%31 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%32 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, i32 noundef 1)
br label %39
33: ; preds = %23
%34 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.5, i32 noundef 2)
br label %39
36: ; preds = %23
%37 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%38 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %37, ptr noundef @.str.5, i32 noundef 3)
br label %39
39: ; preds = %23, %36, %33, %30, %27
%40 = call i32 @system(ptr noundef @.str.6)
%41 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%42 = call i32 @system(ptr noundef %41)
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 @sprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @system(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmbr1vmrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"gxrandr-switch-mode.sh COMPUTER\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"gxrandr-switch-mode.sh DUPLICATE\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"gxrandr-switch-mode.sh EXTENSION\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"gxrandr-switch-mode.sh PROJECTOR\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"gxrandr-switch-mode.sh\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"echo %d > ~/.gxrandr\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"touch ~/.gxrandr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @real_change_mode(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [256 x i8], align 16
%4 = alloca [256 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 256, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 256, i1 false)
store ptr null, ptr %5, align 8
%7 = load i32, ptr %2, align 4
switch i32 %7, label %20 [
i32 0, label %8
i32 1, label %11
i32 2, label %14
i32 3, label %17
]
8: ; preds = %1
%9 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%10 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %9, ptr noundef @.str)
br label %23
11: ; preds = %1
%12 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%13 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %12, ptr noundef @.str.1)
br label %23
14: ; preds = %1
%15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.2)
br label %23
17: ; preds = %1
%18 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str.3)
br label %23
20: ; preds = %1
%21 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %21, ptr noundef @.str.4)
br label %23
23: ; preds = %20, %17, %14, %11, %8
%24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%25 = call i32 @system(ptr noundef %24)
%26 = load i32, ptr %2, align 4
switch i32 %26, label %39 [
i32 0, label %27
i32 1, label %30
i32 2, label %33
i32 3, label %36
]
27: ; preds = %23
%28 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.5, i32 noundef 0)
br label %39
30: ; preds = %23
%31 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%32 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.5, i32 noundef 1)
br label %39
33: ; preds = %23
%34 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.5, i32 noundef 2)
br label %39
36: ; preds = %23
%37 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%38 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %37, ptr noundef @.str.5, i32 noundef 3)
br label %39
39: ; preds = %36, %33, %30, %27, %23
%40 = call i32 @system(ptr noundef @.str.6)
%41 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%42 = call i32 @system(ptr noundef %41)
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 @sprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @system(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoeqrhu66.c'
source_filename = "/tmp/tmpoeqrhu66.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%f %f %lf\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%.3f\0A%.3f\0A%.3lf\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 double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %3, align 4
%8 = load double, ptr %4, align 8
%9 = call i32 @printf(ptr noundef @.str.1, float noundef %6, float noundef %7, double noundef %8)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float 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/tmpoeqrhu66.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%f %f %lf\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%.3f\0A%.3f\0A%.3lf\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 double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %3, align 4
%8 = load double, ptr %4, align 8
%9 = call i32 @printf(ptr noundef @.str.1, float noundef %6, float noundef %7, double noundef %8)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float 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/tmproh0w8_6.c'
source_filename = "/tmp/tmproh0w8_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_power_of_two(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 ne i32 %3, 0
br i1 %4, label %5, label %12
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = sub i32 %7, 1
%9 = and i32 %6, %8
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
br label %12
12: ; preds = %5, %1
%13 = phi i1 [ false, %1 ], [ %11, %5 ]
%14 = zext i1 %13 to i32
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmproh0w8_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_power_of_two(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 ne i32 %3, 0
br i1 %4, label %5, label %12
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = sub i32 %7, 1
%9 = and i32 %6, %8
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
br label %12
12: ; preds = %5, %1
%13 = phi i1 [ false, %1 ], [ %11, %5 ]
%14 = zext i1 %13 to i32
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn65a3ive.c'
source_filename = "/tmp/tmpn65a3ive.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imv_window_get_mouse_button(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn65a3ive.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imv_window_get_mouse_button(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdek3tqgt.c'
source_filename = "/tmp/tmpdek3tqgt.c"
target datalayout = "e-m:e-p270: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/tmpdek3tqgt.c"
target datalayout = "e-m:e-p270: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/tmpsfp7khsh.c'
source_filename = "/tmp/tmpsfp7khsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdbg_sample_panic(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsfp7khsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdbg_sample_panic(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9l1c_6mk.c'
source_filename = "/tmp/tmp9l1c_6mk.c"
target datalayout = "e-m:e-p270: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/tmp9l1c_6mk.c"
target datalayout = "e-m:e-p270: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/tmpdzowflep.c'
source_filename = "/tmp/tmpdzowflep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = call i64 (...) @suite_profiler()
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = add nsw i64 %9, %7
%11 = trunc i64 %10 to i32
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
ret i32 %12
}
declare i64 @suite_profiler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdzowflep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = call i64 (...) @suite_profiler()
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = add nsw i64 %9, %7
%11 = trunc i64 %10 to i32
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
ret i32 %12
}
declare i64 @suite_profiler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpogjk2nvn.c'
source_filename = "/tmp/tmpogjk2nvn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_SELECT_SOURCE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"VIDEO SELECT SOURCE: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @videoSelectSource(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 %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @VIDEO_SELECT_SOURCE, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %14, %12
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpogjk2nvn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_SELECT_SOURCE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"VIDEO SELECT SOURCE: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @videoSelectSource(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 %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @VIDEO_SELECT_SOURCE, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %14, %12
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpioewp0no.c'
source_filename = "/tmp/tmpioewp0no.c"
target datalayout = "e-m:e-p270: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/tmpioewp0no.c"
target datalayout = "e-m:e-p270: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/tmpj7hkeo_9.c'
source_filename = "/tmp/tmpj7hkeo_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @move_f_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @rename(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %6, align 8
store i32 %9, ptr %10, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr @errno, align 4
%14 = load ptr, ptr %6, align 8
store i32 %13, ptr %14, align 4
br label %15
15: ; preds = %12, %3
ret void
}
declare i32 @rename(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/tmpj7hkeo_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @move_f_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @rename(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %6, align 8
store i32 %9, ptr %10, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr @errno, align 4
%14 = load ptr, ptr %6, align 8
store i32 %13, ptr %14, align 4
br label %15
15: ; preds = %12, %3
ret void
}
declare i32 @rename(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/tmpeml_fmop.c'
source_filename = "/tmp/tmpeml_fmop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"mid = %d, high=%d, low=%d, v[mid]=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d < %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d > %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Loop iterations = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @binsearch(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %9, align 4
store i32 0, ptr %11, align 4
br label %14
14: ; preds = %81, %3
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %82
18: ; preds = %14
%19 = load i32, ptr %11, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %21, %22
%24 = sdiv i32 %23, 2
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %32)
%34 = load i32, ptr %5, align 4
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp slt i32 %34, %39
br i1 %40, label %41, label %51
41: ; preds = %18
%42 = load i32, ptr %5, align 4
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %42, i32 noundef %47)
%49 = load i32, ptr %10, align 4
%50 = sub nsw i32 %49, 1
store i32 %50, ptr %9, align 4
br label %81
51: ; preds = %18
%52 = load i32, ptr %5, align 4
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %10, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = icmp sgt i32 %52, %57
br i1 %58, label %59, label %69
59: ; preds = %51
%60 = load i32, ptr %5, align 4
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %10, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %60, i32 noundef %65)
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %8, align 4
br label %80
69: ; preds = %51
%70 = load i32, ptr %5, align 4
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %10, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %70, i32 noundef %75)
%77 = load i32, ptr %11, align 4
%78 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %77)
%79 = load i32, ptr %10, align 4
store i32 %79, ptr %4, align 4
br label %85
80: ; preds = %59
br label %81
81: ; preds = %80, %41
br label %14, !llvm.loop !6
82: ; preds = %14
%83 = load i32, ptr %11, align 4
%84 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %83)
store i32 -1, ptr %4, align 4
br label %85
85: ; preds = %82, %69
%86 = load i32, ptr %4, align 4
ret i32 %86
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeml_fmop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"mid = %d, high=%d, low=%d, v[mid]=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d < %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d > %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Loop iterations = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @binsearch(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %9, align 4
store i32 0, ptr %11, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph, label %84
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %80
%18 = load i32, ptr %11, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %20, %21
%23 = sdiv i32 %22, 2
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %31)
%33 = load i32, ptr %5, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %10, 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 slt i32 %33, %38
br i1 %39, label %40, label %50
40: ; preds = %17
%41 = load i32, ptr %5, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %46)
%48 = load i32, ptr %10, align 4
%49 = sub nsw i32 %48, 1
store i32 %49, ptr %9, align 4
br label %80
50: ; preds = %17
%51 = load i32, ptr %5, align 4
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp sgt i32 %51, %56
br i1 %57, label %58, label %68
58: ; preds = %50
%59 = load i32, ptr %5, align 4
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %59, i32 noundef %64)
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %8, align 4
br label %79
68: ; preds = %50
%69 = load i32, ptr %5, align 4
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %69, i32 noundef %74)
%76 = load i32, ptr %11, align 4
%77 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %76)
%78 = load i32, ptr %10, align 4
store i32 %78, ptr %4, align 4
br label %87
79: ; preds = %58
br label %80
80: ; preds = %79, %40
%81 = load i32, ptr %8, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp sle i32 %81, %82
br i1 %83, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %80
br label %84
84: ; preds = %._crit_edge, %3
%85 = load i32, ptr %11, align 4
%86 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %85)
store i32 -1, ptr %4, align 4
br label %87
87: ; preds = %84, %68
%88 = load i32, ptr %4, align 4
ret i32 %88
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu8rn98sq.c'
source_filename = "/tmp/tmpu8rn98sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @url_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = srem i32 %11, 3
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %125
15: ; preds = %3
%16 = load i32, ptr %7, align 4
%17 = sdiv i32 %16, 3
store i32 %17, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %117, %15
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %120
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %9, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %9, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 37
br i1 %30, label %31, label %32
31: ; preds = %22
store i32 -2, ptr %4, align 4
br label %125
32: ; preds = %22
store i32 0, ptr %10, align 4
br label %33
33: ; preds = %98, %32
%34 = load i32, ptr %9, align 4
%35 = srem i32 %34, 3
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %110
37: ; preds = %33
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp sge i32 %43, 65
br i1 %44, label %45, label %67
45: ; preds = %37
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp sle i32 %51, 70
br i1 %52, label %53, label %67
53: ; preds = %45
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = sub nsw i32 %59, 65
%61 = add nsw i32 %60, 10
%62 = trunc i32 %61 to i8
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 %62, ptr %66, align 1
br label %98
67: ; preds = %45, %37
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp sge i32 %73, 48
br i1 %74, label %75, label %96
75: ; preds = %67
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr %9, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp sle i32 %81, 57
br i1 %82, label %83, label %96
83: ; preds = %75
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %9, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = sub nsw i32 %89, 48
%91 = trunc i32 %90 to i8
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %8, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
store i8 %91, ptr %95, align 1
br label %97
96: ; preds = %75, %67
store i32 -3, ptr %4, align 4
br label %125
97: ; preds = %83
br label %98
98: ; preds = %97, %53
%99 = load i32, ptr %9, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %9, align 4
%101 = load i32, ptr %10, align 4
%102 = mul nsw i32 %101, 16
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = add nsw i32 %102, %108
store i32 %109, ptr %10, align 4
br label %33, !llvm.loop !6
110: ; preds = %33
%111 = load i32, ptr %10, align 4
%112 = trunc i32 %111 to i8
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %8, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
store i8 %112, ptr %116, align 1
br label %117
117: ; preds = %110
%118 = load i32, ptr %8, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %8, align 4
br label %18, !llvm.loop !8
120: ; preds = %18
%121 = load ptr, ptr %5, align 8
%122 = load i32, ptr %7, align 4
%123 = call i32 @dump(ptr noundef %121, i32 noundef %122, i32 noundef 12)
%124 = load i32, ptr %7, align 4
store i32 %124, ptr %4, align 4
br label %125
125: ; preds = %120, %96, %31, %14
%126 = load i32, ptr %4, align 4
ret i32 %126
}
declare i32 @dump(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu8rn98sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @url_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = srem i32 %11, 3
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %129
15: ; preds = %3
%16 = load i32, ptr %7, align 4
%17 = sdiv i32 %16, 3
store i32 %17, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %124
.lr.ph2: ; preds = %15
br label %21
21: ; preds = %.lr.ph2, %118
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 37
br i1 %29, label %30, label %31
30: ; preds = %21
store i32 -2, ptr %4, align 4
br label %129
31: ; preds = %21
store i32 0, ptr %10, align 4
%32 = load i32, ptr %9, align 4
%33 = srem i32 %32, 3
%34 = icmp ne i32 %33, 0
br i1 %34, label %.lr.ph, label %111
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %96
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp sge i32 %41, 65
br i1 %42, label %43, label %65
43: ; preds = %35
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp sle i32 %49, 70
br i1 %50, label %51, label %65
51: ; preds = %43
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = sub nsw i32 %57, 65
%59 = add nsw i32 %58, 10
%60 = trunc i32 %59 to i8
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
store i8 %60, ptr %64, align 1
br label %96
65: ; preds = %43, %35
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp sge i32 %71, 48
br i1 %72, label %73, label %94
73: ; preds = %65
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %9, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp sle i32 %79, 57
br i1 %80, label %81, label %94
81: ; preds = %73
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = sub nsw i32 %87, 48
%89 = trunc i32 %88 to i8
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
store i8 %89, ptr %93, align 1
br label %95
94: ; preds = %73, %65
store i32 -3, ptr %4, align 4
br label %129
95: ; preds = %81
br label %96
96: ; preds = %95, %51
%97 = load i32, ptr %9, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %9, align 4
%99 = load i32, ptr %10, align 4
%100 = mul nsw i32 %99, 16
%101 = load ptr, ptr %5, align 8
%102 = load i32, ptr %8, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = add nsw i32 %100, %106
store i32 %107, ptr %10, align 4
%108 = load i32, ptr %9, align 4
%109 = srem i32 %108, 3
%110 = icmp ne i32 %109, 0
br i1 %110, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %96
br label %111
111: ; preds = %._crit_edge, %31
%112 = load i32, ptr %10, align 4
%113 = trunc i32 %112 to i8
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %8, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 %113, ptr %117, align 1
br label %118
118: ; preds = %111
%119 = load i32, ptr %8, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %8, align 4
%121 = load i32, ptr %8, align 4
%122 = load i32, ptr %7, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %118
br label %124
124: ; preds = %._crit_edge3, %15
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %7, align 4
%127 = call i32 @dump(ptr noundef %125, i32 noundef %126, i32 noundef 12)
%128 = load i32, ptr %7, align 4
store i32 %128, ptr %4, align 4
br label %129
129: ; preds = %124, %94, %30, %14
%130 = load i32, ptr %4, align 4
ret i32 %130
}
declare i32 @dump(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprh06nr_s.c'
source_filename = "/tmp/tmprh06nr_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Zero\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Positive\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Negative\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 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.1)
br label %16
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.2)
br label %15
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.3)
br label %15
15: ; preds = %13, %11
br label %16
16: ; preds = %15, %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprh06nr_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Zero\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Positive\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Negative\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 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.1)
br label %16
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.2)
br label %15
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.3)
br label %15
15: ; preds = %13, %11
br label %16
16: ; preds = %15, %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprshuozbb.c'
source_filename = "/tmp/tmprshuozbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @moment1sq(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @moment1(i32 noundef %5, ptr noundef %6)
%8 = call double @pow(i32 noundef %7, double noundef 2.000000e+00)
ret double %8
}
declare double @pow(i32 noundef, double noundef) #1
declare i32 @moment1(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/tmprshuozbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @moment1sq(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @moment1(i32 noundef %5, ptr noundef %6)
%8 = call double @pow(i32 noundef %7, double noundef 2.000000e+00)
ret double %8
}
declare double @pow(i32 noundef, double noundef) #1
declare i32 @moment1(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/tmp_rskav4g.c'
source_filename = "/tmp/tmp_rskav4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_rskav4g.c"
target datalayout = "e-m:e-p270: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/tmpbbtn1wdv.c'
source_filename = "/tmp/tmpbbtn1wdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @functionG(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 %6, align 4
%9 = and i32 %7, %8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = xor i32 %11, -1
%13 = and i32 %10, %12
%14 = or i32 %9, %13
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbbtn1wdv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @functionG(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 %6, align 4
%9 = and i32 %7, %8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = xor i32 %11, -1
%13 = and i32 %10, %12
%14 = or i32 %9, %13
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg4amcg11.c'
source_filename = "/tmp/tmpg4amcg11.c"
target datalayout = "e-m:e-p270: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/tmpg4amcg11.c"
target datalayout = "e-m:e-p270: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/tmprzpc47e1.c'
source_filename = "/tmp/tmprzpc47e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic_acknowledge(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 ult i32 %3, 32
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp ugt i32 %6, 47
br i1 %7, label %8, label %9
8: ; preds = %5, %1
br label %16
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp uge i32 %10, 40
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @outb(i32 noundef 160, i32 noundef 32)
br label %14
14: ; preds = %12, %9
%15 = call i32 @outb(i32 noundef 32, i32 noundef 32)
br label %16
16: ; preds = %14, %8
ret void
}
declare i32 @outb(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/tmprzpc47e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic_acknowledge(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 ult i32 %3, 32
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp ugt i32 %6, 47
br i1 %7, label %8, label %9
8: ; preds = %5, %1
br label %16
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp uge i32 %10, 40
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @outb(i32 noundef 160, i32 noundef 32)
br label %14
14: ; preds = %12, %9
%15 = call i32 @outb(i32 noundef 32, i32 noundef 32)
br label %16
16: ; preds = %14, %8
ret void
}
declare i32 @outb(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/tmpm6gcvt0q.c'
source_filename = "/tmp/tmpm6gcvt0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_stipple_pattern(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = sitofp i32 %8 to double
%10 = fsub double 1.000000e+00, %9
%11 = fmul double 0x41E0000000000000, %10
%12 = fptosi double %11 to i64
store i64 %12, ptr %7, align 8
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %42, %2
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 32
br i1 %15, label %16, label %45
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 0, ptr %20, align 4
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %38, %16
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 32
br i1 %23, label %24, label %41
24: ; preds = %21
%25 = call i64 (...) @random()
%26 = load i64, ptr %7, align 8
%27 = icmp sgt i64 %25, %26
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = load i32, ptr %5, align 4
%30 = shl i32 1, %29
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = or i32 %35, %30
store i32 %36, ptr %34, align 4
br label %37
37: ; preds = %28, %24
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %21, !llvm.loop !6
41: ; preds = %21
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 %13, !llvm.loop !8
45: ; preds = %13
ret void
}
declare i64 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm6gcvt0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_stipple_pattern(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = sitofp i32 %8 to double
%10 = fsub double 1.000000e+00, %9
%11 = fmul double 0x41E0000000000000, %10
%12 = fptosi double %11 to i64
store i64 %12, ptr %7, align 8
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 32
br i1 %14, label %.lr.ph2, label %47
.lr.ph2: ; preds = %2
br label %15
15: ; preds = %.lr.ph2, %42
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 0, ptr %19, align 4
store i32 0, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 32
br i1 %21, label %.lr.ph, label %41
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %36
%23 = call i64 (...) @random()
%24 = load i64, ptr %7, align 8
%25 = icmp sgt i64 %23, %24
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = shl i32 1, %27
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = or i32 %33, %28
store i32 %34, ptr %32, align 4
br label %35
35: ; preds = %26, %22
br label %36
36: ; preds = %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %39, 32
br i1 %40, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %15
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
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %45, 32
br i1 %46, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %47
47: ; preds = %._crit_edge3, %2
ret void
}
declare i64 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnd8b70ch.c'
source_filename = "/tmp/tmpnd8b70ch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 10
%9 = mul nsw i32 %8, 100
%10 = load i32, ptr %2, align 4
%11 = sdiv i32 %10, 10
%12 = srem i32 %11, 10
%13 = mul nsw i32 %12, 10
%14 = add nsw i32 %9, %13
%15 = load i32, ptr %2, align 4
%16 = sdiv i32 %15, 100
%17 = add nsw i32 %14, %16
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnd8b70ch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 10
%9 = mul nsw i32 %8, 100
%10 = load i32, ptr %2, align 4
%11 = sdiv i32 %10, 10
%12 = srem i32 %11, 10
%13 = mul nsw i32 %12, 10
%14 = add nsw i32 %9, %13
%15 = load i32, ptr %2, align 4
%16 = sdiv i32 %15, 100
%17 = add nsw i32 %14, %16
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpszlh1sn2.c'
source_filename = "/tmp/tmpszlh1sn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRE1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRE1_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpszlh1sn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRE1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRE1_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzpajow2q.c'
source_filename = "/tmp/tmpzpajow2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, ptr }
@ASN1_STRING_FLAG_BITS_LEFT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2c_ASN1_BIT_STRING(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 ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %151
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %110
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr @ASN1_STRING_FLAG_BITS_LEFT, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 7
store i32 %32, ptr %8, align 4
br label %109
33: ; preds = %21
br label %34
34: ; preds = %49, %33
%35 = load i32, ptr %9, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %52
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds %struct.TYPE_3__, ptr %38, i32 0, i32 2
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %37
br label %52
48: ; preds = %37
br label %49
49: ; preds = %48
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %9, align 4
br label %34, !llvm.loop !6
52: ; preds = %47, %34
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds %struct.TYPE_3__, ptr %53, i32 0, i32 2
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = and i32 %61, 1
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %52
store i32 0, ptr %8, align 4
br label %108
65: ; preds = %52
%66 = load i32, ptr %7, align 4
%67 = and i32 %66, 2
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %65
store i32 1, ptr %8, align 4
br label %107
70: ; preds = %65
%71 = load i32, ptr %7, align 4
%72 = and i32 %71, 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %70
store i32 2, ptr %8, align 4
br label %106
75: ; preds = %70
%76 = load i32, ptr %7, align 4
%77 = and i32 %76, 8
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %75
store i32 3, ptr %8, align 4
br label %105
80: ; preds = %75
%81 = load i32, ptr %7, align 4
%82 = and i32 %81, 16
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 4, ptr %8, align 4
br label %104
85: ; preds = %80
%86 = load i32, ptr %7, align 4
%87 = and i32 %86, 32
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %85
store i32 5, ptr %8, align 4
br label %103
90: ; preds = %85
%91 = load i32, ptr %7, align 4
%92 = and i32 %91, 64
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %90
store i32 6, ptr %8, align 4
br label %102
95: ; preds = %90
%96 = load i32, ptr %7, align 4
%97 = and i32 %96, 128
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %100
99: ; preds = %95
store i32 7, ptr %8, align 4
br label %101
100: ; preds = %95
store i32 0, ptr %8, align 4
br label %101
101: ; preds = %100, %99
br label %102
102: ; preds = %101, %94
br label %103
103: ; preds = %102, %89
br label %104
104: ; preds = %103, %84
br label %105
105: ; preds = %104, %79
br label %106
106: ; preds = %105, %74
br label %107
107: ; preds = %106, %69
br label %108
108: ; preds = %107, %64
br label %109
109: ; preds = %108, %28
br label %111
110: ; preds = %15
store i32 0, ptr %8, align 4
br label %111
111: ; preds = %110, %109
%112 = load i32, ptr %9, align 4
%113 = add nsw i32 1, %112
store i32 %113, ptr %6, align 4
%114 = load ptr, ptr %5, align 8
%115 = icmp eq ptr %114, null
br i1 %115, label %116, label %118
116: ; preds = %111
%117 = load i32, ptr %6, align 4
store i32 %117, ptr %3, align 4
br label %151
118: ; preds = %111
%119 = load ptr, ptr %5, align 8
%120 = load ptr, ptr %119, align 8
store ptr %120, ptr %10, align 8
%121 = load i32, ptr %8, align 4
%122 = trunc i32 %121 to i8
%123 = load ptr, ptr %10, align 8
%124 = getelementptr inbounds i8, ptr %123, i32 1
store ptr %124, ptr %10, align 8
store i8 %122, ptr %123, align 1
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds %struct.TYPE_3__, ptr %125, i32 0, i32 2
%127 = load ptr, ptr %126, align 8
store ptr %127, ptr %11, align 8
%128 = load i32, ptr %9, align 4
%129 = icmp sgt i32 %128, 0
br i1 %129, label %130, label %147
130: ; preds = %118
%131 = load ptr, ptr %10, align 8
%132 = load ptr, ptr %11, align 8
%133 = load i32, ptr %9, align 4
%134 = call i32 @memcpy(ptr noundef %131, ptr noundef %132, i32 noundef %133)
%135 = load i32, ptr %9, align 4
%136 = load ptr, ptr %10, align 8
%137 = sext i32 %135 to i64
%138 = getelementptr inbounds i8, ptr %136, i64 %137
store ptr %138, ptr %10, align 8
%139 = load i32, ptr %8, align 4
%140 = shl i32 255, %139
%141 = load ptr, ptr %10, align 8
%142 = getelementptr inbounds i8, ptr %141, i64 -1
%143 = load i8, ptr %142, align 1
%144 = zext i8 %143 to i32
%145 = and i32 %144, %140
%146 = trunc i32 %145 to i8
store i8 %146, ptr %142, align 1
br label %147
147: ; preds = %130, %118
%148 = load ptr, ptr %10, align 8
%149 = load ptr, ptr %5, align 8
store ptr %148, ptr %149, align 8
%150 = load i32, ptr %6, align 4
store i32 %150, ptr %3, align 4
br label %151
151: ; preds = %147, %116, %14
%152 = load i32, ptr %3, align 4
ret i32 %152
}
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/tmpzpajow2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, ptr }
@ASN1_STRING_FLAG_BITS_LEFT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2c_ASN1_BIT_STRING(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 ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %152
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %111
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr @ASN1_STRING_FLAG_BITS_LEFT, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 7
store i32 %32, ptr %8, align 4
br label %110
33: ; preds = %21
%34 = load i32, ptr %9, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %33
br label %36
36: ; preds = %.lr.ph, %48
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 2
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %9, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %36
br label %53
47: ; preds = %36
br label %48
48: ; preds = %47
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp sgt i32 %51, 0
br i1 %52, label %36, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %33
br label %53
53: ; preds = %.loopexit, %46
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_3__, ptr %54, i32 0, i32 2
%56 = load ptr, ptr %55, align 8
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
%61 = load i32, ptr %60, align 4
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = and i32 %62, 1
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %53
store i32 0, ptr %8, align 4
br label %109
66: ; preds = %53
%67 = load i32, ptr %7, align 4
%68 = and i32 %67, 2
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %66
store i32 1, ptr %8, align 4
br label %108
71: ; preds = %66
%72 = load i32, ptr %7, align 4
%73 = and i32 %72, 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %71
store i32 2, ptr %8, align 4
br label %107
76: ; preds = %71
%77 = load i32, ptr %7, align 4
%78 = and i32 %77, 8
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
store i32 3, ptr %8, align 4
br label %106
81: ; preds = %76
%82 = load i32, ptr %7, align 4
%83 = and i32 %82, 16
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %81
store i32 4, ptr %8, align 4
br label %105
86: ; preds = %81
%87 = load i32, ptr %7, align 4
%88 = and i32 %87, 32
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %86
store i32 5, ptr %8, align 4
br label %104
91: ; preds = %86
%92 = load i32, ptr %7, align 4
%93 = and i32 %92, 64
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %91
store i32 6, ptr %8, align 4
br label %103
96: ; preds = %91
%97 = load i32, ptr %7, align 4
%98 = and i32 %97, 128
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %96
store i32 7, ptr %8, align 4
br label %102
101: ; preds = %96
store i32 0, ptr %8, align 4
br label %102
102: ; preds = %101, %100
br label %103
103: ; preds = %102, %95
br label %104
104: ; preds = %103, %90
br label %105
105: ; preds = %104, %85
br label %106
106: ; preds = %105, %80
br label %107
107: ; preds = %106, %75
br label %108
108: ; preds = %107, %70
br label %109
109: ; preds = %108, %65
br label %110
110: ; preds = %109, %28
br label %112
111: ; preds = %15
store i32 0, ptr %8, align 4
br label %112
112: ; preds = %111, %110
%113 = load i32, ptr %9, align 4
%114 = add nsw i32 1, %113
store i32 %114, ptr %6, align 4
%115 = load ptr, ptr %5, align 8
%116 = icmp eq ptr %115, null
br i1 %116, label %117, label %119
117: ; preds = %112
%118 = load i32, ptr %6, align 4
store i32 %118, ptr %3, align 4
br label %152
119: ; preds = %112
%120 = load ptr, ptr %5, align 8
%121 = load ptr, ptr %120, align 8
store ptr %121, ptr %10, align 8
%122 = load i32, ptr %8, align 4
%123 = trunc i32 %122 to i8
%124 = load ptr, ptr %10, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %10, align 8
store i8 %123, ptr %124, align 1
%126 = load ptr, ptr %4, align 8
%127 = getelementptr inbounds %struct.TYPE_3__, ptr %126, i32 0, i32 2
%128 = load ptr, ptr %127, align 8
store ptr %128, ptr %11, align 8
%129 = load i32, ptr %9, align 4
%130 = icmp sgt i32 %129, 0
br i1 %130, label %131, label %148
131: ; preds = %119
%132 = load ptr, ptr %10, align 8
%133 = load ptr, ptr %11, align 8
%134 = load i32, ptr %9, align 4
%135 = call i32 @memcpy(ptr noundef %132, ptr noundef %133, i32 noundef %134)
%136 = load i32, ptr %9, align 4
%137 = load ptr, ptr %10, align 8
%138 = sext i32 %136 to i64
%139 = getelementptr inbounds i8, ptr %137, i64 %138
store ptr %139, ptr %10, align 8
%140 = load i32, ptr %8, align 4
%141 = shl i32 255, %140
%142 = load ptr, ptr %10, align 8
%143 = getelementptr inbounds i8, ptr %142, i64 -1
%144 = load i8, ptr %143, align 1
%145 = zext i8 %144 to i32
%146 = and i32 %145, %141
%147 = trunc i32 %146 to i8
store i8 %147, ptr %143, align 1
br label %148
148: ; preds = %131, %119
%149 = load ptr, ptr %10, align 8
%150 = load ptr, ptr %5, align 8
store ptr %149, ptr %150, align 8
%151 = load i32, ptr %6, align 4
store i32 %151, ptr %3, align 4
br label %152
152: ; preds = %148, %117, %14
%153 = load i32, ptr %3, align 4
ret i32 %153
}
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/tmpxv8n5117.c'
source_filename = "/tmp/tmpxv8n5117.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sem_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxv8n5117.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sem_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpecgtpkg1.c'
source_filename = "/tmp/tmpecgtpkg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x64() #0 {
%1 = call i64 @isspace(i32 noundef 100)
%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 505, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecgtpkg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x64() #0 {
%1 = call i64 @isspace(i32 noundef 100)
%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 505, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp30_mr_z2.c'
source_filename = "/tmp/tmp30_mr_z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpyz(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %26
9: ; preds = %3
%10 = load i64, ptr %6, align 8
%11 = icmp uge i64 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %6, align 8
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 0, ptr %22, align 1
br label %25
23: ; preds = %12
%24 = load ptr, ptr %4, align 8
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %23, %15
br label %26
26: ; preds = %25, %9, %3
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp30_mr_z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpyz(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %26
9: ; preds = %3
%10 = load i64, ptr %6, align 8
%11 = icmp uge i64 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %6, align 8
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 0, ptr %22, align 1
br label %25
23: ; preds = %12
%24 = load ptr, ptr %4, align 8
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %23, %15
br label %26
26: ; preds = %25, %9, %3
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
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"}
|
; ModuleID = '/tmp/tmpd9omlba3.c'
source_filename = "/tmp/tmpd9omlba3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omp_init_lock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd9omlba3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @omp_init_lock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbbcai_a6.c'
source_filename = "/tmp/tmpbbcai_a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_IOFBF = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setbuf(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 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
%8 = call i32 @_DIAGASSERT(i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr @_IOFBF, align 4
br label %17
15: ; preds = %2
%16 = load i32, ptr @_IONBF, align 4
br label %17
17: ; preds = %15, %13
%18 = phi i32 [ %14, %13 ], [ %16, %15 ]
%19 = load i32, ptr @BUFSIZ, align 4
%20 = call i32 @setvbuf(ptr noundef %9, ptr noundef %10, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @_DIAGASSERT(i32 noundef) #1
declare i32 @setvbuf(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/tmpbbcai_a6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_IOFBF = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setbuf(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 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
%8 = call i32 @_DIAGASSERT(i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr @_IOFBF, align 4
br label %17
15: ; preds = %2
%16 = load i32, ptr @_IONBF, align 4
br label %17
17: ; preds = %15, %13
%18 = phi i32 [ %14, %13 ], [ %16, %15 ]
%19 = load i32, ptr @BUFSIZ, align 4
%20 = call i32 @setvbuf(ptr noundef %9, ptr noundef %10, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @_DIAGASSERT(i32 noundef) #1
declare i32 @setvbuf(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/tmp9jzwiymc.c'
source_filename = "/tmp/tmp9jzwiymc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDIDDIndexedRead(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
%7 = 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
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i64
%11 = select i1 %9, i32 32, i32 20
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = inttoptr i64 %16 to ptr
store volatile i32 %12, ptr %17, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 36, i32 24
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = load volatile i32, ptr %26, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9jzwiymc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDIDDIndexedRead(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
%7 = 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
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i64
%11 = select i1 %9, i32 32, i32 20
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = inttoptr i64 %16 to ptr
store volatile i32 %12, ptr %17, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 36, i32 24
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
%27 = load volatile i32, ptr %26, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2tbqn052.c'
source_filename = "/tmp/tmp2tbqn052.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readAllLines(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @lineFileOpen(ptr noundef %7, i32 noundef 1)
store ptr %8, ptr %3, align 8
store ptr null, ptr %4, align 8
br label %9
9: ; preds = %13, %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @lineFileNext(ptr noundef %10, ptr noundef %6, ptr noundef null)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load ptr, ptr %6, align 8
%15 = call ptr @newSlName(ptr noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @slAddHead(ptr noundef %4, ptr noundef %16)
br label %9, !llvm.loop !6
18: ; preds = %9
%19 = call i32 @slReverse(ptr noundef %4)
%20 = load ptr, ptr %4, align 8
ret ptr %20
}
declare ptr @lineFileOpen(ptr noundef, i32 noundef) #1
declare i64 @lineFileNext(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @newSlName(ptr noundef) #1
declare i32 @slAddHead(ptr noundef, ptr noundef) #1
declare i32 @slReverse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2tbqn052.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readAllLines(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @lineFileOpen(ptr noundef %7, i32 noundef 1)
store ptr %8, ptr %3, align 8
store ptr null, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @lineFileNext(ptr noundef %9, ptr noundef %6, ptr noundef null)
%11 = icmp ne i64 %10, 0
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %12
%13 = load ptr, ptr %6, align 8
%14 = call ptr @newSlName(ptr noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @slAddHead(ptr noundef %4, ptr noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = call i64 @lineFileNext(ptr noundef %17, ptr noundef %6, ptr noundef null)
%19 = icmp ne i64 %18, 0
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %20
20: ; preds = %._crit_edge, %1
%21 = call i32 @slReverse(ptr noundef %4)
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
declare ptr @lineFileOpen(ptr noundef, i32 noundef) #1
declare i64 @lineFileNext(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @newSlName(ptr noundef) #1
declare i32 @slAddHead(ptr noundef, ptr noundef) #1
declare i32 @slReverse(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_bjct0dx.c'
source_filename = "/tmp/tmp_bjct0dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @bar() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %0
br label %3
3: ; preds = %7, %2
%4 = load i32, ptr %1, align 4
%5 = icmp sge i32 %4, 5
br i1 %5, label %6, label %7
6: ; preds = %3
br label %11
7: ; preds = %3
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
br label %3
11: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bjct0dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @bar() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %0
%3 = load i32, ptr %1, align 4
%4 = icmp sge i32 %3, 5
br i1 %4, label %5, label %.lr.ph
.lr.ph: ; preds = %2
br label %6
._crit_edge: ; preds = %6
br label %5
5: ; preds = %._crit_edge, %2
br label %12
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%10 = load i32, ptr %1, align 4
%11 = icmp sge i32 %10, 5
br i1 %11, label %._crit_edge, label %6
12: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmtsem3sx.c'
source_filename = "/tmp/tmpmtsem3sx.c"
target datalayout = "e-m:e-p270: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/tmpmtsem3sx.c"
target datalayout = "e-m:e-p270: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/tmpt5kgnzre.c'
source_filename = "/tmp/tmpt5kgnzre.c"
target datalayout = "e-m:e-p270: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/tmpt5kgnzre.c"
target datalayout = "e-m:e-p270: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/tmp12jphdff.c'
source_filename = "/tmp/tmp12jphdff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangularNumber(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i64 1, ptr %4, align 8
br label %5
5: ; preds = %15, %1
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp ule i64 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %5
%10 = load i64, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = zext i32 %11 to i64
%13 = add i64 %12, %10
%14 = trunc i64 %13 to i32
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %9
%16 = load i64, ptr %4, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %4, align 8
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = load i32, ptr %3, align 4
%20 = zext i32 %19 to i64
ret i64 %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp12jphdff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangularNumber(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i64 1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp ule i64 %5, %6
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i64, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = add i64 %11, %9
%13 = trunc i64 %12 to i32
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %8
%15 = load i64, ptr %4, align 8
%16 = add i64 %15, 1
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = load i64, ptr %2, align 8
%19 = icmp ule i64 %17, %18
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %1
%21 = load i32, ptr %3, align 4
%22 = zext i32 %21 to i64
ret i64 %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpo8r_p2z0.c'
source_filename = "/tmp/tmpo8r_p2z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cred_hash1(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [8 x i8], align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @smbhash(ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef 1)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 9
%16 = call i32 @smbhash(ptr noundef %12, ptr noundef %13, ptr noundef %15, i32 noundef 1)
ret void
}
declare i32 @smbhash(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/tmpo8r_p2z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cred_hash1(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [8 x i8], align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @smbhash(ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef 1)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 9
%16 = call i32 @smbhash(ptr noundef %12, ptr noundef %13, ptr noundef %15, i32 noundef 1)
ret void
}
declare i32 @smbhash(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/tmp07h61ow2.c'
source_filename = "/tmp/tmp07h61ow2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"\1BGC%ld:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ClearWindow(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 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp07h61ow2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"\1BGC%ld:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ClearWindow(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 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfu8tuk4f.c'
source_filename = "/tmp/tmpfu8tuk4f.c"
target datalayout = "e-m:e-p270: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/tmpfu8tuk4f.c"
target datalayout = "e-m:e-p270: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/tmphz_3kwz2.c'
source_filename = "/tmp/tmphz_3kwz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @M(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
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %6, align 8
%8 = fmul double -2.000000e+00, %7
%9 = load double, ptr %4, align 8
%10 = load double, ptr %5, align 8
%11 = fsub double %9, %10
%12 = fmul double %8, %11
%13 = call i32 @exp(double noundef %12)
%14 = sitofp i32 %13 to double
%15 = load double, ptr %6, align 8
%16 = fneg double %15
%17 = load double, ptr %4, align 8
%18 = load double, ptr %5, align 8
%19 = fsub double %17, %18
%20 = fmul double %16, %19
%21 = call i32 @exp(double noundef %20)
%22 = sitofp i32 %21 to double
%23 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %22, double %14)
ret double %23
}
declare i32 @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphz_3kwz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @M(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
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %6, align 8
%8 = fmul double -2.000000e+00, %7
%9 = load double, ptr %4, align 8
%10 = load double, ptr %5, align 8
%11 = fsub double %9, %10
%12 = fmul double %8, %11
%13 = call i32 @exp(double noundef %12)
%14 = sitofp i32 %13 to double
%15 = load double, ptr %6, align 8
%16 = fneg double %15
%17 = load double, ptr %4, align 8
%18 = load double, ptr %5, align 8
%19 = fsub double %17, %18
%20 = fmul double %16, %19
%21 = call i32 @exp(double noundef %20)
%22 = sitofp i32 %21 to double
%23 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %22, double %14)
ret double %23
}
declare i32 @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpopur4862.c'
source_filename = "/tmp/tmpopur4862.c"
target datalayout = "e-m:e-p270: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/tmpopur4862.c"
target datalayout = "e-m:e-p270: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/tmpmupwwnfu.c'
source_filename = "/tmp/tmpmupwwnfu.c"
target datalayout = "e-m:e-p270: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/tmpmupwwnfu.c"
target datalayout = "e-m:e-p270: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/tmpv4jkaimd.c'
source_filename = "/tmp/tmpv4jkaimd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bessk1.P = internal global [7 x double] [double 1.000000e+00, double 0x3FC3C468D0231889, double 0xBFE5877610A86ECA, double 0xBFC73DA6EA0F27E6, double 0xBF93A798E0B70F76, double -1.104040e-03, double -4.686000e-05], align 16
@bessk1.Q = internal global [7 x double] [double 0x3FF40D9320AEA13E, double 0x3FCE14070887E3E5, double -3.655620e-02, double 0x3F8ECEB255274ECE, double -7.803530e-03, double 3.256140e-03, double -6.824500e-04], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bessk1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp ole double %5, 2.000000e+00
br i1 %6, label %7, label %40
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = load double, ptr %2, align 8
%10 = fmul double %8, %9
%11 = fdiv double %10, 4.000000e+00
store double %11, ptr %3, align 8
%12 = load double, ptr %2, align 8
%13 = fdiv double %12, 2.000000e+00
%14 = call double @log(double noundef %13) #4
%15 = load double, ptr %2, align 8
%16 = call double @bessi1(double noundef %15)
%17 = load double, ptr %2, align 8
%18 = fdiv double 1.000000e+00, %17
%19 = load double, ptr @bessk1.P, align 16
%20 = load double, ptr %3, align 8
%21 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 1), align 8
%22 = load double, ptr %3, align 8
%23 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 2), align 16
%24 = load double, ptr %3, align 8
%25 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 3), align 8
%26 = load double, ptr %3, align 8
%27 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 4), align 16
%28 = load double, ptr %3, align 8
%29 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 5), align 8
%30 = load double, ptr %3, align 8
%31 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 6), align 16
%32 = call double @llvm.fmuladd.f64(double %30, double %31, double %29)
%33 = call double @llvm.fmuladd.f64(double %28, double %32, double %27)
%34 = call double @llvm.fmuladd.f64(double %26, double %33, double %25)
%35 = call double @llvm.fmuladd.f64(double %24, double %34, double %23)
%36 = call double @llvm.fmuladd.f64(double %22, double %35, double %21)
%37 = call double @llvm.fmuladd.f64(double %20, double %36, double %19)
%38 = fmul double %18, %37
%39 = call double @llvm.fmuladd.f64(double %14, double %16, double %38)
store double %39, ptr %4, align 8
br label %69
40: ; preds = %1
%41 = load double, ptr %2, align 8
%42 = fdiv double 2.000000e+00, %41
store double %42, ptr %3, align 8
%43 = load double, ptr %2, align 8
%44 = fneg double %43
%45 = call double @exp(double noundef %44) #4
%46 = load double, ptr %2, align 8
%47 = call double @sqrt(double noundef %46) #4
%48 = fdiv double %45, %47
%49 = load double, ptr @bessk1.Q, align 16
%50 = load double, ptr %3, align 8
%51 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 1), align 8
%52 = load double, ptr %3, align 8
%53 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 2), align 16
%54 = load double, ptr %3, align 8
%55 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 3), align 8
%56 = load double, ptr %3, align 8
%57 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 4), align 16
%58 = load double, ptr %3, align 8
%59 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 5), align 8
%60 = load double, ptr %3, align 8
%61 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 6), align 16
%62 = call double @llvm.fmuladd.f64(double %60, double %61, double %59)
%63 = call double @llvm.fmuladd.f64(double %58, double %62, double %57)
%64 = call double @llvm.fmuladd.f64(double %56, double %63, double %55)
%65 = call double @llvm.fmuladd.f64(double %54, double %64, double %53)
%66 = call double @llvm.fmuladd.f64(double %52, double %65, double %51)
%67 = call double @llvm.fmuladd.f64(double %50, double %66, double %49)
%68 = fmul double %48, %67
store double %68, ptr %4, align 8
br label %69
69: ; preds = %40, %7
%70 = load double, ptr %4, align 8
ret double %70
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare double @bessi1(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv4jkaimd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bessk1.P = internal global [7 x double] [double 1.000000e+00, double 0x3FC3C468D0231889, double 0xBFE5877610A86ECA, double 0xBFC73DA6EA0F27E6, double 0xBF93A798E0B70F76, double -1.104040e-03, double -4.686000e-05], align 16
@bessk1.Q = internal global [7 x double] [double 0x3FF40D9320AEA13E, double 0x3FCE14070887E3E5, double -3.655620e-02, double 0x3F8ECEB255274ECE, double -7.803530e-03, double 3.256140e-03, double -6.824500e-04], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bessk1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp ole double %5, 2.000000e+00
br i1 %6, label %7, label %40
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = load double, ptr %2, align 8
%10 = fmul double %8, %9
%11 = fdiv double %10, 4.000000e+00
store double %11, ptr %3, align 8
%12 = load double, ptr %2, align 8
%13 = fdiv double %12, 2.000000e+00
%14 = call double @log(double noundef %13) #4
%15 = load double, ptr %2, align 8
%16 = call double @bessi1(double noundef %15)
%17 = load double, ptr %2, align 8
%18 = fdiv double 1.000000e+00, %17
%19 = load double, ptr @bessk1.P, align 16
%20 = load double, ptr %3, align 8
%21 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 1), align 8
%22 = load double, ptr %3, align 8
%23 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 2), align 16
%24 = load double, ptr %3, align 8
%25 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 3), align 8
%26 = load double, ptr %3, align 8
%27 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 4), align 16
%28 = load double, ptr %3, align 8
%29 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 5), align 8
%30 = load double, ptr %3, align 8
%31 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.P, i64 0, i64 6), align 16
%32 = call double @llvm.fmuladd.f64(double %30, double %31, double %29)
%33 = call double @llvm.fmuladd.f64(double %28, double %32, double %27)
%34 = call double @llvm.fmuladd.f64(double %26, double %33, double %25)
%35 = call double @llvm.fmuladd.f64(double %24, double %34, double %23)
%36 = call double @llvm.fmuladd.f64(double %22, double %35, double %21)
%37 = call double @llvm.fmuladd.f64(double %20, double %36, double %19)
%38 = fmul double %18, %37
%39 = call double @llvm.fmuladd.f64(double %14, double %16, double %38)
store double %39, ptr %4, align 8
br label %69
40: ; preds = %1
%41 = load double, ptr %2, align 8
%42 = fdiv double 2.000000e+00, %41
store double %42, ptr %3, align 8
%43 = load double, ptr %2, align 8
%44 = fneg double %43
%45 = call double @exp(double noundef %44) #4
%46 = load double, ptr %2, align 8
%47 = call double @sqrt(double noundef %46) #4
%48 = fdiv double %45, %47
%49 = load double, ptr @bessk1.Q, align 16
%50 = load double, ptr %3, align 8
%51 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 1), align 8
%52 = load double, ptr %3, align 8
%53 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 2), align 16
%54 = load double, ptr %3, align 8
%55 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 3), align 8
%56 = load double, ptr %3, align 8
%57 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 4), align 16
%58 = load double, ptr %3, align 8
%59 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 5), align 8
%60 = load double, ptr %3, align 8
%61 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk1.Q, i64 0, i64 6), align 16
%62 = call double @llvm.fmuladd.f64(double %60, double %61, double %59)
%63 = call double @llvm.fmuladd.f64(double %58, double %62, double %57)
%64 = call double @llvm.fmuladd.f64(double %56, double %63, double %55)
%65 = call double @llvm.fmuladd.f64(double %54, double %64, double %53)
%66 = call double @llvm.fmuladd.f64(double %52, double %65, double %51)
%67 = call double @llvm.fmuladd.f64(double %50, double %66, double %49)
%68 = fmul double %48, %67
store double %68, ptr %4, align 8
br label %69
69: ; preds = %40, %7
%70 = load double, ptr %4, align 8
ret double %70
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare double @bessi1(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb4wl55dg.c'
source_filename = "/tmp/tmpb4wl55dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%c[?25h\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_cursor() #0 {
%1 = alloca [13 x i8], align 1
%2 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @snprintf(ptr noundef %2, i32 noundef 13, ptr noundef @.str, i32 noundef 27)
%4 = load i32, ptr @stdout, align 4
%5 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.1, ptr noundef %5)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 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/tmpb4wl55dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%c[?25h\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_cursor() #0 {
%1 = alloca [13 x i8], align 1
%2 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @snprintf(ptr noundef %2, i32 noundef 13, ptr noundef @.str, i32 noundef 27)
%4 = load i32, ptr @stdout, align 4
%5 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.1, ptr noundef %5)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 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/tmp68ck_h7y.c'
source_filename = "/tmp/tmp68ck_h7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Please enter an integer speed in kilometers per hour: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"%d km/hr is equivalent to %d miles/hr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = mul nsw i32 %5, 621
%7 = sdiv i32 %6, 1000
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68ck_h7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Please enter an integer speed in kilometers per hour: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"%d km/hr is equivalent to %d miles/hr\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = mul nsw i32 %5, 621
%7 = sdiv i32 %6, 1000
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx4ksto5x.c'
source_filename = "/tmp/tmpx4ksto5x.c"
target datalayout = "e-m:e-p270: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/tmpx4ksto5x.c"
target datalayout = "e-m:e-p270: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/tmpi9841oeq.c'
source_filename = "/tmp/tmpi9841oeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @joinStrings(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i64 0, ptr %6, align 8
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %7, align 8
%14 = alloca i64, i64 %12, align 16
store i64 %12, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %31, %2
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %34
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %14, i64 %27
store i64 %25, ptr %28, align 8
%29 = load i64, ptr %6, align 8
%30 = add i64 %29, %25
store i64 %30, ptr %6, align 8
br label %31
31: ; preds = %19
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
br label %15, !llvm.loop !6
34: ; preds = %15
%35 = load i64, ptr %6, align 8
%36 = add i64 %35, 1
%37 = call ptr @malloc(i64 noundef %36)
store ptr %37, ptr %5, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %66
39: ; preds = %34
%40 = load ptr, ptr %5, align 8
store ptr %40, ptr %10, align 8
store i32 0, ptr %9, align 4
br label %41
41: ; preds = %61, %39
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %64
45: ; preds = %41
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i64, ptr %14, i64 %47
%49 = load i64, ptr %48, align 8
store i64 %49, ptr %6, align 8
%50 = load ptr, ptr %10, align 8
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = load i64, ptr %6, align 8
%57 = call i32 @memcpy(ptr noundef %50, ptr noundef %55, i64 noundef %56)
%58 = load i64, ptr %6, align 8
%59 = load ptr, ptr %10, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 %58
store ptr %60, ptr %10, align 8
br label %61
61: ; preds = %45
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %41, !llvm.loop !8
64: ; preds = %41
%65 = load ptr, ptr %10, align 8
store i8 0, ptr %65, align 1
br label %66
66: ; preds = %64, %34
%67 = load ptr, ptr %5, align 8
%68 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %68)
ret ptr %67
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @strlen(ptr noundef) #2
declare ptr @malloc(i64 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi9841oeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @joinStrings(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i64 0, ptr %6, align 8
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %7, align 8
%14 = alloca i64, i64 %12, align 16
store i64 %12, ptr %8, align 8
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %30
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i64 @strlen(ptr noundef %23)
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %14, i64 %26
store i64 %24, ptr %27, align 8
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, %24
store i64 %29, ptr %6, align 8
br label %30
30: ; preds = %18
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
%37 = load i64, ptr %6, align 8
%38 = add i64 %37, 1
%39 = call ptr @malloc(i64 noundef %38)
store ptr %39, ptr %5, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %70
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
store ptr %42, ptr %10, align 8
store i32 0, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph2, label %68
.lr.ph2: ; preds = %41
br label %46
46: ; preds = %.lr.ph2, %62
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i64, ptr %14, i64 %48
%50 = load i64, ptr %49, align 8
store i64 %50, ptr %6, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = load i64, ptr %6, align 8
%58 = call i32 @memcpy(ptr noundef %51, ptr noundef %56, i64 noundef %57)
%59 = load i64, ptr %6, align 8
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 %59
store ptr %61, ptr %10, align 8
br label %62
62: ; preds = %46
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %41
%69 = load ptr, ptr %10, align 8
store i8 0, ptr %69, align 1
br label %70
70: ; preds = %68, %36
%71 = load ptr, ptr %5, align 8
%72 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %72)
ret ptr %71
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @strlen(ptr noundef) #2
declare ptr @malloc(i64 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuu46nurg.c'
source_filename = "/tmp/tmpuu46nurg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basename_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
br label %13
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
br label %13
13: ; preds = %11, %8
%14 = phi ptr [ %10, %8 ], [ %12, %11 ]
ret ptr %14
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuu46nurg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basename_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
br label %13
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
br label %13
13: ; preds = %11, %8
%14 = phi ptr [ %10, %8 ], [ %12, %11 ]
ret ptr %14
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq7pvv38p.c'
source_filename = "/tmp/tmpq7pvv38p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_one() #0 {
%1 = call i32 @lirerr(i32 noundef 999999)
ret void
}
declare i32 @lirerr(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/tmpq7pvv38p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_one() #0 {
%1 = call i32 @lirerr(i32 noundef 999999)
ret void
}
declare i32 @lirerr(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/tmpovcp9dwj.c'
source_filename = "/tmp/tmpovcp9dwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toto() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [201 x [100 x i32]], align 16
%5 = alloca [100 x i32], align 16
%6 = alloca i32, align 4
%7 = call i32 (...) @foo()
store i32 %7, ptr %6, align 4
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %36, %0
%9 = load i32, ptr %1, align 4
%10 = load i32, ptr %6, align 4
%11 = mul nsw i32 2, %10
%12 = add nsw i32 %11, 100
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %39
14: ; preds = %8
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %32, %14
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 200
br i1 %17, label %18, label %35
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [201 x [100 x i32]], ptr %4, i64 0, i64 %21
%23 = getelementptr inbounds [100 x i32], ptr %22, i64 0, i64 10
%24 = load i32, ptr %23, align 8
%25 = add nsw i32 %24, 2
%26 = load i32, ptr %2, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [201 x [100 x i32]], ptr %4, i64 0, i64 %27
%29 = load i32, ptr %1, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], ptr %28, i64 0, i64 %30
store i32 %25, ptr %31, align 4
br label %32
32: ; preds = %18
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
br label %15, !llvm.loop !6
35: ; preds = %15
br label %36
36: ; preds = %35
%37 = load i32, ptr %1, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %1, align 4
br label %8, !llvm.loop !8
39: ; preds = %8
%40 = getelementptr inbounds [201 x [100 x i32]], ptr %4, i64 0, i64 3
%41 = getelementptr inbounds [100 x i32], ptr %40, i64 0, i64 5
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 1
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %42, %44
ret i32 %45
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpovcp9dwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toto() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [201 x [100 x i32]], align 16
%5 = alloca [100 x i32], align 16
%6 = alloca i32, align 4
%7 = call i32 (...) @foo()
store i32 %7, ptr %6, align 4
store i32 0, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %6, align 4
%10 = mul nsw i32 2, %9
%11 = add nsw i32 %10, 100
%12 = icmp slt i32 %8, %11
br i1 %12, label %.lr.ph2, label %44
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %36
store i32 0, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 200
br i1 %15, label %.lr.ph, label %35
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %30
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [201 x [100 x i32]], ptr %4, i64 0, i64 %19
%21 = getelementptr inbounds [100 x i32], ptr %20, i64 0, i64 10
%22 = load i32, ptr %21, align 8
%23 = add nsw i32 %22, 2
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [201 x [100 x i32]], ptr %4, i64 0, i64 %25
%27 = load i32, ptr %1, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i32], ptr %26, i64 0, i64 %28
store i32 %23, ptr %29, align 4
br label %30
30: ; preds = %16
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 200
br i1 %34, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %13
br label %36
36: ; preds = %35
%37 = load i32, ptr %1, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %1, align 4
%39 = load i32, ptr %1, align 4
%40 = load i32, ptr %6, align 4
%41 = mul nsw i32 2, %40
%42 = add nsw i32 %41, 100
%43 = icmp slt i32 %39, %42
br i1 %43, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %44
44: ; preds = %._crit_edge3, %0
%45 = getelementptr inbounds [201 x [100 x i32]], ptr %4, i64 0, i64 3
%46 = getelementptr inbounds [100 x i32], ptr %45, i64 0, i64 5
%47 = load i32, ptr %46, align 4
%48 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 1
%49 = load i32, ptr %48, align 4
%50 = add nsw i32 %47, %49
ret i32 %50
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq_xppvev.c'
source_filename = "/tmp/tmpq_xppvev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 5
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %23, %0
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %13, i64 %20
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
store i32 1, ptr %3, align 4
br label %27
27: ; preds = %73, %26
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 1
%31 = icmp sle i32 %28, %30
br i1 %31, label %32, label %76
32: ; preds = %27
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %69, %32
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = sub nsw i32 %35, %36
%38 = icmp slt i32 %34, %37
br i1 %38, label %39, label %72
39: ; preds = %33
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %13, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %13, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp sgt i32 %43, %48
br i1 %49, label %50, label %68
50: ; preds = %39
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %13, i64 %52
%54 = load i32, ptr %53, align 4
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %13, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %13, i64 %61
store i32 %59, ptr %62, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %13, i64 %66
store i32 %63, ptr %67, align 4
br label %68
68: ; preds = %50, %39
br label %69
69: ; preds = %68
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %4, align 4
br label %33, !llvm.loop !8
72: ; preds = %33
br label %73
73: ; preds = %72
%74 = load i32, ptr %3, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %3, align 4
br label %27, !llvm.loop !9
76: ; preds = %27
store i32 0, ptr %3, align 4
br label %77
77: ; preds = %101, %76
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %2, align 4
%80 = sub nsw i32 %79, 1
%81 = icmp sle i32 %78, %80
br i1 %81, label %82, label %104
82: ; preds = %77
%83 = load i32, ptr %3, align 4
%84 = load i32, ptr %2, align 4
%85 = sub nsw i32 %84, 1
%86 = icmp eq i32 %83, %85
br i1 %86, label %87, label %94
87: ; preds = %82
%88 = load i32, ptr %2, align 4
%89 = sub nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %13, i64 %90
%92 = load i32, ptr %91, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %92)
br label %100
94: ; preds = %82
%95 = load i32, ptr %3, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %13, i64 %96
%98 = load i32, ptr %97, align 4
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %98)
br label %100
100: ; preds = %94, %87
br label %101
101: ; preds = %100
%102 = load i32, ptr %3, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %3, align 4
br label %77, !llvm.loop !10
104: ; preds = %77
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
%106 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %106)
%107 = load i32, ptr %1, align 4
ret i32 %107
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpq_xppvev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 5
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %22
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %13, i64 %19
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
store i32 1, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = sub nsw i32 %30, 1
%32 = icmp sle i32 %29, %31
br i1 %32, label %.lr.ph5, label %85
.lr.ph5: ; preds = %28
br label %33
33: ; preds = %.lr.ph5, %78
store i32 0, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = sub nsw i32 %35, %36
%38 = icmp slt i32 %34, %37
br i1 %38, label %.lr.ph2, label %77
.lr.ph2: ; preds = %33
br label %39
39: ; preds = %.lr.ph2, %69
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %13, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %13, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp sgt i32 %43, %48
br i1 %49, label %50, label %68
50: ; preds = %39
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %13, i64 %52
%54 = load i32, ptr %53, align 4
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %13, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %13, i64 %61
store i32 %59, ptr %62, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %13, i64 %66
store i32 %63, ptr %67, align 4
br label %68
68: ; preds = %50, %39
br label %69
69: ; preds = %68
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %4, align 4
%72 = load i32, ptr %4, align 4
%73 = load i32, ptr %2, align 4
%74 = load i32, ptr %3, align 4
%75 = sub nsw i32 %73, %74
%76 = icmp slt i32 %72, %75
br i1 %76, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %77
77: ; preds = %._crit_edge3, %33
br label %78
78: ; preds = %77
%79 = load i32, ptr %3, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %3, align 4
%81 = load i32, ptr %3, align 4
%82 = load i32, ptr %2, align 4
%83 = sub nsw i32 %82, 1
%84 = icmp sle i32 %81, %83
br i1 %84, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %78
br label %85
85: ; preds = %._crit_edge6, %28
store i32 0, ptr %3, align 4
%86 = load i32, ptr %3, align 4
%87 = load i32, ptr %2, align 4
%88 = sub nsw i32 %87, 1
%89 = icmp sle i32 %86, %88
br i1 %89, label %.lr.ph8, label %116
.lr.ph8: ; preds = %85
br label %90
90: ; preds = %.lr.ph8, %109
%91 = load i32, ptr %3, align 4
%92 = load i32, ptr %2, align 4
%93 = sub nsw i32 %92, 1
%94 = icmp eq i32 %91, %93
br i1 %94, label %95, label %102
95: ; preds = %90
%96 = load i32, ptr %2, align 4
%97 = sub nsw i32 %96, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %13, i64 %98
%100 = load i32, ptr %99, align 4
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %100)
br label %108
102: ; preds = %90
%103 = load i32, ptr %3, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %13, i64 %104
%106 = load i32, ptr %105, align 4
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %106)
br label %108
108: ; preds = %102, %95
br label %109
109: ; preds = %108
%110 = load i32, ptr %3, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %3, align 4
%112 = load i32, ptr %3, align 4
%113 = load i32, ptr %2, align 4
%114 = sub nsw i32 %113, 1
%115 = icmp sle i32 %112, %114
br i1 %115, label %90, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %109
br label %116
116: ; preds = %._crit_edge9, %85
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
%118 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %118)
%119 = load i32, ptr %1, align 4
ret i32 %119
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpi512hvg8.c'
source_filename = "/tmp/tmpi512hvg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"%s at line %d\0A\00", align 1
@linecount = external global i32, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @linecount, align 4
%6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, i32 noundef %5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi512hvg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"%s at line %d\0A\00", align 1
@linecount = external global i32, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @linecount, align 4
%6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, i32 noundef %5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnms2ssox.c'
source_filename = "/tmp/tmpnms2ssox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unknown command \22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Cmd_ForwardToServer() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @Cmd_Argv(i32 noundef 0)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @Com_Printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare ptr @Cmd_Argv(i32 noundef) #1
declare i32 @Com_Printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnms2ssox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unknown command \22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Cmd_ForwardToServer() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @Cmd_Argv(i32 noundef 0)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @Com_Printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare ptr @Cmd_Argv(i32 noundef) #1
declare i32 @Com_Printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplmbybr4a.c'
source_filename = "/tmp/tmplmbybr4a.c"
target datalayout = "e-m:e-p270: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/tmplmbybr4a.c"
target datalayout = "e-m:e-p270: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/tmp0e2dhgng.c'
source_filename = "/tmp/tmp0e2dhgng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Introduce un a\C3\B1o: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"El Domingo de Pascua del a\C3\B1o %d es: \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%d de Marzo \00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"%d de Abril \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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%15 = load i32, ptr %6, align 4
%16 = srem i32 %15, 19
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = srem i32 %17, 4
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = srem i32 %19, 7
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = mul nsw i32 19, %21
%23 = add nsw i32 %22, 24
%24 = srem i32 %23, 30
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %8, align 4
%26 = mul nsw i32 2, %25
%27 = load i32, ptr %9, align 4
%28 = mul nsw i32 4, %27
%29 = add nsw i32 %26, %28
%30 = load i32, ptr %10, align 4
%31 = mul nsw i32 6, %30
%32 = add nsw i32 %29, %31
%33 = add nsw i32 %32, 5
%34 = srem i32 %33, 7
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 22, %35
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %36, %37
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %6, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39)
%41 = load i32, ptr %12, align 4
%42 = icmp sle i32 %41, 31
br i1 %42, label %43, label %46
43: ; preds = %2
%44 = load i32, ptr %12, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44)
br label %50
46: ; preds = %2
%47 = load i32, ptr %12, align 4
%48 = sub nsw i32 %47, 31
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %48)
br label %50
50: ; preds = %46, %43
%51 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0e2dhgng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Introduce un a\C3\B1o: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"El Domingo de Pascua del a\C3\B1o %d es: \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%d de Marzo \00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"%d de Abril \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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%15 = load i32, ptr %6, align 4
%16 = srem i32 %15, 19
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = srem i32 %17, 4
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = srem i32 %19, 7
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = mul nsw i32 19, %21
%23 = add nsw i32 %22, 24
%24 = srem i32 %23, 30
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %8, align 4
%26 = mul nsw i32 2, %25
%27 = load i32, ptr %9, align 4
%28 = mul nsw i32 4, %27
%29 = add nsw i32 %26, %28
%30 = load i32, ptr %10, align 4
%31 = mul nsw i32 6, %30
%32 = add nsw i32 %29, %31
%33 = add nsw i32 %32, 5
%34 = srem i32 %33, 7
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 22, %35
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %36, %37
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %6, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39)
%41 = load i32, ptr %12, align 4
%42 = icmp sle i32 %41, 31
br i1 %42, label %43, label %46
43: ; preds = %2
%44 = load i32, ptr %12, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44)
br label %50
46: ; preds = %2
%47 = load i32, ptr %12, align 4
%48 = sub nsw i32 %47, 31
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %48)
br label %50
50: ; preds = %46, %43
%51 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkiry6m8d.c'
source_filename = "/tmp/tmpkiry6m8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_ANON = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"Hello, World!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_sharing_memory_simple() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = call i64 (...) @getpagesize()
store i64 %4, ptr %1, align 8
%5 = load i64, ptr %1, align 8
%6 = load i32, ptr @PROT_READ, align 4
%7 = load i32, ptr @PROT_WRITE, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @MAP_ANON, align 4
%10 = load i32, ptr @MAP_SHARED, align 4
%11 = or i32 %9, %10
%12 = call ptr @mmap(ptr noundef null, i64 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef -1, i32 noundef 0)
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i64, ptr @MAP_FAILED, align 8
%15 = inttoptr i64 %14 to ptr
%16 = icmp ne ptr %13, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i64 (...) @fork()
store i64 %19, ptr %3, align 8
%20 = load i64, ptr %3, align 8
%21 = icmp sge i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load i64, ptr %3, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %0
%27 = load ptr, ptr %2, align 8
%28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str)
%29 = call i32 @exit(i32 noundef 0) #3
unreachable
30: ; preds = %0
%31 = load i64, ptr %3, align 8
%32 = call i32 @wait_for_child_exit(i64 noundef %31, i32 noundef 0)
%33 = load ptr, ptr %2, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str)
%35 = icmp eq i64 %34, 0
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
%38 = load ptr, ptr %2, align 8
%39 = load i64, ptr %1, align 8
%40 = call i64 @munmap(ptr noundef %38, i64 noundef %39)
%41 = icmp eq i64 %40, 0
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
ret i32 0
}
declare i64 @getpagesize(...) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait_for_child_exit(i64 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @munmap(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" }
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/tmpkiry6m8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_ANON = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"Hello, World!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_sharing_memory_simple() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = call i64 (...) @getpagesize()
store i64 %4, ptr %1, align 8
%5 = load i64, ptr %1, align 8
%6 = load i32, ptr @PROT_READ, align 4
%7 = load i32, ptr @PROT_WRITE, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @MAP_ANON, align 4
%10 = load i32, ptr @MAP_SHARED, align 4
%11 = or i32 %9, %10
%12 = call ptr @mmap(ptr noundef null, i64 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef -1, i32 noundef 0)
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i64, ptr @MAP_FAILED, align 8
%15 = inttoptr i64 %14 to ptr
%16 = icmp ne ptr %13, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i64 (...) @fork()
store i64 %19, ptr %3, align 8
%20 = load i64, ptr %3, align 8
%21 = icmp sge i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load i64, ptr %3, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %0
%27 = load ptr, ptr %2, align 8
%28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str)
%29 = call i32 @exit(i32 noundef 0) #3
unreachable
30: ; preds = %0
%31 = load i64, ptr %3, align 8
%32 = call i32 @wait_for_child_exit(i64 noundef %31, i32 noundef 0)
%33 = load ptr, ptr %2, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str)
%35 = icmp eq i64 %34, 0
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
%38 = load ptr, ptr %2, align 8
%39 = load i64, ptr %1, align 8
%40 = call i64 @munmap(ptr noundef %38, i64 noundef %39)
%41 = icmp eq i64 %40, 0
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
ret i32 0
}
declare i64 @getpagesize(...) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait_for_child_exit(i64 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @munmap(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" }
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/tmpjepiiu81.c'
source_filename = "/tmp/tmpjepiiu81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"if (%s <= %s) {%s = 1;} else {%s = 0;}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__func_le_sint(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
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
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @pA(ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @pA(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjepiiu81.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"if (%s <= %s) {%s = 1;} else {%s = 0;}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__func_le_sint(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
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
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @pA(ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @pA(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptku_8sza.c'
source_filename = "/tmp/tmptku_8sza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptku_8sza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj3xsjc3n.c'
source_filename = "/tmp/tmpj3xsjc3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %55
18: ; preds = %6
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = add nsw i32 %19, %20
%22 = sub nsw i32 %21, 1
%23 = sdiv i32 %22, 2
store i32 %23, ptr %14, align 4
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %14, align 4
%29 = load ptr, ptr %13, align 8
%30 = call i32 @mgsort(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, ptr noundef %29)
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %18
store i32 -1, ptr %7, align 4
br label %56
33: ; preds = %18
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %14, align 4
%38 = add nsw i32 %37, 1
%39 = load i32, ptr %12, align 4
%40 = load ptr, ptr %13, align 8
%41 = call i32 @mgsort(ptr noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %38, i32 noundef %39, ptr noundef %40)
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %33
store i32 -1, ptr %7, align 4
br label %56
44: ; preds = %33
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %12, align 4
%50 = load ptr, ptr %13, align 8
%51 = call i64 @merge(ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef %50)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %44
store i32 -1, ptr %7, align 4
br label %56
54: ; preds = %44
br label %55
55: ; preds = %54, %6
store i32 0, ptr %7, align 4
br label %56
56: ; preds = %55, %53, %43, %32
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare i64 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj3xsjc3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %55
18: ; preds = %6
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = add nsw i32 %19, %20
%22 = sub nsw i32 %21, 1
%23 = sdiv i32 %22, 2
store i32 %23, ptr %14, align 4
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %11, align 4
%28 = load i32, ptr %14, align 4
%29 = load ptr, ptr %13, align 8
%30 = call i32 @mgsort(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, ptr noundef %29)
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %18
store i32 -1, ptr %7, align 4
br label %56
33: ; preds = %18
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %14, align 4
%38 = add nsw i32 %37, 1
%39 = load i32, ptr %12, align 4
%40 = load ptr, ptr %13, align 8
%41 = call i32 @mgsort(ptr noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %38, i32 noundef %39, ptr noundef %40)
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %33
store i32 -1, ptr %7, align 4
br label %56
44: ; preds = %33
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %12, align 4
%50 = load ptr, ptr %13, align 8
%51 = call i64 @merge(ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef %50)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %44
store i32 -1, ptr %7, align 4
br label %56
54: ; preds = %44
br label %55
55: ; preds = %54, %6
store i32 0, ptr %7, align 4
br label %56
56: ; preds = %55, %53, %43, %32
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare i64 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfxq7x6ng.c'
source_filename = "/tmp/tmpfxq7x6ng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"-3 mod 2 = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"3 mod 2 = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef -1)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfxq7x6ng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"-3 mod 2 = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"3 mod 2 = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef -1)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv455bq2m.c'
source_filename = "/tmp/tmpv455bq2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"You made: %s of %f Rupees\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"loss\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"profit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%4 = load float, ptr %1, align 4
%5 = load float, ptr %2, align 4
%6 = fcmp ogt float %4, %5
%7 = zext i1 %6 to i64
%8 = select i1 %6, ptr @.str.2, ptr @.str.3
%9 = load float, ptr %2, align 4
%10 = load float, ptr %1, align 4
%11 = fsub float %9, %10
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8, float noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv455bq2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"You made: %s of %f Rupees\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"loss\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"profit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%4 = load float, ptr %1, align 4
%5 = load float, ptr %2, align 4
%6 = fcmp ogt float %4, %5
%7 = zext i1 %6 to i64
%8 = select i1 %6, ptr @.str.2, ptr @.str.3
%9 = load float, ptr %2, align 4
%10 = load float, ptr %1, align 4
%11 = fsub float %9, %10
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8, float noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpglkrhjh8.c'
source_filename = "/tmp/tmpglkrhjh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_const_Matrix_T(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 @print_Matrix_T(ptr noundef %3)
ret void
}
declare i32 @print_Matrix_T(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpglkrhjh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_const_Matrix_T(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 @print_Matrix_T(ptr noundef %3)
ret void
}
declare i32 @print_Matrix_T(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_f1j319m.c'
source_filename = "/tmp/tmp_f1j319m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DefPgUpHook() #0 {
%1 = call i32 (...) @StartShowBuf()
%2 = call i32 (...) @PgUpHook()
ret void
}
declare i32 @StartShowBuf(...) #1
declare i32 @PgUpHook(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_f1j319m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DefPgUpHook() #0 {
%1 = call i32 (...) @StartShowBuf()
%2 = call i32 (...) @PgUpHook()
ret void
}
declare i32 @StartShowBuf(...) #1
declare i32 @PgUpHook(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpolbrwv_n.c'
source_filename = "/tmp/tmpolbrwv_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpolbrwv_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp96p3tp2x.c'
source_filename = "/tmp/tmp96p3tp2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @portuguese_ISO_8859_1_create_env() #0 {
%1 = call ptr @SN_create_env(i32 noundef 0, i32 noundef 3, i32 noundef 0)
ret ptr %1
}
declare ptr @SN_create_env(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/tmp96p3tp2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @portuguese_ISO_8859_1_create_env() #0 {
%1 = call ptr @SN_create_env(i32 noundef 0, i32 noundef 3, i32 noundef 0)
ret ptr %1
}
declare ptr @SN_create_env(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/tmpbytpg36k.c'
source_filename = "/tmp/tmpbytpg36k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zwavecmd_thermostat_setpoint(i32 noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
%9 = load double, ptr %6, align 8
%10 = fmul double %9, 1.000000e+01
%11 = fptosi double %10 to i32
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = trunc i32 %12 to i8
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
store i8 %13, ptr %14, align 16
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %15, 127
br i1 %16, label %17, label %25
17: ; preds = %3
%18 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 1
store i8 41, ptr %18, align 1
%19 = load i32, ptr %8, align 4
%20 = trunc i32 %19 to i8
%21 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 2
store i8 %20, ptr %21, align 2
%22 = load i32, ptr %4, align 4
%23 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%24 = call i32 @zwave_sendClassCommand(i32 noundef %22, i32 noundef 67, i32 noundef 1, ptr noundef %23, i32 noundef 3)
br label %65
25: ; preds = %3
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %26, 32768
br i1 %27, label %28, label %41
28: ; preds = %25
%29 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 1
store i8 42, ptr %29, align 1
%30 = load i32, ptr %8, align 4
%31 = ashr i32 %30, 8
%32 = trunc i32 %31 to i8
%33 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 2
store i8 %32, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = srem i32 %34, 256
%36 = trunc i32 %35 to i8
%37 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 3
store i8 %36, ptr %37, align 1
%38 = load i32, ptr %4, align 4
%39 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @zwave_sendClassCommand(i32 noundef %38, i32 noundef 67, i32 noundef 1, ptr noundef %39, i32 noundef 4)
br label %64
41: ; preds = %25
%42 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 1
store i8 44, ptr %42, align 1
%43 = load i32, ptr %8, align 4
%44 = ashr i32 %43, 24
%45 = trunc i32 %44 to i8
%46 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 2
store i8 %45, ptr %46, align 2
%47 = load i32, ptr %8, align 4
%48 = ashr i32 %47, 16
%49 = srem i32 %48, 256
%50 = trunc i32 %49 to i8
%51 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 3
store i8 %50, ptr %51, align 1
%52 = load i32, ptr %8, align 4
%53 = ashr i32 %52, 8
%54 = srem i32 %53, 256
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 4
store i8 %55, ptr %56, align 4
%57 = load i32, ptr %8, align 4
%58 = srem i32 %57, 256
%59 = trunc i32 %58 to i8
%60 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 5
store i8 %59, ptr %60, align 1
%61 = load i32, ptr %4, align 4
%62 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%63 = call i32 @zwave_sendClassCommand(i32 noundef %61, i32 noundef 67, i32 noundef 1, ptr noundef %62, i32 noundef 6)
br label %64
64: ; preds = %41, %28
br label %65
65: ; preds = %64, %17
ret void
}
declare i32 @zwave_sendClassCommand(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbytpg36k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zwavecmd_thermostat_setpoint(i32 noundef %0, i32 noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store double %2, ptr %6, align 8
%9 = load double, ptr %6, align 8
%10 = fmul double %9, 1.000000e+01
%11 = fptosi double %10 to i32
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = trunc i32 %12 to i8
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
store i8 %13, ptr %14, align 16
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %15, 127
br i1 %16, label %17, label %25
17: ; preds = %3
%18 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 1
store i8 41, ptr %18, align 1
%19 = load i32, ptr %8, align 4
%20 = trunc i32 %19 to i8
%21 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 2
store i8 %20, ptr %21, align 2
%22 = load i32, ptr %4, align 4
%23 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%24 = call i32 @zwave_sendClassCommand(i32 noundef %22, i32 noundef 67, i32 noundef 1, ptr noundef %23, i32 noundef 3)
br label %65
25: ; preds = %3
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %26, 32768
br i1 %27, label %28, label %41
28: ; preds = %25
%29 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 1
store i8 42, ptr %29, align 1
%30 = load i32, ptr %8, align 4
%31 = ashr i32 %30, 8
%32 = trunc i32 %31 to i8
%33 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 2
store i8 %32, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = srem i32 %34, 256
%36 = trunc i32 %35 to i8
%37 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 3
store i8 %36, ptr %37, align 1
%38 = load i32, ptr %4, align 4
%39 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @zwave_sendClassCommand(i32 noundef %38, i32 noundef 67, i32 noundef 1, ptr noundef %39, i32 noundef 4)
br label %64
41: ; preds = %25
%42 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 1
store i8 44, ptr %42, align 1
%43 = load i32, ptr %8, align 4
%44 = ashr i32 %43, 24
%45 = trunc i32 %44 to i8
%46 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 2
store i8 %45, ptr %46, align 2
%47 = load i32, ptr %8, align 4
%48 = ashr i32 %47, 16
%49 = srem i32 %48, 256
%50 = trunc i32 %49 to i8
%51 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 3
store i8 %50, ptr %51, align 1
%52 = load i32, ptr %8, align 4
%53 = ashr i32 %52, 8
%54 = srem i32 %53, 256
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 4
store i8 %55, ptr %56, align 4
%57 = load i32, ptr %8, align 4
%58 = srem i32 %57, 256
%59 = trunc i32 %58 to i8
%60 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 5
store i8 %59, ptr %60, align 1
%61 = load i32, ptr %4, align 4
%62 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%63 = call i32 @zwave_sendClassCommand(i32 noundef %61, i32 noundef 67, i32 noundef 1, ptr noundef %62, i32 noundef 6)
br label %64
64: ; preds = %41, %28
br label %65
65: ; preds = %64, %17
ret void
}
declare i32 @zwave_sendClassCommand(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6a95lp8n.c'
source_filename = "/tmp/tmp6a95lp8n.c"
target datalayout = "e-m:e-p270: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/tmp6a95lp8n.c"
target datalayout = "e-m:e-p270: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/tmpmnw8g1gq.c'
source_filename = "/tmp/tmpmnw8g1gq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBModeGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1074069504
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 96
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = and i32 %11, 157
ret i32 %12
}
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/tmpmnw8g1gq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBModeGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1074069504
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 96
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = and i32 %11, 157
ret i32 %12
}
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/tmp51ut3v7q.c'
source_filename = "/tmp/tmp51ut3v7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_uint64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51ut3v7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_uint64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp91oxs14m.c'
source_filename = "/tmp/tmp91oxs14m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter radius: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Diameter is %f\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Circumference is %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Area is %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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load float, ptr %2, align 4
%6 = fmul float 2.000000e+00, %5
%7 = fpext float %6 to double
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %7)
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = fmul double 6.283180e+00, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %11)
%13 = load float, ptr %2, align 4
%14 = load float, ptr %2, align 4
%15 = fmul float %13, %14
%16 = fpext float %15 to double
%17 = fmul double 3.141590e+00, %16
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp91oxs14m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter radius: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Diameter is %f\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Circumference is %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Area is %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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load float, ptr %2, align 4
%6 = fmul float 2.000000e+00, %5
%7 = fpext float %6 to double
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %7)
%9 = load float, ptr %2, align 4
%10 = fpext float %9 to double
%11 = fmul double 6.283180e+00, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %11)
%13 = load float, ptr %2, align 4
%14 = load float, ptr %2, align 4
%15 = fmul float %13, %14
%16 = fpext float %15 to double
%17 = fmul double 3.141590e+00, %16
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1_b080cz.c'
source_filename = "/tmp/tmp1_b080cz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Uchar_3d_array(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 = sext i32 %9 to i64
%11 = mul i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call i64 @Char_3d_array(i32 noundef %7, i32 noundef %8, i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
ret ptr %14
}
declare i64 @Char_3d_array(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/tmp1_b080cz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Uchar_3d_array(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 = sext i32 %9 to i64
%11 = mul i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call i64 @Char_3d_array(i32 noundef %7, i32 noundef %8, i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
ret ptr %14
}
declare i64 @Char_3d_array(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/tmpbk_cysrj.c'
source_filename = "/tmp/tmpbk_cysrj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x12\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x12() #0 {
%1 = call i64 @isdigit(i32 noundef 18)
%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 95, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbk_cysrj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x12\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x12() #0 {
%1 = call i64 @isdigit(i32 noundef 18)
%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 95, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgwvcqd_b.c'
source_filename = "/tmp/tmpgwvcqd_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EILSEQ = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wcrtomb(ptr noalias noundef %0, i32 noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %9, 127
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11
store i64 1, ptr %8, align 8
br label %16
15: ; preds = %11
store i64 1, ptr %4, align 8
br label %148
16: ; preds = %14
%17 = load i32, ptr %6, align 4
%18 = ashr i32 %17, 0
%19 = and i32 %18, 127
%20 = or i32 0, %19
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
store i8 %21, ptr %22, align 1
br label %146
24: ; preds = %3
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %25, 2047
br i1 %26, label %27, label %40
27: ; preds = %24
%28 = load ptr, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %31
30: ; preds = %27
store i64 2, ptr %8, align 8
br label %32
31: ; preds = %27
store i64 2, ptr %4, align 8
br label %148
32: ; preds = %30
%33 = load i32, ptr %6, align 4
%34 = ashr i32 %33, 6
%35 = and i32 %34, 31
%36 = or i32 192, %35
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %5, align 8
store i8 %37, ptr %38, align 1
br label %138
40: ; preds = %24
%41 = load i32, ptr %6, align 4
%42 = icmp sle i32 %41, 65535
br i1 %42, label %43, label %56
43: ; preds = %40
%44 = load ptr, ptr %5, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %43
store i64 3, ptr %8, align 8
br label %48
47: ; preds = %43
store i64 3, ptr %4, align 8
br label %148
48: ; preds = %46
%49 = load i32, ptr %6, align 4
%50 = ashr i32 %49, 12
%51 = and i32 %50, 15
%52 = or i32 224, %51
%53 = trunc i32 %52 to i8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
store i8 %53, ptr %54, align 1
br label %130
56: ; preds = %40
%57 = load i32, ptr %6, align 4
%58 = icmp sle i32 %57, 2097151
br i1 %58, label %59, label %72
59: ; preds = %56
%60 = load ptr, ptr %5, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %63
62: ; preds = %59
store i64 4, ptr %8, align 8
br label %64
63: ; preds = %59
store i64 4, ptr %4, align 8
br label %148
64: ; preds = %62
%65 = load i32, ptr %6, align 4
%66 = ashr i32 %65, 18
%67 = and i32 %66, 7
%68 = or i32 240, %67
%69 = trunc i32 %68 to i8
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %5, align 8
store i8 %69, ptr %70, align 1
br label %122
72: ; preds = %56
%73 = load i32, ptr %6, align 4
%74 = icmp sle i32 %73, 67108863
br i1 %74, label %75, label %88
75: ; preds = %72
%76 = load ptr, ptr %5, align 8
%77 = icmp ne ptr %76, null
br i1 %77, label %78, label %79
78: ; preds = %75
store i64 5, ptr %8, align 8
br label %80
79: ; preds = %75
store i64 5, ptr %4, align 8
br label %148
80: ; preds = %78
%81 = load i32, ptr %6, align 4
%82 = ashr i32 %81, 24
%83 = and i32 %82, 3
%84 = or i32 248, %83
%85 = trunc i32 %84 to i8
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %5, align 8
store i8 %85, ptr %86, align 1
br label %114
88: ; preds = %72
%89 = load i32, ptr %6, align 4
%90 = icmp sle i32 %89, 2147483647
br i1 %90, label %91, label %104
91: ; preds = %88
%92 = load ptr, ptr %5, align 8
%93 = icmp ne ptr %92, null
br i1 %93, label %94, label %95
94: ; preds = %91
store i64 6, ptr %8, align 8
br label %96
95: ; preds = %91
store i64 6, ptr %4, align 8
br label %148
96: ; preds = %94
%97 = load i32, ptr %6, align 4
%98 = ashr i32 %97, 30
%99 = and i32 %98, 1
%100 = or i32 252, %99
%101 = trunc i32 %100 to i8
%102 = load ptr, ptr %5, align 8
%103 = getelementptr inbounds i8, ptr %102, i32 1
store ptr %103, ptr %5, align 8
store i8 %101, ptr %102, align 1
br label %106
104: ; preds = %88
%105 = load i64, ptr @EILSEQ, align 8
store i64 %105, ptr @errno, align 8
store i64 -1, ptr %4, align 8
br label %148
106: ; preds = %96
%107 = load i32, ptr %6, align 4
%108 = ashr i32 %107, 24
%109 = and i32 %108, 63
%110 = or i32 128, %109
%111 = trunc i32 %110 to i8
%112 = load ptr, ptr %5, align 8
%113 = getelementptr inbounds i8, ptr %112, i32 1
store ptr %113, ptr %5, align 8
store i8 %111, ptr %112, align 1
br label %114
114: ; preds = %106, %80
%115 = load i32, ptr %6, align 4
%116 = ashr i32 %115, 18
%117 = and i32 %116, 63
%118 = or i32 128, %117
%119 = trunc i32 %118 to i8
%120 = load ptr, ptr %5, align 8
%121 = getelementptr inbounds i8, ptr %120, i32 1
store ptr %121, ptr %5, align 8
store i8 %119, ptr %120, align 1
br label %122
122: ; preds = %114, %64
%123 = load i32, ptr %6, align 4
%124 = ashr i32 %123, 12
%125 = and i32 %124, 63
%126 = or i32 128, %125
%127 = trunc i32 %126 to i8
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 1
store ptr %129, ptr %5, align 8
store i8 %127, ptr %128, align 1
br label %130
130: ; preds = %122, %48
%131 = load i32, ptr %6, align 4
%132 = ashr i32 %131, 6
%133 = and i32 %132, 63
%134 = or i32 128, %133
%135 = trunc i32 %134 to i8
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %5, align 8
store i8 %135, ptr %136, align 1
br label %138
138: ; preds = %130, %32
%139 = load i32, ptr %6, align 4
%140 = ashr i32 %139, 0
%141 = and i32 %140, 63
%142 = or i32 128, %141
%143 = trunc i32 %142 to i8
%144 = load ptr, ptr %5, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %5, align 8
store i8 %143, ptr %144, align 1
br label %146
146: ; preds = %138, %16
%147 = load i64, ptr %8, align 8
store i64 %147, ptr %4, align 8
br label %148
148: ; preds = %146, %104, %95, %79, %63, %47, %31, %15
%149 = load i64, ptr %4, align 8
ret i64 %149
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgwvcqd_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EILSEQ = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wcrtomb(ptr noalias noundef %0, i32 noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %9, 127
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11
store i64 1, ptr %8, align 8
br label %16
15: ; preds = %11
store i64 1, ptr %4, align 8
br label %148
16: ; preds = %14
%17 = load i32, ptr %6, align 4
%18 = ashr i32 %17, 0
%19 = and i32 %18, 127
%20 = or i32 0, %19
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
store i8 %21, ptr %22, align 1
br label %146
24: ; preds = %3
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %25, 2047
br i1 %26, label %27, label %40
27: ; preds = %24
%28 = load ptr, ptr %5, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %31
30: ; preds = %27
store i64 2, ptr %8, align 8
br label %32
31: ; preds = %27
store i64 2, ptr %4, align 8
br label %148
32: ; preds = %30
%33 = load i32, ptr %6, align 4
%34 = ashr i32 %33, 6
%35 = and i32 %34, 31
%36 = or i32 192, %35
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %5, align 8
store i8 %37, ptr %38, align 1
br label %138
40: ; preds = %24
%41 = load i32, ptr %6, align 4
%42 = icmp sle i32 %41, 65535
br i1 %42, label %43, label %56
43: ; preds = %40
%44 = load ptr, ptr %5, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %43
store i64 3, ptr %8, align 8
br label %48
47: ; preds = %43
store i64 3, ptr %4, align 8
br label %148
48: ; preds = %46
%49 = load i32, ptr %6, align 4
%50 = ashr i32 %49, 12
%51 = and i32 %50, 15
%52 = or i32 224, %51
%53 = trunc i32 %52 to i8
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
store i8 %53, ptr %54, align 1
br label %130
56: ; preds = %40
%57 = load i32, ptr %6, align 4
%58 = icmp sle i32 %57, 2097151
br i1 %58, label %59, label %72
59: ; preds = %56
%60 = load ptr, ptr %5, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %63
62: ; preds = %59
store i64 4, ptr %8, align 8
br label %64
63: ; preds = %59
store i64 4, ptr %4, align 8
br label %148
64: ; preds = %62
%65 = load i32, ptr %6, align 4
%66 = ashr i32 %65, 18
%67 = and i32 %66, 7
%68 = or i32 240, %67
%69 = trunc i32 %68 to i8
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %5, align 8
store i8 %69, ptr %70, align 1
br label %122
72: ; preds = %56
%73 = load i32, ptr %6, align 4
%74 = icmp sle i32 %73, 67108863
br i1 %74, label %75, label %88
75: ; preds = %72
%76 = load ptr, ptr %5, align 8
%77 = icmp ne ptr %76, null
br i1 %77, label %78, label %79
78: ; preds = %75
store i64 5, ptr %8, align 8
br label %80
79: ; preds = %75
store i64 5, ptr %4, align 8
br label %148
80: ; preds = %78
%81 = load i32, ptr %6, align 4
%82 = ashr i32 %81, 24
%83 = and i32 %82, 3
%84 = or i32 248, %83
%85 = trunc i32 %84 to i8
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %5, align 8
store i8 %85, ptr %86, align 1
br label %114
88: ; preds = %72
%89 = load i32, ptr %6, align 4
%90 = icmp sle i32 %89, 2147483647
br i1 %90, label %91, label %104
91: ; preds = %88
%92 = load ptr, ptr %5, align 8
%93 = icmp ne ptr %92, null
br i1 %93, label %94, label %95
94: ; preds = %91
store i64 6, ptr %8, align 8
br label %96
95: ; preds = %91
store i64 6, ptr %4, align 8
br label %148
96: ; preds = %94
%97 = load i32, ptr %6, align 4
%98 = ashr i32 %97, 30
%99 = and i32 %98, 1
%100 = or i32 252, %99
%101 = trunc i32 %100 to i8
%102 = load ptr, ptr %5, align 8
%103 = getelementptr inbounds i8, ptr %102, i32 1
store ptr %103, ptr %5, align 8
store i8 %101, ptr %102, align 1
br label %106
104: ; preds = %88
%105 = load i64, ptr @EILSEQ, align 8
store i64 %105, ptr @errno, align 8
store i64 -1, ptr %4, align 8
br label %148
106: ; preds = %96
%107 = load i32, ptr %6, align 4
%108 = ashr i32 %107, 24
%109 = and i32 %108, 63
%110 = or i32 128, %109
%111 = trunc i32 %110 to i8
%112 = load ptr, ptr %5, align 8
%113 = getelementptr inbounds i8, ptr %112, i32 1
store ptr %113, ptr %5, align 8
store i8 %111, ptr %112, align 1
br label %114
114: ; preds = %106, %80
%115 = load i32, ptr %6, align 4
%116 = ashr i32 %115, 18
%117 = and i32 %116, 63
%118 = or i32 128, %117
%119 = trunc i32 %118 to i8
%120 = load ptr, ptr %5, align 8
%121 = getelementptr inbounds i8, ptr %120, i32 1
store ptr %121, ptr %5, align 8
store i8 %119, ptr %120, align 1
br label %122
122: ; preds = %114, %64
%123 = load i32, ptr %6, align 4
%124 = ashr i32 %123, 12
%125 = and i32 %124, 63
%126 = or i32 128, %125
%127 = trunc i32 %126 to i8
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 1
store ptr %129, ptr %5, align 8
store i8 %127, ptr %128, align 1
br label %130
130: ; preds = %122, %48
%131 = load i32, ptr %6, align 4
%132 = ashr i32 %131, 6
%133 = and i32 %132, 63
%134 = or i32 128, %133
%135 = trunc i32 %134 to i8
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %5, align 8
store i8 %135, ptr %136, align 1
br label %138
138: ; preds = %130, %32
%139 = load i32, ptr %6, align 4
%140 = ashr i32 %139, 0
%141 = and i32 %140, 63
%142 = or i32 128, %141
%143 = trunc i32 %142 to i8
%144 = load ptr, ptr %5, align 8
%145 = getelementptr inbounds i8, ptr %144, i32 1
store ptr %145, ptr %5, align 8
store i8 %143, ptr %144, align 1
br label %146
146: ; preds = %138, %16
%147 = load i64, ptr %8, align 8
store i64 %147, ptr %4, align 8
br label %148
148: ; preds = %146, %104, %95, %79, %63, %47, %31, %15
%149 = load i64, ptr %4, align 8
ret i64 %149
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp332u3k4n.c'
source_filename = "/tmp/tmp332u3k4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ndb_unix_version_local.CompiledWith = internal global [35 x i8] c"Compiled with %s%s for %s%s%s%s.\0A\0A\00", align 16
@.str = private unnamed_addr constant [5 x i8] c"gcc \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"9.4.0\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Unix\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" on \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Mar 17 2022\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ndb_unix_version_local() #0 {
%1 = call i32 @printf(ptr noundef @ndb_unix_version_local.CompiledWith, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp332u3k4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ndb_unix_version_local.CompiledWith = internal global [35 x i8] c"Compiled with %s%s for %s%s%s%s.\0A\0A\00", align 16
@.str = private unnamed_addr constant [5 x i8] c"gcc \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"9.4.0\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Unix\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" on \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Mar 17 2022\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ndb_unix_version_local() #0 {
%1 = call i32 @printf(ptr noundef @ndb_unix_version_local.CompiledWith, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpahfj3teg.c'
source_filename = "/tmp/tmpahfj3teg.c"
target datalayout = "e-m:e-p270: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/tmpahfj3teg.c"
target datalayout = "e-m:e-p270: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/tmpuz7i5pwy.c'
source_filename = "/tmp/tmpuz7i5pwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Using prefix, n starts at %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Using postfix, n starts at %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prefix_vs_postfix() #0 {
%1 = alloca i32, align 4
store i32 4, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
store i32 4, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = call i32 @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %1, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%14 = load i32, ptr %1, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuz7i5pwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Using prefix, n starts at %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Using postfix, n starts at %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prefix_vs_postfix() #0 {
%1 = alloca i32, align 4
store i32 4, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
store i32 4, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = call i32 @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %1, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%14 = load i32, ptr %1, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg0chp85_.c'
source_filename = "/tmp/tmpg0chp85_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @X509_VERIFY_PARAM_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 @x509_verify_param_zero(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @x509_verify_param_zero(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg0chp85_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @X509_VERIFY_PARAM_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 @x509_verify_param_zero(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @x509_verify_param_zero(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3wfv144o.c'
source_filename = "/tmp/tmp3wfv144o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @redo_getenv_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @getenv(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
br label %14
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
br label %14
14: ; preds = %12, %10
%15 = phi ptr [ %11, %10 ], [ %13, %12 ]
ret ptr %15
}
declare ptr @getenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3wfv144o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @redo_getenv_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @getenv(ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
br label %14
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
br label %14
14: ; preds = %12, %10
%15 = phi ptr [ %11, %10 ], [ %13, %12 ]
ret ptr %15
}
declare ptr @getenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb13f2yy6.c'
source_filename = "/tmp/tmpb13f2yy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 20, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %9
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %25, %15
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %19, label %28
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %16, !llvm.loop !8
28: ; preds = %16
%29 = load i32, ptr %1, align 4
ret i32 %29
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb13f2yy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 20, i1 false)
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %8
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 5
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %25
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 5
br i1 %29, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %16
%31 = load i32, ptr %1, align 4
ret i32 %31
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpczy8_itf.c'
source_filename = "/tmp/tmpczy8_itf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
@__const.main.s = private unnamed_addr constant [15 x i8] c"This is a test\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca i8, align 1
%9 = alloca [15 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store float 0x4021CCCCC0000000, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = load float, ptr %7, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
store i8 102, ptr %8, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.s, i64 15, i1 false)
%15 = load i8, ptr %8, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = getelementptr inbounds [15 x i8], ptr %9, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpczy8_itf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
@__const.main.s = private unnamed_addr constant [15 x i8] c"This is a test\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca i8, align 1
%9 = alloca [15 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store float 0x4021CCCCC0000000, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = load float, ptr %7, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
store i8 102, ptr %8, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.s, i64 15, i1 false)
%15 = load i8, ptr %8, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = getelementptr inbounds [15 x i8], ptr %9, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5lsgfmek.c'
source_filename = "/tmp/tmp5lsgfmek.c"
target datalayout = "e-m:e-p270: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/tmp5lsgfmek.c"
target datalayout = "e-m:e-p270: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_v7cc6fe.c'
source_filename = "/tmp/tmp_v7cc6fe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_v7cc6fe.c"
target datalayout = "e-m:e-p270: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/tmp1jkh4h9s.c'
source_filename = "/tmp/tmp1jkh4h9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.myDrawLwrLeftArm.spec = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawLwrLeftArm.diffY = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 8.000000e-01, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawLwrLeftArm.diffW = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myDrawLwrLeftArm.diffBR = private unnamed_addr constant [4 x double] [double 4.000000e-01, double 2.000000e-01, double 1.000000e-01, double 1.000000e+00], align 16
@GL_FRONT = dso_local global i32 0, align 4
@GL_SHININESS = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GLU_FILL = dso_local global i32 0, align 4
@GLU_SMOOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myDrawLwrLeftArm() #0 {
%1 = alloca ptr, align 8
%2 = alloca [4 x double], align 16
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
%6 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.myDrawLwrLeftArm.spec, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.myDrawLwrLeftArm.diffY, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.myDrawLwrLeftArm.diffW, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.myDrawLwrLeftArm.diffBR, i64 32, i1 false)
%7 = load i32, ptr @GL_FRONT, align 4
%8 = load i32, ptr @GL_SHININESS, align 4
%9 = call i32 @glMaterialf(i32 noundef %7, i32 noundef %8, i32 noundef 0)
%10 = load i32, ptr @GL_FRONT, align 4
%11 = load i32, ptr @GL_SPECULAR, align 4
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%13 = call i32 @glMaterialfv(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = load i32, ptr @GL_FRONT, align 4
%15 = load i32, ptr @GL_DIFFUSE, align 4
%16 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
%17 = call i32 @glMaterialfv(i32 noundef %14, i32 noundef %15, ptr noundef %16)
%18 = call ptr (...) @gluNewQuadric()
store ptr %18, ptr %1, align 8
%19 = load ptr, ptr %1, align 8
%20 = load i32, ptr @GLU_FILL, align 4
%21 = call i32 @gluQuadricDrawStyle(ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %1, align 8
%23 = load i32, ptr @GLU_SMOOTH, align 4
%24 = call i32 @gluQuadricNormals(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %1, align 8
%26 = call i32 @gluCylinder(ptr noundef %25, double noundef 0x3FE6666666666666, double noundef 5.000000e-01, double noundef 1.900000e+00, i32 noundef 22, i32 noundef 22)
%27 = call i32 (...) @glPushMatrix()
%28 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 2.200000e+00)
%29 = call i32 @glScaled(double noundef 1.000000e+00, double noundef 2.000000e+00, double noundef 1.000000e+00)
%30 = load ptr, ptr %1, align 8
%31 = call i32 @gluSphere(ptr noundef %30, double noundef 5.000000e-01, i32 noundef 30, i32 noundef 30)
%32 = call i32 (...) @glPushMatrix()
%33 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%34 = load ptr, ptr %1, align 8
%35 = call i32 @gluCylinder(ptr noundef %34, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 1.200000e+00, i32 noundef 22, i32 noundef 22)
%36 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.200000e+00)
%37 = load ptr, ptr %1, align 8
%38 = call i32 @gluSphere(ptr noundef %37, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%39 = call i32 (...) @glPopMatrix()
%40 = call i32 (...) @glPushMatrix()
%41 = call i32 @glRotated(double noundef 2.200000e+01, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%42 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 4.000000e-01)
%43 = load ptr, ptr %1, align 8
%44 = call i32 @gluCylinder(ptr noundef %43, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 8.000000e-01, i32 noundef 22, i32 noundef 22)
%45 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 8.000000e-01)
%46 = load ptr, ptr %1, align 8
%47 = call i32 @gluSphere(ptr noundef %46, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%48 = call i32 (...) @glPopMatrix()
%49 = call i32 (...) @glPushMatrix()
%50 = call i32 @glRotated(double noundef 3.500000e+01, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%51 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef -2.000000e-01, double noundef 0.000000e+00)
%52 = load ptr, ptr %1, align 8
%53 = call i32 @gluCylinder(ptr noundef %52, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 8.000000e-01, i32 noundef 22, i32 noundef 22)
%54 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 8.000000e-01)
%55 = load ptr, ptr %1, align 8
%56 = call i32 @gluSphere(ptr noundef %55, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%57 = call i32 (...) @glPopMatrix()
%58 = call i32 (...) @glPushMatrix()
%59 = call i32 @glRotated(double noundef -3.000000e+01, double noundef 1.100000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%60 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e-01)
%61 = load ptr, ptr %1, align 8
%62 = call i32 @gluCylinder(ptr noundef %61, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 8.000000e-01, i32 noundef 22, i32 noundef 22)
%63 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 8.000000e-01)
%64 = load ptr, ptr %1, align 8
%65 = call i32 @gluSphere(ptr noundef %64, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%66 = call i32 (...) @glPopMatrix()
%67 = call i32 (...) @glPopMatrix()
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @glMaterialf(i32 noundef, i32 noundef, i32 noundef) #3
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #3
declare ptr @gluNewQuadric(...) #3
declare i32 @gluQuadricDrawStyle(ptr noundef, i32 noundef) #3
declare i32 @gluQuadricNormals(ptr noundef, i32 noundef) #3
declare i32 @gluCylinder(ptr noundef, double noundef, double noundef, double noundef, i32 noundef, i32 noundef) #3
declare i32 @glPushMatrix(...) #3
declare i32 @glTranslated(double noundef, double noundef, double noundef) #3
declare i32 @glScaled(double noundef, double noundef, double noundef) #3
declare i32 @gluSphere(ptr noundef, double noundef, i32 noundef, i32 noundef) #3
declare i32 @glPopMatrix(...) #3
declare i32 @glRotated(double noundef, double noundef, double noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1jkh4h9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.myDrawLwrLeftArm.spec = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawLwrLeftArm.diffY = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 8.000000e-01, double 0.000000e+00, double 1.000000e+00], align 16
@__const.myDrawLwrLeftArm.diffW = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16
@__const.myDrawLwrLeftArm.diffBR = private unnamed_addr constant [4 x double] [double 4.000000e-01, double 2.000000e-01, double 1.000000e-01, double 1.000000e+00], align 16
@GL_FRONT = dso_local global i32 0, align 4
@GL_SHININESS = dso_local global i32 0, align 4
@GL_SPECULAR = dso_local global i32 0, align 4
@GL_DIFFUSE = dso_local global i32 0, align 4
@GLU_FILL = dso_local global i32 0, align 4
@GLU_SMOOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myDrawLwrLeftArm() #0 {
%1 = alloca ptr, align 8
%2 = alloca [4 x double], align 16
%3 = alloca [4 x double], align 16
%4 = alloca [4 x double], align 16
%5 = alloca [4 x double], align 16
%6 = alloca [4 x double], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.myDrawLwrLeftArm.spec, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.myDrawLwrLeftArm.diffY, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.myDrawLwrLeftArm.diffW, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.myDrawLwrLeftArm.diffBR, i64 32, i1 false)
%7 = load i32, ptr @GL_FRONT, align 4
%8 = load i32, ptr @GL_SHININESS, align 4
%9 = call i32 @glMaterialf(i32 noundef %7, i32 noundef %8, i32 noundef 0)
%10 = load i32, ptr @GL_FRONT, align 4
%11 = load i32, ptr @GL_SPECULAR, align 4
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%13 = call i32 @glMaterialfv(i32 noundef %10, i32 noundef %11, ptr noundef %12)
%14 = load i32, ptr @GL_FRONT, align 4
%15 = load i32, ptr @GL_DIFFUSE, align 4
%16 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0
%17 = call i32 @glMaterialfv(i32 noundef %14, i32 noundef %15, ptr noundef %16)
%18 = call ptr (...) @gluNewQuadric()
store ptr %18, ptr %1, align 8
%19 = load ptr, ptr %1, align 8
%20 = load i32, ptr @GLU_FILL, align 4
%21 = call i32 @gluQuadricDrawStyle(ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %1, align 8
%23 = load i32, ptr @GLU_SMOOTH, align 4
%24 = call i32 @gluQuadricNormals(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %1, align 8
%26 = call i32 @gluCylinder(ptr noundef %25, double noundef 0x3FE6666666666666, double noundef 5.000000e-01, double noundef 1.900000e+00, i32 noundef 22, i32 noundef 22)
%27 = call i32 (...) @glPushMatrix()
%28 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 2.200000e+00)
%29 = call i32 @glScaled(double noundef 1.000000e+00, double noundef 2.000000e+00, double noundef 1.000000e+00)
%30 = load ptr, ptr %1, align 8
%31 = call i32 @gluSphere(ptr noundef %30, double noundef 5.000000e-01, i32 noundef 30, i32 noundef 30)
%32 = call i32 (...) @glPushMatrix()
%33 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%34 = load ptr, ptr %1, align 8
%35 = call i32 @gluCylinder(ptr noundef %34, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 1.200000e+00, i32 noundef 22, i32 noundef 22)
%36 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.200000e+00)
%37 = load ptr, ptr %1, align 8
%38 = call i32 @gluSphere(ptr noundef %37, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%39 = call i32 (...) @glPopMatrix()
%40 = call i32 (...) @glPushMatrix()
%41 = call i32 @glRotated(double noundef 2.200000e+01, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%42 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 4.000000e-01)
%43 = load ptr, ptr %1, align 8
%44 = call i32 @gluCylinder(ptr noundef %43, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 8.000000e-01, i32 noundef 22, i32 noundef 22)
%45 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 8.000000e-01)
%46 = load ptr, ptr %1, align 8
%47 = call i32 @gluSphere(ptr noundef %46, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%48 = call i32 (...) @glPopMatrix()
%49 = call i32 (...) @glPushMatrix()
%50 = call i32 @glRotated(double noundef 3.500000e+01, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%51 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef -2.000000e-01, double noundef 0.000000e+00)
%52 = load ptr, ptr %1, align 8
%53 = call i32 @gluCylinder(ptr noundef %52, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 8.000000e-01, i32 noundef 22, i32 noundef 22)
%54 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 8.000000e-01)
%55 = load ptr, ptr %1, align 8
%56 = call i32 @gluSphere(ptr noundef %55, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%57 = call i32 (...) @glPopMatrix()
%58 = call i32 (...) @glPushMatrix()
%59 = call i32 @glRotated(double noundef -3.000000e+01, double noundef 1.100000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%60 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e-01)
%61 = load ptr, ptr %1, align 8
%62 = call i32 @gluCylinder(ptr noundef %61, double noundef 2.000000e-01, double noundef 2.000000e-01, double noundef 8.000000e-01, i32 noundef 22, i32 noundef 22)
%63 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 8.000000e-01)
%64 = load ptr, ptr %1, align 8
%65 = call i32 @gluSphere(ptr noundef %64, double noundef 2.000000e-01, i32 noundef 30, i32 noundef 30)
%66 = call i32 (...) @glPopMatrix()
%67 = call i32 (...) @glPopMatrix()
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @glMaterialf(i32 noundef, i32 noundef, i32 noundef) #3
declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #3
declare ptr @gluNewQuadric(...) #3
declare i32 @gluQuadricDrawStyle(ptr noundef, i32 noundef) #3
declare i32 @gluQuadricNormals(ptr noundef, i32 noundef) #3
declare i32 @gluCylinder(ptr noundef, double noundef, double noundef, double noundef, i32 noundef, i32 noundef) #3
declare i32 @glPushMatrix(...) #3
declare i32 @glTranslated(double noundef, double noundef, double noundef) #3
declare i32 @glScaled(double noundef, double noundef, double noundef) #3
declare i32 @gluSphere(ptr noundef, double noundef, i32 noundef, i32 noundef) #3
declare i32 @glPopMatrix(...) #3
declare i32 @glRotated(double noundef, double noundef, double noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpavu9ag0f.c'
source_filename = "/tmp/tmpavu9ag0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a7(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @a8(i32 noundef %3)
ret void
}
declare i32 @a8(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/tmpavu9ag0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a7(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @a8(i32 noundef %3)
ret void
}
declare i32 @a8(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/tmpriayhfng.c'
source_filename = "/tmp/tmpriayhfng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"unquoted string\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_string_argument(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 34
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @error_exit(i32 noundef 1, ptr noundef @.str)
br label %12
12: ; preds = %10, %1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = call ptr @duplicate_string(ptr noundef %14)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 34
br i1 %25, label %26, label %28
26: ; preds = %12
%27 = call i32 @error_exit(i32 noundef 1, ptr noundef @.str)
br label %28
28: ; preds = %26, %12
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %3, align 8
store ptr %33, ptr %5, align 8
br label %34
34: ; preds = %38, %28
%35 = load ptr, ptr %5, align 8
%36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.1)
store ptr %36, ptr %5, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %47
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = load ptr, ptr %5, align 8
%45 = call i32 @strlen(ptr noundef %44)
%46 = call i32 @memmove(ptr noundef %41, ptr noundef %43, i32 noundef %45)
br label %34, !llvm.loop !6
47: ; preds = %34
%48 = load ptr, ptr %3, align 8
%49 = load ptr, ptr %3, align 8
%50 = call i32 @strlen(ptr noundef %49)
%51 = add nsw i32 %50, 1
%52 = call ptr @realloc(ptr noundef %48, i32 noundef %51)
store ptr %52, ptr %3, align 8
%53 = load ptr, ptr %3, align 8
ret ptr %53
}
declare i32 @error_exit(i32 noundef, ptr noundef) #1
declare ptr @duplicate_string(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @realloc(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/tmpriayhfng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"unquoted string\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\22\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_string_argument(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 34
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @error_exit(i32 noundef 1, ptr noundef @.str)
br label %12
12: ; preds = %10, %1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = call ptr @duplicate_string(ptr noundef %14)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 34
br i1 %25, label %26, label %28
26: ; preds = %12
%27 = call i32 @error_exit(i32 noundef 1, ptr noundef @.str)
br label %28
28: ; preds = %26, %12
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %3, align 8
store ptr %33, ptr %5, align 8
%34 = load ptr, ptr %5, align 8
%35 = call ptr @strstr(ptr noundef %34, ptr noundef @.str.1)
store ptr %35, ptr %5, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %.lr.ph, label %49
.lr.ph: ; preds = %28
br label %37
37: ; preds = %.lr.ph, %37
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %5, align 8
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 1
%43 = load ptr, ptr %5, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @memmove(ptr noundef %40, ptr noundef %42, i32 noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = call ptr @strstr(ptr noundef %46, ptr noundef @.str.1)
store ptr %47, ptr %5, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %49
49: ; preds = %._crit_edge, %28
%50 = load ptr, ptr %3, align 8
%51 = load ptr, ptr %3, align 8
%52 = call i32 @strlen(ptr noundef %51)
%53 = add nsw i32 %52, 1
%54 = call ptr @realloc(ptr noundef %50, i32 noundef %53)
store ptr %54, ptr %3, align 8
%55 = load ptr, ptr %3, align 8
ret ptr %55
}
declare i32 @error_exit(i32 noundef, ptr noundef) #1
declare ptr @duplicate_string(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @realloc(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/tmp8hju0593.c'
source_filename = "/tmp/tmp8hju0593.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8hju0593.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1lg5ywfc.c'
source_filename = "/tmp/tmp1lg5ywfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tolower_l(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = call i64 @isupper(i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 65
%12 = add nsw i32 %11, 97
store i32 %12, ptr %3, align 4
br label %15
13: ; preds = %2
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %13, %9
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @isupper(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/tmp1lg5ywfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tolower_l(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = call i64 @isupper(i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 65
%12 = add nsw i32 %11, 97
store i32 %12, ptr %3, align 4
br label %15
13: ; preds = %2
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %13, %9
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @isupper(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/tmpudao5m1i.c'
source_filename = "/tmp/tmpudao5m1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpudao5m1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpdysvo_lp.c'
source_filename = "/tmp/tmpdysvo_lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"/proc/sys/cpu/%u/speed\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @proc_get_freq_kernel(i32 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [255 x i8], align 16
%6 = alloca [255 x i8], align 16
%7 = alloca i64, align 8
store i32 %0, ptr %3, align 4
%8 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 255, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.1)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %1
store i64 0, ptr %2, align 8
br label %33
16: ; preds = %1
%17 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 255, ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp sgt i32 %23, 245
br i1 %24, label %25, label %26
25: ; preds = %16
store i64 0, ptr %2, align 8
br label %33
26: ; preds = %16
%27 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%28 = call i32 @sscanf(ptr noundef %27, ptr noundef @.str.2, ptr noundef %7)
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %31
30: ; preds = %26
store i64 0, ptr %2, align 8
br label %33
31: ; preds = %26
%32 = load i64, ptr %7, align 8
store i64 %32, ptr %2, align 8
br label %33
33: ; preds = %31, %30, %25, %15
%34 = load i64, ptr %2, align 8
ret i64 %34
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdysvo_lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"/proc/sys/cpu/%u/speed\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @proc_get_freq_kernel(i32 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [255 x i8], align 16
%6 = alloca [255 x i8], align 16
%7 = alloca i64, align 8
store i32 %0, ptr %3, align 4
%8 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 255, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.1)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %1
store i64 0, ptr %2, align 8
br label %33
16: ; preds = %1
%17 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%18 = load ptr, ptr %4, align 8
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 255, ptr noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @fclose(ptr noundef %20)
%22 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp sgt i32 %23, 245
br i1 %24, label %25, label %26
25: ; preds = %16
store i64 0, ptr %2, align 8
br label %33
26: ; preds = %16
%27 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0
%28 = call i32 @sscanf(ptr noundef %27, ptr noundef @.str.2, ptr noundef %7)
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %31
30: ; preds = %26
store i64 0, ptr %2, align 8
br label %33
31: ; preds = %26
%32 = load i64, ptr %7, align 8
store i64 %32, ptr %2, align 8
br label %33
33: ; preds = %31, %30, %25, %15
%34 = load i64, ptr %2, align 8
ret i64 %34
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_cwq8y96.c'
source_filename = "/tmp/tmp_cwq8y96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ssl_get_handshake_evp_md(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @ssl_get_algorithm2(ptr noundef %7)
%9 = and i32 %8, 4080
switch i32 %9, label %25 [
i32 48, label %10
i32 64, label %13
i32 128, label %16
i32 256, label %19
i32 512, label %22
]
10: ; preds = %2
%11 = call ptr (...) @EVP_md5_sha1()
%12 = load ptr, ptr %5, align 8
store ptr %11, ptr %12, align 8
store i32 1, ptr %3, align 4
br label %27
13: ; preds = %2
%14 = call ptr (...) @EVP_gostr341194()
%15 = load ptr, ptr %5, align 8
store ptr %14, ptr %15, align 8
store i32 1, ptr %3, align 4
br label %27
16: ; preds = %2
%17 = call ptr (...) @EVP_sha256()
%18 = load ptr, ptr %5, align 8
store ptr %17, ptr %18, align 8
store i32 1, ptr %3, align 4
br label %27
19: ; preds = %2
%20 = call ptr (...) @EVP_sha384()
%21 = load ptr, ptr %5, align 8
store ptr %20, ptr %21, align 8
store i32 1, ptr %3, align 4
br label %27
22: ; preds = %2
%23 = call ptr (...) @EVP_streebog256()
%24 = load ptr, ptr %5, align 8
store ptr %23, ptr %24, align 8
store i32 1, ptr %3, align 4
br label %27
25: ; preds = %2
br label %26
26: ; preds = %25
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %22, %19, %16, %13, %10
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @ssl_get_algorithm2(ptr noundef) #1
declare ptr @EVP_md5_sha1(...) #1
declare ptr @EVP_gostr341194(...) #1
declare ptr @EVP_sha256(...) #1
declare ptr @EVP_sha384(...) #1
declare ptr @EVP_streebog256(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_cwq8y96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ssl_get_handshake_evp_md(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @ssl_get_algorithm2(ptr noundef %7)
%9 = and i32 %8, 4080
switch i32 %9, label %25 [
i32 48, label %10
i32 64, label %13
i32 128, label %16
i32 256, label %19
i32 512, label %22
]
10: ; preds = %2
%11 = call ptr (...) @EVP_md5_sha1()
%12 = load ptr, ptr %5, align 8
store ptr %11, ptr %12, align 8
store i32 1, ptr %3, align 4
br label %27
13: ; preds = %2
%14 = call ptr (...) @EVP_gostr341194()
%15 = load ptr, ptr %5, align 8
store ptr %14, ptr %15, align 8
store i32 1, ptr %3, align 4
br label %27
16: ; preds = %2
%17 = call ptr (...) @EVP_sha256()
%18 = load ptr, ptr %5, align 8
store ptr %17, ptr %18, align 8
store i32 1, ptr %3, align 4
br label %27
19: ; preds = %2
%20 = call ptr (...) @EVP_sha384()
%21 = load ptr, ptr %5, align 8
store ptr %20, ptr %21, align 8
store i32 1, ptr %3, align 4
br label %27
22: ; preds = %2
%23 = call ptr (...) @EVP_streebog256()
%24 = load ptr, ptr %5, align 8
store ptr %23, ptr %24, align 8
store i32 1, ptr %3, align 4
br label %27
25: ; preds = %2
br label %26
26: ; preds = %25
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %22, %19, %16, %13, %10
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @ssl_get_algorithm2(ptr noundef) #1
declare ptr @EVP_md5_sha1(...) #1
declare ptr @EVP_gostr341194(...) #1
declare ptr @EVP_sha256(...) #1
declare ptr @EVP_sha384(...) #1
declare ptr @EVP_streebog256(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2gsr_5yx.c'
source_filename = "/tmp/tmp2gsr_5yx.c"
target datalayout = "e-m:e-p270: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/tmp2gsr_5yx.c"
target datalayout = "e-m:e-p270: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/tmpzux3g5f5.c'
source_filename = "/tmp/tmpzux3g5f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dmeanstdev(i32 noundef %0, double noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store double %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = load double, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = load ptr, ptr %11, align 8
%18 = load i32, ptr %12, align 4
%19 = call i32 @stdlib_strided_dmeanstdevpn(i32 noundef %13, double noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18)
ret void
}
declare i32 @stdlib_strided_dmeanstdevpn(i32 noundef, double noundef, ptr 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/tmpzux3g5f5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dmeanstdev(i32 noundef %0, double noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store double %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = load double, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = load ptr, ptr %11, align 8
%18 = load i32, ptr %12, align 4
%19 = call i32 @stdlib_strided_dmeanstdevpn(i32 noundef %13, double noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18)
ret void
}
declare i32 @stdlib_strided_dmeanstdevpn(i32 noundef, double noundef, ptr 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/tmpq74i36_d.c'
source_filename = "/tmp/tmpq74i36_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"train-labels.idx1-ubyte\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readLabels() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [5000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = call i64 @malloc(i32 noundef 80)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %37, %0
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %40
14: ; preds = %11
%15 = call i64 @malloc(i32 noundef 40000)
%16 = inttoptr i64 %15 to ptr
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
store ptr %16, ptr %20, align 8
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %33, %14
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %22, 5000
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double 0.000000e+00, ptr %32, align 8
br label %33
33: ; preds = %24
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %21, !llvm.loop !6
36: ; preds = %21
br label %37
37: ; preds = %36
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %11, !llvm.loop !8
40: ; preds = %11
%41 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %41, ptr %5, align 8
%42 = getelementptr inbounds [5000 x i8], ptr %6, i64 0, i64 0
%43 = load ptr, ptr %5, align 8
%44 = call i64 @fread(ptr noundef %42, i32 noundef 1, i32 noundef 8, ptr noundef %43)
store i64 %44, ptr %1, align 8
%45 = getelementptr inbounds [5000 x i8], ptr %6, i64 0, i64 0
%46 = load ptr, ptr %5, align 8
%47 = call i64 @fread(ptr noundef %45, i32 noundef 1, i32 noundef 5000, ptr noundef %46)
store i64 %47, ptr %1, align 8
store i32 0, ptr %7, align 4
br label %48
48: ; preds = %65, %40
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %49, 5000
br i1 %50, label %51, label %68
51: ; preds = %48
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [5000 x i8], ptr %6, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = zext i8 %55 to i32
store i32 %56, ptr %8, align 4
%57 = load ptr, ptr %2, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %7, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
store double 1.000000e+00, ptr %64, align 8
br label %65
65: ; preds = %51
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
br label %48, !llvm.loop !9
68: ; preds = %48
%69 = load ptr, ptr %5, align 8
%70 = call i32 @fclose(ptr noundef %69)
%71 = load ptr, ptr %2, align 8
ret ptr %71
}
declare i64 @malloc(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq74i36_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"train-labels.idx1-ubyte\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readLabels() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [5000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = call i64 @malloc(i32 noundef 80)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %2, align 8
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %.lr.ph2, label %42
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %37
%14 = call i64 @malloc(i32 noundef 40000)
%15 = inttoptr i64 %14 to ptr
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
store ptr %15, ptr %19, align 8
store i32 0, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 5000
br i1 %21, label %.lr.ph, label %36
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %31
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
store double 0.000000e+00, ptr %30, align 8
br label %31
31: ; preds = %22
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 5000
br i1 %35, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %13
br label %37
37: ; preds = %36
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %40, 10
br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %0
%43 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %43, ptr %5, align 8
%44 = getelementptr inbounds [5000 x i8], ptr %6, i64 0, i64 0
%45 = load ptr, ptr %5, align 8
%46 = call i64 @fread(ptr noundef %44, i32 noundef 1, i32 noundef 8, ptr noundef %45)
store i64 %46, ptr %1, align 8
%47 = getelementptr inbounds [5000 x i8], ptr %6, i64 0, i64 0
%48 = load ptr, ptr %5, align 8
%49 = call i64 @fread(ptr noundef %47, i32 noundef 1, i32 noundef 5000, ptr noundef %48)
store i64 %49, ptr %1, align 8
store i32 0, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp slt i32 %50, 5000
br i1 %51, label %.lr.ph5, label %71
.lr.ph5: ; preds = %42
br label %52
52: ; preds = %.lr.ph5, %66
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [5000 x i8], ptr %6, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
store i32 %57, ptr %8, align 4
%58 = load ptr, ptr %2, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
store double 1.000000e+00, ptr %65, align 8
br label %66
66: ; preds = %52
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp slt i32 %69, 5000
br i1 %70, label %52, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %66
br label %71
71: ; preds = %._crit_edge6, %42
%72 = load ptr, ptr %5, align 8
%73 = call i32 @fclose(ptr noundef %72)
%74 = load ptr, ptr %2, align 8
ret ptr %74
}
declare i64 @malloc(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.