llvm-ir
stringlengths 1.2k
61.9M
| llvm-optimized-ir
stringlengths 1.2k
62.1M
|
---|---|
; ModuleID = '<stdin>'
source_filename = "frame/compat/cblas/src/cblas_ctrsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RowMajorStrg = external global i32, align 4
@CBLAS_CallFromC = external global i32, align 4
@.str = private unnamed_addr constant [12 x i8] c"cblas_ctrsv\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Illegal Uplo setting, %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Illegal TransA setting, %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Illegal Diag setting, %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Illegal Order setting, %d\0A\00", align 1
; Function Attrs: nounwind uwtable
define void @cblas_ctrsv(i32 noundef %order, i32 noundef %Uplo, i32 noundef %TransA, i32 noundef %Diag, i32 noundef %N, ptr noundef %A, i32 noundef %lda, ptr noundef %X, i32 noundef %incX) #0 {
entry:
%order.addr = alloca i32, align 4
%Uplo.addr = alloca i32, align 4
%TransA.addr = alloca i32, align 4
%Diag.addr = alloca i32, align 4
%N.addr = alloca i32, align 4
%A.addr = alloca ptr, align 8
%lda.addr = alloca i32, align 4
%X.addr = alloca ptr, align 8
%incX.addr = alloca i32, align 4
%TA = alloca i8, align 1
%UL = alloca i8, align 1
%DI = alloca i8, align 1
%n = alloca i32, align 4
%i = alloca i32, align 4
%tincX = alloca i32, align 4
%st = alloca ptr, align 8
%x = alloca ptr, align 8
%cleanup.dest.slot = alloca i32, align 4
store i32 %order, ptr %order.addr, align 4, !tbaa !4
store i32 %Uplo, ptr %Uplo.addr, align 4, !tbaa !4
store i32 %TransA, ptr %TransA.addr, align 4, !tbaa !4
store i32 %Diag, ptr %Diag.addr, align 4, !tbaa !4
store i32 %N, ptr %N.addr, align 4, !tbaa !7
store ptr %A, ptr %A.addr, align 8, !tbaa !9
store i32 %lda, ptr %lda.addr, align 4, !tbaa !7
store ptr %X, ptr %X.addr, align 8, !tbaa !9
store i32 %incX, ptr %incX.addr, align 4, !tbaa !7
call void @llvm.lifetime.start.p0(i64 1, ptr %TA) #3
call void @llvm.lifetime.start.p0(i64 1, ptr %UL) #3
call void @llvm.lifetime.start.p0(i64 1, ptr %DI) #3
call void @llvm.lifetime.start.p0(i64 4, ptr %n) #3
call void @llvm.lifetime.start.p0(i64 4, ptr %i) #3
store i32 0, ptr %i, align 4, !tbaa !7
call void @llvm.lifetime.start.p0(i64 4, ptr %tincX) #3
call void @llvm.lifetime.start.p0(i64 8, ptr %st) #3
store ptr null, ptr %st, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr %x) #3
%0 = load ptr, ptr %X.addr, align 8, !tbaa !9
store ptr %0, ptr %x, align 8, !tbaa !9
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr @CBLAS_CallFromC, align 4, !tbaa !7
%1 = load i32, ptr %order.addr, align 4, !tbaa !4
%cmp = icmp eq i32 %1, 102
br i1 %cmp, label %if.then, label %if.else27
if.then: ; preds = %entry
%2 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp1 = icmp eq i32 %2, 121
br i1 %cmp1, label %if.then2, label %if.else
if.then2: ; preds = %if.then
store i8 85, ptr %UL, align 1, !tbaa !4
br label %if.end6
if.else: ; preds = %if.then
%3 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp3 = icmp eq i32 %3, 122
br i1 %cmp3, label %if.then4, label %if.else5
if.then4: ; preds = %if.else
store i8 76, ptr %UL, align 1, !tbaa !4
br label %if.end
if.else5: ; preds = %if.else
%4 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 2, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %4)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end: ; preds = %if.then4
br label %if.end6
if.end6: ; preds = %if.end, %if.then2
%5 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp7 = icmp eq i32 %5, 111
br i1 %cmp7, label %if.then8, label %if.else9
if.then8: ; preds = %if.end6
store i8 78, ptr %TA, align 1, !tbaa !4
br label %if.end18
if.else9: ; preds = %if.end6
%6 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp10 = icmp eq i32 %6, 112
br i1 %cmp10, label %if.then11, label %if.else12
if.then11: ; preds = %if.else9
store i8 84, ptr %TA, align 1, !tbaa !4
br label %if.end17
if.else12: ; preds = %if.else9
%7 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp13 = icmp eq i32 %7, 113
br i1 %cmp13, label %if.then14, label %if.else15
if.then14: ; preds = %if.else12
store i8 67, ptr %TA, align 1, !tbaa !4
br label %if.end16
if.else15: ; preds = %if.else12
%8 = load i32, ptr %TransA.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 3, ptr noundef @.str, ptr noundef @.str.2, i32 noundef %8)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end16: ; preds = %if.then14
br label %if.end17
if.end17: ; preds = %if.end16, %if.then11
br label %if.end18
if.end18: ; preds = %if.end17, %if.then8
%9 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp19 = icmp eq i32 %9, 132
br i1 %cmp19, label %if.then20, label %if.else21
if.then20: ; preds = %if.end18
store i8 85, ptr %DI, align 1, !tbaa !4
br label %if.end26
if.else21: ; preds = %if.end18
%10 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp22 = icmp eq i32 %10, 131
br i1 %cmp22, label %if.then23, label %if.else24
if.then23: ; preds = %if.else21
store i8 78, ptr %DI, align 1, !tbaa !4
br label %if.end25
if.else24: ; preds = %if.else21
%11 = load i32, ptr %Diag.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 4, ptr noundef @.str, ptr noundef @.str.3, i32 noundef %11)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end25: ; preds = %if.then23
br label %if.end26
if.end26: ; preds = %if.end25, %if.then20
%12 = load ptr, ptr %A.addr, align 8, !tbaa !9
%13 = load ptr, ptr %X.addr, align 8, !tbaa !9
call void @ctrsv_(ptr noundef %UL, ptr noundef %TA, ptr noundef %DI, ptr noundef %N.addr, ptr noundef %12, ptr noundef %lda.addr, ptr noundef %13, ptr noundef %incX.addr)
br label %if.end86
if.else27: ; preds = %entry
%14 = load i32, ptr %order.addr, align 4, !tbaa !4
%cmp28 = icmp eq i32 %14, 101
br i1 %cmp28, label %if.then29, label %if.else84
if.then29: ; preds = %if.else27
store i32 1, ptr @RowMajorStrg, align 4, !tbaa !7
%15 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp30 = icmp eq i32 %15, 121
br i1 %cmp30, label %if.then31, label %if.else32
if.then31: ; preds = %if.then29
store i8 76, ptr %UL, align 1, !tbaa !4
br label %if.end37
if.else32: ; preds = %if.then29
%16 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp33 = icmp eq i32 %16, 122
br i1 %cmp33, label %if.then34, label %if.else35
if.then34: ; preds = %if.else32
store i8 85, ptr %UL, align 1, !tbaa !4
br label %if.end36
if.else35: ; preds = %if.else32
%17 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 2, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %17)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end36: ; preds = %if.then34
br label %if.end37
if.end37: ; preds = %if.end36, %if.then31
%18 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp38 = icmp eq i32 %18, 111
br i1 %cmp38, label %if.then39, label %if.else40
if.then39: ; preds = %if.end37
store i8 84, ptr %TA, align 1, !tbaa !4
br label %if.end62
if.else40: ; preds = %if.end37
%19 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp41 = icmp eq i32 %19, 112
br i1 %cmp41, label %if.then42, label %if.else43
if.then42: ; preds = %if.else40
store i8 78, ptr %TA, align 1, !tbaa !4
br label %if.end61
if.else43: ; preds = %if.else40
%20 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp44 = icmp eq i32 %20, 113
br i1 %cmp44, label %if.then45, label %if.else59
if.then45: ; preds = %if.else43
store i8 78, ptr %TA, align 1, !tbaa !4
%21 = load i32, ptr %N.addr, align 4, !tbaa !7
%cmp46 = icmp sgt i32 %21, 0
br i1 %cmp46, label %if.then47, label %if.end58
if.then47: ; preds = %if.then45
%22 = load i32, ptr %incX.addr, align 4, !tbaa !7
%cmp48 = icmp sgt i32 %22, 0
br i1 %cmp48, label %if.then49, label %if.else50
if.then49: ; preds = %if.then47
%23 = load i32, ptr %incX.addr, align 4, !tbaa !7
store i32 %23, ptr %tincX, align 4, !tbaa !7
br label %if.end51
if.else50: ; preds = %if.then47
%24 = load i32, ptr %incX.addr, align 4, !tbaa !7
%sub = sub nsw i32 0, %24
store i32 %sub, ptr %tincX, align 4, !tbaa !7
br label %if.end51
if.end51: ; preds = %if.else50, %if.then49
%25 = load i32, ptr %N.addr, align 4, !tbaa !7
%mul = mul nsw i32 %25, 2
%26 = load i32, ptr %tincX, align 4, !tbaa !7
%mul52 = mul nsw i32 %mul, %26
store i32 %mul52, ptr %n, align 4, !tbaa !7
%27 = load ptr, ptr %x, align 8, !tbaa !9
%incdec.ptr = getelementptr inbounds float, ptr %27, i32 1
store ptr %incdec.ptr, ptr %x, align 8, !tbaa !9
%28 = load ptr, ptr %x, align 8, !tbaa !9
%29 = load i32, ptr %n, align 4, !tbaa !7
%idx.ext = sext i32 %29 to i64
%add.ptr = getelementptr inbounds float, ptr %28, i64 %idx.ext
store ptr %add.ptr, ptr %st, align 8, !tbaa !9
%30 = load i32, ptr %tincX, align 4, !tbaa !7
%shl = shl i32 %30, 1
store i32 %shl, ptr %i, align 4, !tbaa !7
br label %do.body
do.body: ; preds = %do.cond, %if.end51
%31 = load ptr, ptr %x, align 8, !tbaa !9
%32 = load float, ptr %31, align 4, !tbaa !11
%fneg = fneg float %32
%33 = load ptr, ptr %x, align 8, !tbaa !9
store float %fneg, ptr %33, align 4, !tbaa !11
%34 = load i32, ptr %i, align 4, !tbaa !7
%35 = load ptr, ptr %x, align 8, !tbaa !9
%idx.ext53 = sext i32 %34 to i64
%add.ptr54 = getelementptr inbounds float, ptr %35, i64 %idx.ext53
store ptr %add.ptr54, ptr %x, align 8, !tbaa !9
br label %do.cond
do.cond: ; preds = %do.body
%36 = load ptr, ptr %x, align 8, !tbaa !9
%37 = load ptr, ptr %st, align 8, !tbaa !9
%cmp55 = icmp ne ptr %36, %37
br i1 %cmp55, label %do.body, label %do.end
do.end: ; preds = %do.cond
%38 = load i32, ptr %n, align 4, !tbaa !7
%39 = load ptr, ptr %x, align 8, !tbaa !9
%idx.ext56 = sext i32 %38 to i64
%idx.neg = sub i64 0, %idx.ext56
%add.ptr57 = getelementptr inbounds float, ptr %39, i64 %idx.neg
store ptr %add.ptr57, ptr %x, align 8, !tbaa !9
br label %if.end58
if.end58: ; preds = %do.end, %if.then45
br label %if.end60
if.else59: ; preds = %if.else43
%40 = load i32, ptr %TransA.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 3, ptr noundef @.str, ptr noundef @.str.2, i32 noundef %40)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end60: ; preds = %if.end58
br label %if.end61
if.end61: ; preds = %if.end60, %if.then42
br label %if.end62
if.end62: ; preds = %if.end61, %if.then39
%41 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp63 = icmp eq i32 %41, 132
br i1 %cmp63, label %if.then64, label %if.else65
if.then64: ; preds = %if.end62
store i8 85, ptr %DI, align 1, !tbaa !4
br label %if.end70
if.else65: ; preds = %if.end62
%42 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp66 = icmp eq i32 %42, 131
br i1 %cmp66, label %if.then67, label %if.else68
if.then67: ; preds = %if.else65
store i8 78, ptr %DI, align 1, !tbaa !4
br label %if.end69
if.else68: ; preds = %if.else65
%43 = load i32, ptr %Diag.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 4, ptr noundef @.str, ptr noundef @.str.3, i32 noundef %43)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end69: ; preds = %if.then67
br label %if.end70
if.end70: ; preds = %if.end69, %if.then64
%44 = load ptr, ptr %A.addr, align 8, !tbaa !9
%45 = load ptr, ptr %X.addr, align 8, !tbaa !9
call void @ctrsv_(ptr noundef %UL, ptr noundef %TA, ptr noundef %DI, ptr noundef %N.addr, ptr noundef %44, ptr noundef %lda.addr, ptr noundef %45, ptr noundef %incX.addr)
%46 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp71 = icmp eq i32 %46, 113
br i1 %cmp71, label %if.then72, label %if.end83
if.then72: ; preds = %if.end70
%47 = load i32, ptr %N.addr, align 4, !tbaa !7
%cmp73 = icmp sgt i32 %47, 0
br i1 %cmp73, label %if.then74, label %if.end82
if.then74: ; preds = %if.then72
br label %do.body75
do.body75: ; preds = %do.cond79, %if.then74
%48 = load ptr, ptr %x, align 8, !tbaa !9
%49 = load float, ptr %48, align 4, !tbaa !11
%fneg76 = fneg float %49
%50 = load ptr, ptr %x, align 8, !tbaa !9
store float %fneg76, ptr %50, align 4, !tbaa !11
%51 = load i32, ptr %i, align 4, !tbaa !7
%52 = load ptr, ptr %x, align 8, !tbaa !9
%idx.ext77 = sext i32 %51 to i64
%add.ptr78 = getelementptr inbounds float, ptr %52, i64 %idx.ext77
store ptr %add.ptr78, ptr %x, align 8, !tbaa !9
br label %do.cond79
do.cond79: ; preds = %do.body75
%53 = load ptr, ptr %x, align 8, !tbaa !9
%54 = load ptr, ptr %st, align 8, !tbaa !9
%cmp80 = icmp ne ptr %53, %54
br i1 %cmp80, label %do.body75, label %do.end81
do.end81: ; preds = %do.cond79
br label %if.end82
if.end82: ; preds = %do.end81, %if.then72
br label %if.end83
if.end83: ; preds = %if.end82, %if.end70
br label %if.end85
if.else84: ; preds = %if.else27
%55 = load i32, ptr %order.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 1, ptr noundef @.str, ptr noundef @.str.4, i32 noundef %55)
br label %if.end85
if.end85: ; preds = %if.else84, %if.end83
br label %if.end86
if.end86: ; preds = %if.end85, %if.end26
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
cleanup: ; preds = %if.end86, %if.else68, %if.else59, %if.else35, %if.else24, %if.else15, %if.else5
call void @llvm.lifetime.end.p0(i64 8, ptr %x) #3
call void @llvm.lifetime.end.p0(i64 8, ptr %st) #3
call void @llvm.lifetime.end.p0(i64 4, ptr %tincX) #3
call void @llvm.lifetime.end.p0(i64 4, ptr %i) #3
call void @llvm.lifetime.end.p0(i64 4, ptr %n) #3
call void @llvm.lifetime.end.p0(i64 1, ptr %DI) #3
call void @llvm.lifetime.end.p0(i64 1, ptr %UL) #3
call void @llvm.lifetime.end.p0(i64 1, ptr %TA) #3
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare void @cblas_xerbla(i32 noundef, ptr noundef, ptr noundef, ...) #2
declare void @ctrsv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2}
!llvm.ident = !{!3}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"uwtable", i32 2}
!3 = !{!"clang version 18.0.0 (https://github.com/llvm-ml/llvm-project b452eb491a2ae09c12cc88b715f003377cec543b)"}
!4 = !{!5, !5, i64 0}
!5 = !{!"omnipotent char", !6, i64 0}
!6 = !{!"Simple C/C++ TBAA"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !5, i64 0}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !5, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !5, i64 0}
| ; ModuleID = '<stdin>'
source_filename = "frame/compat/cblas/src/cblas_ctrsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RowMajorStrg = external global i32, align 4
@CBLAS_CallFromC = external global i32, align 4
@.str = private unnamed_addr constant [12 x i8] c"cblas_ctrsv\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Illegal Uplo setting, %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Illegal TransA setting, %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Illegal Diag setting, %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Illegal Order setting, %d\0A\00", align 1
; Function Attrs: nounwind uwtable
define void @cblas_ctrsv(i32 noundef %order, i32 noundef %Uplo, i32 noundef %TransA, i32 noundef %Diag, i32 noundef %N, ptr noundef %A, i32 noundef %lda, ptr noundef %X, i32 noundef %incX) #0 {
entry:
%order.addr = alloca i32, align 4
%Uplo.addr = alloca i32, align 4
%TransA.addr = alloca i32, align 4
%Diag.addr = alloca i32, align 4
%N.addr = alloca i32, align 4
%A.addr = alloca ptr, align 8
%lda.addr = alloca i32, align 4
%X.addr = alloca ptr, align 8
%incX.addr = alloca i32, align 4
%TA = alloca i8, align 1
%UL = alloca i8, align 1
%DI = alloca i8, align 1
%n = alloca i32, align 4
%i = alloca i32, align 4
%tincX = alloca i32, align 4
%st = alloca ptr, align 8
%x = alloca ptr, align 8
%cleanup.dest.slot = alloca i32, align 4
store i32 %order, ptr %order.addr, align 4, !tbaa !4
store i32 %Uplo, ptr %Uplo.addr, align 4, !tbaa !4
store i32 %TransA, ptr %TransA.addr, align 4, !tbaa !4
store i32 %Diag, ptr %Diag.addr, align 4, !tbaa !4
store i32 %N, ptr %N.addr, align 4, !tbaa !7
store ptr %A, ptr %A.addr, align 8, !tbaa !9
store i32 %lda, ptr %lda.addr, align 4, !tbaa !7
store ptr %X, ptr %X.addr, align 8, !tbaa !9
store i32 %incX, ptr %incX.addr, align 4, !tbaa !7
call void @llvm.lifetime.start.p0(i64 1, ptr %TA) #3
call void @llvm.lifetime.start.p0(i64 1, ptr %UL) #3
call void @llvm.lifetime.start.p0(i64 1, ptr %DI) #3
call void @llvm.lifetime.start.p0(i64 4, ptr %n) #3
call void @llvm.lifetime.start.p0(i64 4, ptr %i) #3
store i32 0, ptr %i, align 4, !tbaa !7
call void @llvm.lifetime.start.p0(i64 4, ptr %tincX) #3
call void @llvm.lifetime.start.p0(i64 8, ptr %st) #3
store ptr null, ptr %st, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr %x) #3
%0 = load ptr, ptr %X.addr, align 8, !tbaa !9
store ptr %0, ptr %x, align 8, !tbaa !9
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr @CBLAS_CallFromC, align 4, !tbaa !7
%1 = load i32, ptr %order.addr, align 4, !tbaa !4
%cmp = icmp eq i32 %1, 102
br i1 %cmp, label %if.then, label %if.else27
if.then: ; preds = %entry
%2 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp1 = icmp eq i32 %2, 121
br i1 %cmp1, label %if.then2, label %if.else
if.then2: ; preds = %if.then
store i8 85, ptr %UL, align 1, !tbaa !4
br label %if.end6
if.else: ; preds = %if.then
%3 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp3 = icmp eq i32 %3, 122
br i1 %cmp3, label %if.then4, label %if.else5
if.then4: ; preds = %if.else
store i8 76, ptr %UL, align 1, !tbaa !4
br label %if.end
if.else5: ; preds = %if.else
%4 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 2, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %4)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end: ; preds = %if.then4
br label %if.end6
if.end6: ; preds = %if.end, %if.then2
%5 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp7 = icmp eq i32 %5, 111
br i1 %cmp7, label %if.then8, label %if.else9
if.then8: ; preds = %if.end6
store i8 78, ptr %TA, align 1, !tbaa !4
br label %if.end18
if.else9: ; preds = %if.end6
%6 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp10 = icmp eq i32 %6, 112
br i1 %cmp10, label %if.then11, label %if.else12
if.then11: ; preds = %if.else9
store i8 84, ptr %TA, align 1, !tbaa !4
br label %if.end17
if.else12: ; preds = %if.else9
%7 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp13 = icmp eq i32 %7, 113
br i1 %cmp13, label %if.then14, label %if.else15
if.then14: ; preds = %if.else12
store i8 67, ptr %TA, align 1, !tbaa !4
br label %if.end16
if.else15: ; preds = %if.else12
%8 = load i32, ptr %TransA.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 3, ptr noundef @.str, ptr noundef @.str.2, i32 noundef %8)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end16: ; preds = %if.then14
br label %if.end17
if.end17: ; preds = %if.end16, %if.then11
br label %if.end18
if.end18: ; preds = %if.end17, %if.then8
%9 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp19 = icmp eq i32 %9, 132
br i1 %cmp19, label %if.then20, label %if.else21
if.then20: ; preds = %if.end18
store i8 85, ptr %DI, align 1, !tbaa !4
br label %if.end26
if.else21: ; preds = %if.end18
%10 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp22 = icmp eq i32 %10, 131
br i1 %cmp22, label %if.then23, label %if.else24
if.then23: ; preds = %if.else21
store i8 78, ptr %DI, align 1, !tbaa !4
br label %if.end25
if.else24: ; preds = %if.else21
%11 = load i32, ptr %Diag.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 4, ptr noundef @.str, ptr noundef @.str.3, i32 noundef %11)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end25: ; preds = %if.then23
br label %if.end26
if.end26: ; preds = %if.end25, %if.then20
%12 = load ptr, ptr %A.addr, align 8, !tbaa !9
%13 = load ptr, ptr %X.addr, align 8, !tbaa !9
call void @ctrsv_(ptr noundef %UL, ptr noundef %TA, ptr noundef %DI, ptr noundef %N.addr, ptr noundef %12, ptr noundef %lda.addr, ptr noundef %13, ptr noundef %incX.addr)
br label %if.end86
if.else27: ; preds = %entry
%14 = load i32, ptr %order.addr, align 4, !tbaa !4
%cmp28 = icmp eq i32 %14, 101
br i1 %cmp28, label %if.then29, label %if.else84
if.then29: ; preds = %if.else27
store i32 1, ptr @RowMajorStrg, align 4, !tbaa !7
%15 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp30 = icmp eq i32 %15, 121
br i1 %cmp30, label %if.then31, label %if.else32
if.then31: ; preds = %if.then29
store i8 76, ptr %UL, align 1, !tbaa !4
br label %if.end37
if.else32: ; preds = %if.then29
%16 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
%cmp33 = icmp eq i32 %16, 122
br i1 %cmp33, label %if.then34, label %if.else35
if.then34: ; preds = %if.else32
store i8 85, ptr %UL, align 1, !tbaa !4
br label %if.end36
if.else35: ; preds = %if.else32
%17 = load i32, ptr %Uplo.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 2, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %17)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end36: ; preds = %if.then34
br label %if.end37
if.end37: ; preds = %if.end36, %if.then31
%18 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp38 = icmp eq i32 %18, 111
br i1 %cmp38, label %if.then39, label %if.else40
if.then39: ; preds = %if.end37
store i8 84, ptr %TA, align 1, !tbaa !4
br label %if.end62
if.else40: ; preds = %if.end37
%19 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp41 = icmp eq i32 %19, 112
br i1 %cmp41, label %if.then42, label %if.else43
if.then42: ; preds = %if.else40
store i8 78, ptr %TA, align 1, !tbaa !4
br label %if.end61
if.else43: ; preds = %if.else40
%20 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp44 = icmp eq i32 %20, 113
br i1 %cmp44, label %if.then45, label %if.else59
if.then45: ; preds = %if.else43
store i8 78, ptr %TA, align 1, !tbaa !4
%21 = load i32, ptr %N.addr, align 4, !tbaa !7
%cmp46 = icmp sgt i32 %21, 0
br i1 %cmp46, label %if.then47, label %if.end58
if.then47: ; preds = %if.then45
%22 = load i32, ptr %incX.addr, align 4, !tbaa !7
%cmp48 = icmp sgt i32 %22, 0
br i1 %cmp48, label %if.then49, label %if.else50
if.then49: ; preds = %if.then47
%23 = load i32, ptr %incX.addr, align 4, !tbaa !7
store i32 %23, ptr %tincX, align 4, !tbaa !7
br label %if.end51
if.else50: ; preds = %if.then47
%24 = load i32, ptr %incX.addr, align 4, !tbaa !7
%sub = sub nsw i32 0, %24
store i32 %sub, ptr %tincX, align 4, !tbaa !7
br label %if.end51
if.end51: ; preds = %if.else50, %if.then49
%25 = load i32, ptr %N.addr, align 4, !tbaa !7
%mul = mul nsw i32 %25, 2
%26 = load i32, ptr %tincX, align 4, !tbaa !7
%mul52 = mul nsw i32 %mul, %26
store i32 %mul52, ptr %n, align 4, !tbaa !7
%27 = load ptr, ptr %x, align 8, !tbaa !9
%incdec.ptr = getelementptr inbounds float, ptr %27, i32 1
store ptr %incdec.ptr, ptr %x, align 8, !tbaa !9
%28 = load ptr, ptr %x, align 8, !tbaa !9
%29 = load i32, ptr %n, align 4, !tbaa !7
%idx.ext = sext i32 %29 to i64
%add.ptr = getelementptr inbounds float, ptr %28, i64 %idx.ext
store ptr %add.ptr, ptr %st, align 8, !tbaa !9
%30 = load i32, ptr %tincX, align 4, !tbaa !7
%shl = shl i32 %30, 1
store i32 %shl, ptr %i, align 4, !tbaa !7
br label %do.body
do.body: ; preds = %do.cond, %if.end51
%31 = load ptr, ptr %x, align 8, !tbaa !9
%32 = load float, ptr %31, align 4, !tbaa !11
%fneg = fneg float %32
%33 = load ptr, ptr %x, align 8, !tbaa !9
store float %fneg, ptr %33, align 4, !tbaa !11
%34 = load i32, ptr %i, align 4, !tbaa !7
%35 = load ptr, ptr %x, align 8, !tbaa !9
%idx.ext53 = sext i32 %34 to i64
%add.ptr54 = getelementptr inbounds float, ptr %35, i64 %idx.ext53
store ptr %add.ptr54, ptr %x, align 8, !tbaa !9
br label %do.cond
do.cond: ; preds = %do.body
%36 = load ptr, ptr %x, align 8, !tbaa !9
%37 = load ptr, ptr %st, align 8, !tbaa !9
%cmp55 = icmp ne ptr %36, %37
br i1 %cmp55, label %do.body, label %do.end
do.end: ; preds = %do.cond
%38 = load i32, ptr %n, align 4, !tbaa !7
%39 = load ptr, ptr %x, align 8, !tbaa !9
%idx.ext56 = sext i32 %38 to i64
%idx.neg = sub i64 0, %idx.ext56
%add.ptr57 = getelementptr inbounds float, ptr %39, i64 %idx.neg
store ptr %add.ptr57, ptr %x, align 8, !tbaa !9
br label %if.end58
if.end58: ; preds = %do.end, %if.then45
br label %if.end60
if.else59: ; preds = %if.else43
%40 = load i32, ptr %TransA.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 3, ptr noundef @.str, ptr noundef @.str.2, i32 noundef %40)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end60: ; preds = %if.end58
br label %if.end61
if.end61: ; preds = %if.end60, %if.then42
br label %if.end62
if.end62: ; preds = %if.end61, %if.then39
%41 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp63 = icmp eq i32 %41, 132
br i1 %cmp63, label %if.then64, label %if.else65
if.then64: ; preds = %if.end62
store i8 85, ptr %DI, align 1, !tbaa !4
br label %if.end70
if.else65: ; preds = %if.end62
%42 = load i32, ptr %Diag.addr, align 4, !tbaa !4
%cmp66 = icmp eq i32 %42, 131
br i1 %cmp66, label %if.then67, label %if.else68
if.then67: ; preds = %if.else65
store i8 78, ptr %DI, align 1, !tbaa !4
br label %if.end69
if.else68: ; preds = %if.else65
%43 = load i32, ptr %Diag.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 4, ptr noundef @.str, ptr noundef @.str.3, i32 noundef %43)
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
if.end69: ; preds = %if.then67
br label %if.end70
if.end70: ; preds = %if.end69, %if.then64
%44 = load ptr, ptr %A.addr, align 8, !tbaa !9
%45 = load ptr, ptr %X.addr, align 8, !tbaa !9
call void @ctrsv_(ptr noundef %UL, ptr noundef %TA, ptr noundef %DI, ptr noundef %N.addr, ptr noundef %44, ptr noundef %lda.addr, ptr noundef %45, ptr noundef %incX.addr)
%46 = load i32, ptr %TransA.addr, align 4, !tbaa !4
%cmp71 = icmp eq i32 %46, 113
br i1 %cmp71, label %if.then72, label %if.end83
if.then72: ; preds = %if.end70
%47 = load i32, ptr %N.addr, align 4, !tbaa !7
%cmp73 = icmp sgt i32 %47, 0
br i1 %cmp73, label %if.then74, label %if.end82
if.then74: ; preds = %if.then72
br label %do.body75
do.body75: ; preds = %do.cond79, %if.then74
%48 = load ptr, ptr %x, align 8, !tbaa !9
%49 = load float, ptr %48, align 4, !tbaa !11
%fneg76 = fneg float %49
%50 = load ptr, ptr %x, align 8, !tbaa !9
store float %fneg76, ptr %50, align 4, !tbaa !11
%51 = load i32, ptr %i, align 4, !tbaa !7
%52 = load ptr, ptr %x, align 8, !tbaa !9
%idx.ext77 = sext i32 %51 to i64
%add.ptr78 = getelementptr inbounds float, ptr %52, i64 %idx.ext77
store ptr %add.ptr78, ptr %x, align 8, !tbaa !9
br label %do.cond79
do.cond79: ; preds = %do.body75
%53 = load ptr, ptr %x, align 8, !tbaa !9
%54 = load ptr, ptr %st, align 8, !tbaa !9
%cmp80 = icmp ne ptr %53, %54
br i1 %cmp80, label %do.body75, label %do.end81
do.end81: ; preds = %do.cond79
br label %if.end82
if.end82: ; preds = %do.end81, %if.then72
br label %if.end83
if.end83: ; preds = %if.end82, %if.end70
br label %if.end85
if.else84: ; preds = %if.else27
%55 = load i32, ptr %order.addr, align 4, !tbaa !4
call void (i32, ptr, ptr, ...) @cblas_xerbla(i32 noundef 1, ptr noundef @.str, ptr noundef @.str.4, i32 noundef %55)
br label %if.end85
if.end85: ; preds = %if.else84, %if.end83
br label %if.end86
if.end86: ; preds = %if.end85, %if.end26
store i32 0, ptr @CBLAS_CallFromC, align 4, !tbaa !7
store i32 0, ptr @RowMajorStrg, align 4, !tbaa !7
store i32 1, ptr %cleanup.dest.slot, align 4
br label %cleanup
cleanup: ; preds = %if.end86, %if.else68, %if.else59, %if.else35, %if.else24, %if.else15, %if.else5
call void @llvm.lifetime.end.p0(i64 8, ptr %x) #3
call void @llvm.lifetime.end.p0(i64 8, ptr %st) #3
call void @llvm.lifetime.end.p0(i64 4, ptr %tincX) #3
call void @llvm.lifetime.end.p0(i64 4, ptr %i) #3
call void @llvm.lifetime.end.p0(i64 4, ptr %n) #3
call void @llvm.lifetime.end.p0(i64 1, ptr %DI) #3
call void @llvm.lifetime.end.p0(i64 1, ptr %UL) #3
call void @llvm.lifetime.end.p0(i64 1, ptr %TA) #3
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare void @cblas_xerbla(i32 noundef, ptr noundef, ptr noundef, ...) #2
declare void @ctrsv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2}
!llvm.ident = !{!3}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"uwtable", i32 2}
!3 = !{!"clang version 18.0.0 (https://github.com/llvm-ml/llvm-project b452eb491a2ae09c12cc88b715f003377cec543b)"}
!4 = !{!5, !5, i64 0}
!5 = !{!"omnipotent char", !6, i64 0}
!6 = !{!"Simple C/C++ TBAA"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !5, i64 0}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !5, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !5, i64 0}
|
"; ModuleID = '<stdin>'\nsource_filename = \"bigkey.c\"\ntarget datalayout = \"e-m:e-p270:32:32-p271(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"bigkey.c\"\ntarget datalayout = \"e-m:e-p270:32:32-p271(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/amdlibflame-otrkevhm552xspevawtkllysqp2goz3p(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/amdlibflame-otrkevhm552xspevawtkllysqp2goz3p(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/amdlibflame-otrkevhm552xspevawtkllysqp2goz3p(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/amdlibflame-otrkevhm552xspevawtkllysqp2goz3p(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/libflame-e5nfvhftngyb7czajtt6ztnesna24ye7-bu(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/libflame-e5nfvhftngyb7czajtt6ztnesna24ye7-bu(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"src/ZC_rw.c\"\ntarget datalayout = \"e-m:e-p270:32:32-p(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"src/ZC_rw.c\"\ntarget datalayout = \"e-m:e-p270:32:32-p(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"frame/util/bli_util_tapi_ba.c\"\ntarget datalayout = \"(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"frame/util/bli_util_tapi_ba.c\"\ntarget datalayout = \"(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/xnnpack-r7msi2beibvbxa3e6lvblom7qlyd5i24-bui(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/xnnpack-r7msi2beibvbxa3e6lvblom7qlyd5i24-bui(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/vtk-j3fcitgmitcvemiewb6nohnsalcc4ltw-build/a(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/vtk-j3fcitgmitcvemiewb6nohnsalcc4ltw-build/a(...TRUNCATED) |
"; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/vtk-ch6iaypevr75x7ucsesm2tjnqbpdt22s-build/a(...TRUNCATED) | "; ModuleID = '<stdin>'\nsource_filename = \"/local-ssd/vtk-ch6iaypevr75x7ucsesm2tjnqbpdt22s-build/a(...TRUNCATED) |
End of preview. Expand
in Dataset Viewer.
No dataset card yet
- Downloads last month
- 2