brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 2ff19c7 Raw
47 lines · plain
1; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -relocation-model=pic -frame-pointer=all -mcpu=cortex-a82 3; rdar://91176134 5%struct.mo = type { i32, ptr }6%struct.mo_pops = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }7%struct.ui = type { ptr, ptr, i32, ptr, ptr, i64, ptr, ptr, ptr }8 9 10define internal fastcc i32 @t(ptr %vp, i32 %withfsize, i64 %filesize) nounwind {11entry:12  br i1 undef, label %bb1, label %bb13 14bb:                                               ; preds = %entry15  unreachable16 17bb1:                                              ; preds = %entry18  %0 = call ptr @vn_pp_to_ui(ptr undef) nounwind19  call void @llvm.memset.p0.i32(ptr align 4 undef, i8 0, i32 40, i1 false)20  store ptr undef, ptr %0, align 421  %1 = getelementptr inbounds %struct.ui, ptr %0, i32 0, i32 522  %2 = load i64, ptr %1, align 423  %3 = call i32 @mo_create_nnm(ptr undef, i64 %2, ptr undef) nounwind24  br i1 undef, label %bb3, label %bb225 26bb2:                                              ; preds = %bb127  unreachable28 29bb3:                                              ; preds = %bb130  br i1 undef, label %bb4, label %bb631 32bb4:                                              ; preds = %bb333  %4 = call i32 @vn_size(ptr %vp, ptr %1, ptr undef) nounwind34  unreachable35 36bb6:                                              ; preds = %bb337  ret i32 038}39 40declare ptr @vn_pp_to_ui(ptr)41 42declare void @llvm.memset.p0.i32(ptr nocapture, i8, i32, i1) nounwind43 44declare i32 @mo_create_nnm(ptr, i64, ptr)45 46declare i32 @vn_size(ptr, ptr, ptr)47