• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; DISABLED: llc -mtriple=thumbv6-apple-darwin < %s
2; RUN: false
3; rdar://problem/9416774
4; ModuleID = 'reduced.ll'
5
6; byval is currently unsupported.
7; XFAIL: *
8
9target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32"
10target triple = "thumbv7-apple-ios"
11
12%struct.MMMMMMMMMMMM = type { [4 x %struct.RRRRRRRR] }
13%struct.RRRRRRRR = type { [78 x i32] }
14
15@kkkkkk = external constant i8*
16@__PRETTY_FUNCTION__._ZN12CLGll = private unnamed_addr constant [62 x i8] c"static void tttttttttttt::lllllllllllll(const MMMMMMMMMMMM &)\00"
17@.str = private unnamed_addr constant [75 x i8] c"\09GGGGGGGGGGGGGGGGGGGGGGG:,BE:0x%08lx,ALM:0x%08lx,LTO:0x%08lx,CBEE:0x%08lx\0A\00"
18
19define void @_ZN12CLGll(%struct.MMMMMMMMMMMM* %aidData) ssp align 2 {
20entry:
21  %aidData.addr = alloca %struct.MMMMMMMMMMMM*, align 4
22  %agg.tmp = alloca %struct.RRRRRRRR, align 4
23  %agg.tmp4 = alloca %struct.RRRRRRRR, align 4
24  %agg.tmp10 = alloca %struct.RRRRRRRR, align 4
25  %agg.tmp16 = alloca %struct.RRRRRRRR, align 4
26  store %struct.MMMMMMMMMMMM* %aidData, %struct.MMMMMMMMMMMM** %aidData.addr, align 4
27  br label %do.body
28
29do.body:                                          ; preds = %entry
30  %tmp = load i8** @kkkkkk, align 4
31  %tmp1 = load %struct.MMMMMMMMMMMM** %aidData.addr
32  %eph = getelementptr inbounds %struct.MMMMMMMMMMMM* %tmp1, i32 0, i32 0
33  %arrayidx = getelementptr inbounds [4 x %struct.RRRRRRRR]* %eph, i32 0, i32 0
34  %tmp2 = bitcast %struct.RRRRRRRR* %agg.tmp to i8*
35  %tmp3 = bitcast %struct.RRRRRRRR* %arrayidx to i8*
36  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %tmp2, i8* %tmp3, i32 312, i32 4, i1 false)
37  %tmp5 = load %struct.MMMMMMMMMMMM** %aidData.addr
38  %eph6 = getelementptr inbounds %struct.MMMMMMMMMMMM* %tmp5, i32 0, i32 0
39  %arrayidx7 = getelementptr inbounds [4 x %struct.RRRRRRRR]* %eph6, i32 0, i32 1
40  %tmp8 = bitcast %struct.RRRRRRRR* %agg.tmp4 to i8*
41  %tmp9 = bitcast %struct.RRRRRRRR* %arrayidx7 to i8*
42  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %tmp8, i8* %tmp9, i32 312, i32 4, i1 false)
43  %tmp11 = load %struct.MMMMMMMMMMMM** %aidData.addr
44  %eph12 = getelementptr inbounds %struct.MMMMMMMMMMMM* %tmp11, i32 0, i32 0
45  %arrayidx13 = getelementptr inbounds [4 x %struct.RRRRRRRR]* %eph12, i32 0, i32 2
46  %tmp14 = bitcast %struct.RRRRRRRR* %agg.tmp10 to i8*
47  %tmp15 = bitcast %struct.RRRRRRRR* %arrayidx13 to i8*
48  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %tmp14, i8* %tmp15, i32 312, i32 4, i1 false)
49  %tmp17 = load %struct.MMMMMMMMMMMM** %aidData.addr
50  %eph18 = getelementptr inbounds %struct.MMMMMMMMMMMM* %tmp17, i32 0, i32 0
51  %arrayidx19 = getelementptr inbounds [4 x %struct.RRRRRRRR]* %eph18, i32 0, i32 3
52  %tmp20 = bitcast %struct.RRRRRRRR* %agg.tmp16 to i8*
53  %tmp21 = bitcast %struct.RRRRRRRR* %arrayidx19 to i8*
54  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %tmp20, i8* %tmp21, i32 312, i32 4, i1 false)
55  call void (i8*, i32, i8*, i8*, ...)* @CLLoggingLog(i8* %tmp, i32 2, i8* getelementptr inbounds ([62 x i8]* @__PRETTY_FUNCTION__._ZN12CLGll, i32 0, i32 0), i8* getelementptr inbounds ([75 x i8]* @.str, i32 0, i32 0), %struct.RRRRRRRR* byval %agg.tmp, %struct.RRRRRRRR* byval %agg.tmp4, %struct.RRRRRRRR* byval %agg.tmp10, %struct.RRRRRRRR* byval %agg.tmp16)
56  br label %do.end
57
58do.end:                                           ; preds = %do.body
59  ret void
60}
61
62declare void @CLLoggingLog(i8*, i32, i8*, i8*, ...)
63
64declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind
65