xref: /aosp_15_r20/external/llvm/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: opt -mergefunc -disable-output < %s
2*9880d681SAndroid Build Coastguard Worker; This used to crash.
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
5*9880d681SAndroid Build Coastguard Workertarget triple = "i386-pc-linux-gnu"
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_Ccode_option" = type { %"struct.kc::impl_abstract_phylum" }
8*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_CexpressionDQ" = type { %"struct.kc::impl_Ccode_option", %"struct.kc::impl_Ccode_option"*, %"struct.kc::impl_CexpressionDQ"* }
9*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_Ctext" = type { %"struct.kc::impl_Ccode_option", i32, %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_Ctext_elem"*, %"struct.kc::impl_Ctext"* }
10*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_Ctext_elem" = type { %"struct.kc::impl_abstract_phylum", i32, %"struct.kc::impl_casestring__Str"* }
11*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_ID" = type { %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_Ccode_option"*, %"struct.kc::impl_casestring__Str"*, i32, %"struct.kc::impl_casestring__Str"* }
12*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_abstract_phylum" = type { i32 (...)** }
13*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_ac_abstract_declarator_AcAbsdeclDirdecl" = type { %"struct.kc::impl_Ccode_option", %"struct.kc::impl_Ccode_option"*, %"struct.kc::impl_Ccode_option"* }
14*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_casestring__Str" = type { %"struct.kc::impl_abstract_phylum", i8* }
15*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_elem_patternrepresentation" = type { %"struct.kc::impl_abstract_phylum", i32, %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_ID"* }
16*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_fileline" = type { %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_casestring__Str"*, i32 }
17*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_fileline_FileLine" = type { %"struct.kc::impl_fileline" }
18*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_outmostpatterns" = type { %"struct.kc::impl_Ccode_option", %"struct.kc::impl_elem_patternrepresentation"*, %"struct.kc::impl_outmostpatterns"* }
19*9880d681SAndroid Build Coastguard Worker%"struct.kc::impl_withcaseinfo_Withcaseinfo" = type { %"struct.kc::impl_Ccode_option", %"struct.kc::impl_outmostpatterns"*, %"struct.kc::impl_outmostpatterns"*, %"struct.kc::impl_Ctext"* }
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard Worker@_ZTVN2kc13impl_filelineE = external constant [13 x i32 (...)*], align 32
22*9880d681SAndroid Build Coastguard Worker@.str = external constant [1 x i8], align 1
23*9880d681SAndroid Build Coastguard Worker@_ZTVN2kc22impl_fileline_FileLineE = external constant [13 x i32 (...)*], align 32
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc22impl_fileline_FileLineC2EPNS_20impl_casestring__StrEi(%"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_casestring__Str"* %_file, i32 %_line) align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
26*9880d681SAndroid Build Coastguard Workerentry:
27*9880d681SAndroid Build Coastguard Worker  %this_addr = alloca %"struct.kc::impl_fileline_FileLine"*, align 4
28*9880d681SAndroid Build Coastguard Worker  %_file_addr = alloca %"struct.kc::impl_casestring__Str"*, align 4
29*9880d681SAndroid Build Coastguard Worker  %_line_addr = alloca i32, align 4
30*9880d681SAndroid Build Coastguard Worker  %save_filt.150 = alloca i32
31*9880d681SAndroid Build Coastguard Worker  %save_eptr.149 = alloca i8*
32*9880d681SAndroid Build Coastguard Worker  %iftmp.99 = alloca %"struct.kc::impl_casestring__Str"*
33*9880d681SAndroid Build Coastguard Worker  %eh_exception = alloca i8*
34*9880d681SAndroid Build Coastguard Worker  %eh_selector = alloca i32
35*9880d681SAndroid Build Coastguard Worker  %"alloca point" = bitcast i32 0 to i32
36*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_fileline_FileLine"** %this_addr
37*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %_file, %"struct.kc::impl_casestring__Str"** %_file_addr
38*9880d681SAndroid Build Coastguard Worker  store i32 %_line, i32* %_line_addr
39*9880d681SAndroid Build Coastguard Worker  %0 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
40*9880d681SAndroid Build Coastguard Worker  %1 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %0, i32 0, i32 0
41*9880d681SAndroid Build Coastguard Worker  call void @_ZN2kc13impl_filelineC2Ev() nounwind
42*9880d681SAndroid Build Coastguard Worker  %2 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
43*9880d681SAndroid Build Coastguard Worker  %3 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %2, i32 0, i32 0
44*9880d681SAndroid Build Coastguard Worker  %4 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %3, i32 0, i32 0
45*9880d681SAndroid Build Coastguard Worker  %5 = getelementptr inbounds %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_abstract_phylum"* %4, i32 0, i32 0
46*9880d681SAndroid Build Coastguard Worker  store i32 (...)** getelementptr inbounds ([13 x i32 (...)*], [13 x i32 (...)*]* @_ZTVN2kc22impl_fileline_FileLineE, i32 0, i32 2), i32 (...)*** %5, align 4
47*9880d681SAndroid Build Coastguard Worker  %6 = load %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_casestring__Str"** %_file_addr, align 4
48*9880d681SAndroid Build Coastguard Worker  %7 = icmp eq %"struct.kc::impl_casestring__Str"* %6, null
49*9880d681SAndroid Build Coastguard Worker  br i1 %7, label %bb, label %bb1
50*9880d681SAndroid Build Coastguard Worker
51*9880d681SAndroid Build Coastguard Workerbb:                                               ; preds = %entry
52*9880d681SAndroid Build Coastguard Worker  %8 = invoke %"struct.kc::impl_casestring__Str"* @_ZN2kc12mkcasestringEPKci()
53*9880d681SAndroid Build Coastguard Worker          to label %invcont unwind label %lpad
54*9880d681SAndroid Build Coastguard Worker
55*9880d681SAndroid Build Coastguard Workerinvcont:                                          ; preds = %bb
56*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %8, %"struct.kc::impl_casestring__Str"** %iftmp.99, align 4
57*9880d681SAndroid Build Coastguard Worker  br label %bb2
58*9880d681SAndroid Build Coastguard Worker
59*9880d681SAndroid Build Coastguard Workerbb1:                                              ; preds = %entry
60*9880d681SAndroid Build Coastguard Worker  %9 = load %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_casestring__Str"** %_file_addr, align 4
61*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %9, %"struct.kc::impl_casestring__Str"** %iftmp.99, align 4
62*9880d681SAndroid Build Coastguard Worker  br label %bb2
63*9880d681SAndroid Build Coastguard Worker
64*9880d681SAndroid Build Coastguard Workerbb2:                                              ; preds = %bb1, %invcont
65*9880d681SAndroid Build Coastguard Worker  %10 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
66*9880d681SAndroid Build Coastguard Worker  %11 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %10, i32 0, i32 0
67*9880d681SAndroid Build Coastguard Worker  %12 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %11, i32 0, i32 1
68*9880d681SAndroid Build Coastguard Worker  %13 = load %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_casestring__Str"** %iftmp.99, align 4
69*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %13, %"struct.kc::impl_casestring__Str"** %12, align 4
70*9880d681SAndroid Build Coastguard Worker  %14 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
71*9880d681SAndroid Build Coastguard Worker  %15 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %14, i32 0, i32 0
72*9880d681SAndroid Build Coastguard Worker  %16 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %15, i32 0, i32 2
73*9880d681SAndroid Build Coastguard Worker  %17 = load i32, i32* %_line_addr, align 4
74*9880d681SAndroid Build Coastguard Worker  store i32 %17, i32* %16, align 4
75*9880d681SAndroid Build Coastguard Worker  ret void
76*9880d681SAndroid Build Coastguard Worker
77*9880d681SAndroid Build Coastguard Workerlpad:                                             ; preds = %bb
78*9880d681SAndroid Build Coastguard Worker  %eh_ptr = landingpad { i8*, i32 }
79*9880d681SAndroid Build Coastguard Worker              cleanup
80*9880d681SAndroid Build Coastguard Worker  %exn = extractvalue { i8*, i32 } %eh_ptr, 0
81*9880d681SAndroid Build Coastguard Worker  store i8* %exn, i8** %eh_exception
82*9880d681SAndroid Build Coastguard Worker  %eh_ptr4 = load i8*, i8** %eh_exception
83*9880d681SAndroid Build Coastguard Worker  %eh_select5 = extractvalue { i8*, i32 } %eh_ptr, 1
84*9880d681SAndroid Build Coastguard Worker  store i32 %eh_select5, i32* %eh_selector
85*9880d681SAndroid Build Coastguard Worker  %eh_select = load i32, i32* %eh_selector
86*9880d681SAndroid Build Coastguard Worker  store i32 %eh_select, i32* %save_filt.150, align 4
87*9880d681SAndroid Build Coastguard Worker  %eh_value = load i8*, i8** %eh_exception
88*9880d681SAndroid Build Coastguard Worker  store i8* %eh_value, i8** %save_eptr.149, align 4
89*9880d681SAndroid Build Coastguard Worker  %18 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
90*9880d681SAndroid Build Coastguard Worker  %19 = bitcast %"struct.kc::impl_fileline_FileLine"* %18 to %"struct.kc::impl_fileline"*
91*9880d681SAndroid Build Coastguard Worker  call void @_ZN2kc13impl_filelineD2Ev(%"struct.kc::impl_fileline"* %19) nounwind
92*9880d681SAndroid Build Coastguard Worker  %20 = load i8*, i8** %save_eptr.149, align 4
93*9880d681SAndroid Build Coastguard Worker  store i8* %20, i8** %eh_exception, align 4
94*9880d681SAndroid Build Coastguard Worker  %21 = load i32, i32* %save_filt.150, align 4
95*9880d681SAndroid Build Coastguard Worker  store i32 %21, i32* %eh_selector, align 4
96*9880d681SAndroid Build Coastguard Worker  %eh_ptr6 = load i8*, i8** %eh_exception
97*9880d681SAndroid Build Coastguard Worker  call void @_Unwind_Resume_or_Rethrow()
98*9880d681SAndroid Build Coastguard Worker  unreachable
99*9880d681SAndroid Build Coastguard Worker}
100*9880d681SAndroid Build Coastguard Worker
101*9880d681SAndroid Build Coastguard Workerdeclare void @_ZN2kc13impl_filelineC2Ev() nounwind align 2
102*9880d681SAndroid Build Coastguard Worker
103*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc13impl_filelineD1Ev(%"struct.kc::impl_fileline"* %this) nounwind align 2 {
104*9880d681SAndroid Build Coastguard Workerentry:
105*9880d681SAndroid Build Coastguard Worker  %this_addr = alloca %"struct.kc::impl_fileline"*, align 4
106*9880d681SAndroid Build Coastguard Worker  %"alloca point" = bitcast i32 0 to i32
107*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_fileline"* %this, %"struct.kc::impl_fileline"** %this_addr
108*9880d681SAndroid Build Coastguard Worker  %0 = load %"struct.kc::impl_fileline"*, %"struct.kc::impl_fileline"** %this_addr, align 4
109*9880d681SAndroid Build Coastguard Worker  %1 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %0, i32 0, i32 0
110*9880d681SAndroid Build Coastguard Worker  %2 = getelementptr inbounds %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_abstract_phylum"* %1, i32 0, i32 0
111*9880d681SAndroid Build Coastguard Worker  store i32 (...)** getelementptr inbounds ([13 x i32 (...)*], [13 x i32 (...)*]* @_ZTVN2kc13impl_filelineE, i32 0, i32 2), i32 (...)*** %2, align 4
112*9880d681SAndroid Build Coastguard Worker  %3 = trunc i32 0 to i8
113*9880d681SAndroid Build Coastguard Worker  %toBool = icmp ne i8 %3, 0
114*9880d681SAndroid Build Coastguard Worker  br i1 %toBool, label %bb1, label %return
115*9880d681SAndroid Build Coastguard Worker
116*9880d681SAndroid Build Coastguard Workerbb1:                                              ; preds = %entry
117*9880d681SAndroid Build Coastguard Worker  %4 = load %"struct.kc::impl_fileline"*, %"struct.kc::impl_fileline"** %this_addr, align 4
118*9880d681SAndroid Build Coastguard Worker  %5 = bitcast %"struct.kc::impl_fileline"* %4 to i8*
119*9880d681SAndroid Build Coastguard Worker  call void @_ZdlPv() nounwind
120*9880d681SAndroid Build Coastguard Worker  br label %return
121*9880d681SAndroid Build Coastguard Worker
122*9880d681SAndroid Build Coastguard Workerreturn:                                           ; preds = %bb1, %entry
123*9880d681SAndroid Build Coastguard Worker  ret void
124*9880d681SAndroid Build Coastguard Worker}
125*9880d681SAndroid Build Coastguard Worker
126*9880d681SAndroid Build Coastguard Workerdeclare void @_ZdlPv() nounwind
127*9880d681SAndroid Build Coastguard Worker
128*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc13impl_filelineD2Ev(%"struct.kc::impl_fileline"* %this) nounwind align 2 {
129*9880d681SAndroid Build Coastguard Workerentry:
130*9880d681SAndroid Build Coastguard Worker  %this_addr = alloca %"struct.kc::impl_fileline"*, align 4
131*9880d681SAndroid Build Coastguard Worker  %"alloca point" = bitcast i32 0 to i32
132*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_fileline"* %this, %"struct.kc::impl_fileline"** %this_addr
133*9880d681SAndroid Build Coastguard Worker  %0 = load %"struct.kc::impl_fileline"*, %"struct.kc::impl_fileline"** %this_addr, align 4
134*9880d681SAndroid Build Coastguard Worker  %1 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %0, i32 0, i32 0
135*9880d681SAndroid Build Coastguard Worker  %2 = getelementptr inbounds %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_abstract_phylum"* %1, i32 0, i32 0
136*9880d681SAndroid Build Coastguard Worker  store i32 (...)** getelementptr inbounds ([13 x i32 (...)*], [13 x i32 (...)*]* @_ZTVN2kc13impl_filelineE, i32 0, i32 2), i32 (...)*** %2, align 4
137*9880d681SAndroid Build Coastguard Worker  %3 = trunc i32 0 to i8
138*9880d681SAndroid Build Coastguard Worker  %toBool = icmp ne i8 %3, 0
139*9880d681SAndroid Build Coastguard Worker  br i1 %toBool, label %bb1, label %return
140*9880d681SAndroid Build Coastguard Worker
141*9880d681SAndroid Build Coastguard Workerbb1:                                              ; preds = %entry
142*9880d681SAndroid Build Coastguard Worker  %4 = load %"struct.kc::impl_fileline"*, %"struct.kc::impl_fileline"** %this_addr, align 4
143*9880d681SAndroid Build Coastguard Worker  %5 = bitcast %"struct.kc::impl_fileline"* %4 to i8*
144*9880d681SAndroid Build Coastguard Worker  call void @_ZdlPv() nounwind
145*9880d681SAndroid Build Coastguard Worker  br label %return
146*9880d681SAndroid Build Coastguard Worker
147*9880d681SAndroid Build Coastguard Workerreturn:                                           ; preds = %bb1, %entry
148*9880d681SAndroid Build Coastguard Worker  ret void
149*9880d681SAndroid Build Coastguard Worker}
150*9880d681SAndroid Build Coastguard Worker
151*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc22impl_fileline_FileLineC1EPNS_20impl_casestring__StrEi(%"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_casestring__Str"* %_file, i32 %_line) align 2 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
152*9880d681SAndroid Build Coastguard Workerentry:
153*9880d681SAndroid Build Coastguard Worker  %this_addr = alloca %"struct.kc::impl_fileline_FileLine"*, align 4
154*9880d681SAndroid Build Coastguard Worker  %_file_addr = alloca %"struct.kc::impl_casestring__Str"*, align 4
155*9880d681SAndroid Build Coastguard Worker  %_line_addr = alloca i32, align 4
156*9880d681SAndroid Build Coastguard Worker  %save_filt.148 = alloca i32
157*9880d681SAndroid Build Coastguard Worker  %save_eptr.147 = alloca i8*
158*9880d681SAndroid Build Coastguard Worker  %iftmp.99 = alloca %"struct.kc::impl_casestring__Str"*
159*9880d681SAndroid Build Coastguard Worker  %eh_exception = alloca i8*
160*9880d681SAndroid Build Coastguard Worker  %eh_selector = alloca i32
161*9880d681SAndroid Build Coastguard Worker  %"alloca point" = bitcast i32 0 to i32
162*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_fileline_FileLine"* %this, %"struct.kc::impl_fileline_FileLine"** %this_addr
163*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %_file, %"struct.kc::impl_casestring__Str"** %_file_addr
164*9880d681SAndroid Build Coastguard Worker  store i32 %_line, i32* %_line_addr
165*9880d681SAndroid Build Coastguard Worker  %0 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
166*9880d681SAndroid Build Coastguard Worker  %1 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %0, i32 0, i32 0
167*9880d681SAndroid Build Coastguard Worker  call void @_ZN2kc13impl_filelineC2Ev() nounwind
168*9880d681SAndroid Build Coastguard Worker  %2 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
169*9880d681SAndroid Build Coastguard Worker  %3 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %2, i32 0, i32 0
170*9880d681SAndroid Build Coastguard Worker  %4 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %3, i32 0, i32 0
171*9880d681SAndroid Build Coastguard Worker  %5 = getelementptr inbounds %"struct.kc::impl_abstract_phylum", %"struct.kc::impl_abstract_phylum"* %4, i32 0, i32 0
172*9880d681SAndroid Build Coastguard Worker  store i32 (...)** getelementptr inbounds ([13 x i32 (...)*], [13 x i32 (...)*]* @_ZTVN2kc22impl_fileline_FileLineE, i32 0, i32 2), i32 (...)*** %5, align 4
173*9880d681SAndroid Build Coastguard Worker  %6 = load %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_casestring__Str"** %_file_addr, align 4
174*9880d681SAndroid Build Coastguard Worker  %7 = icmp eq %"struct.kc::impl_casestring__Str"* %6, null
175*9880d681SAndroid Build Coastguard Worker  br i1 %7, label %bb, label %bb1
176*9880d681SAndroid Build Coastguard Worker
177*9880d681SAndroid Build Coastguard Workerbb:                                               ; preds = %entry
178*9880d681SAndroid Build Coastguard Worker  %8 = invoke %"struct.kc::impl_casestring__Str"* @_ZN2kc12mkcasestringEPKci()
179*9880d681SAndroid Build Coastguard Worker          to label %invcont unwind label %lpad
180*9880d681SAndroid Build Coastguard Worker
181*9880d681SAndroid Build Coastguard Workerinvcont:                                          ; preds = %bb
182*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %8, %"struct.kc::impl_casestring__Str"** %iftmp.99, align 4
183*9880d681SAndroid Build Coastguard Worker  br label %bb2
184*9880d681SAndroid Build Coastguard Worker
185*9880d681SAndroid Build Coastguard Workerbb1:                                              ; preds = %entry
186*9880d681SAndroid Build Coastguard Worker  %9 = load %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_casestring__Str"** %_file_addr, align 4
187*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %9, %"struct.kc::impl_casestring__Str"** %iftmp.99, align 4
188*9880d681SAndroid Build Coastguard Worker  br label %bb2
189*9880d681SAndroid Build Coastguard Worker
190*9880d681SAndroid Build Coastguard Workerbb2:                                              ; preds = %bb1, %invcont
191*9880d681SAndroid Build Coastguard Worker  %10 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
192*9880d681SAndroid Build Coastguard Worker  %11 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %10, i32 0, i32 0
193*9880d681SAndroid Build Coastguard Worker  %12 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %11, i32 0, i32 1
194*9880d681SAndroid Build Coastguard Worker  %13 = load %"struct.kc::impl_casestring__Str"*, %"struct.kc::impl_casestring__Str"** %iftmp.99, align 4
195*9880d681SAndroid Build Coastguard Worker  store %"struct.kc::impl_casestring__Str"* %13, %"struct.kc::impl_casestring__Str"** %12, align 4
196*9880d681SAndroid Build Coastguard Worker  %14 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
197*9880d681SAndroid Build Coastguard Worker  %15 = getelementptr inbounds %"struct.kc::impl_fileline_FileLine", %"struct.kc::impl_fileline_FileLine"* %14, i32 0, i32 0
198*9880d681SAndroid Build Coastguard Worker  %16 = getelementptr inbounds %"struct.kc::impl_fileline", %"struct.kc::impl_fileline"* %15, i32 0, i32 2
199*9880d681SAndroid Build Coastguard Worker  %17 = load i32, i32* %_line_addr, align 4
200*9880d681SAndroid Build Coastguard Worker  store i32 %17, i32* %16, align 4
201*9880d681SAndroid Build Coastguard Worker  ret void
202*9880d681SAndroid Build Coastguard Worker
203*9880d681SAndroid Build Coastguard Workerlpad:                                             ; preds = %bb
204*9880d681SAndroid Build Coastguard Worker  %eh_ptr = landingpad { i8*, i32 }
205*9880d681SAndroid Build Coastguard Worker              cleanup
206*9880d681SAndroid Build Coastguard Worker  %exn = extractvalue { i8*, i32 } %eh_ptr, 0
207*9880d681SAndroid Build Coastguard Worker  store i8* %exn, i8** %eh_exception
208*9880d681SAndroid Build Coastguard Worker  %eh_ptr4 = load i8*, i8** %eh_exception
209*9880d681SAndroid Build Coastguard Worker  %eh_select5 = extractvalue { i8*, i32 } %eh_ptr, 1
210*9880d681SAndroid Build Coastguard Worker  store i32 %eh_select5, i32* %eh_selector
211*9880d681SAndroid Build Coastguard Worker  %eh_select = load i32, i32* %eh_selector
212*9880d681SAndroid Build Coastguard Worker  store i32 %eh_select, i32* %save_filt.148, align 4
213*9880d681SAndroid Build Coastguard Worker  %eh_value = load i8*, i8** %eh_exception
214*9880d681SAndroid Build Coastguard Worker  store i8* %eh_value, i8** %save_eptr.147, align 4
215*9880d681SAndroid Build Coastguard Worker  %18 = load %"struct.kc::impl_fileline_FileLine"*, %"struct.kc::impl_fileline_FileLine"** %this_addr, align 4
216*9880d681SAndroid Build Coastguard Worker  %19 = bitcast %"struct.kc::impl_fileline_FileLine"* %18 to %"struct.kc::impl_fileline"*
217*9880d681SAndroid Build Coastguard Worker  call void @_ZN2kc13impl_filelineD2Ev(%"struct.kc::impl_fileline"* %19) nounwind
218*9880d681SAndroid Build Coastguard Worker  %20 = load i8*, i8** %save_eptr.147, align 4
219*9880d681SAndroid Build Coastguard Worker  store i8* %20, i8** %eh_exception, align 4
220*9880d681SAndroid Build Coastguard Worker  %21 = load i32, i32* %save_filt.148, align 4
221*9880d681SAndroid Build Coastguard Worker  store i32 %21, i32* %eh_selector, align 4
222*9880d681SAndroid Build Coastguard Worker  %eh_ptr6 = load i8*, i8** %eh_exception
223*9880d681SAndroid Build Coastguard Worker  call void @_Unwind_Resume_or_Rethrow()
224*9880d681SAndroid Build Coastguard Worker  unreachable
225*9880d681SAndroid Build Coastguard Worker}
226*9880d681SAndroid Build Coastguard Worker
227*9880d681SAndroid Build Coastguard Workerdeclare i32 @__gxx_personality_v0(...)
228*9880d681SAndroid Build Coastguard Worker
229*9880d681SAndroid Build Coastguard Workerdeclare void @_Unwind_Resume_or_Rethrow()
230*9880d681SAndroid Build Coastguard Worker
231*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc21printer_functor_classC2Ev(%"struct.kc::impl_abstract_phylum"* %this) nounwind align 2 {
232*9880d681SAndroid Build Coastguard Workerentry:
233*9880d681SAndroid Build Coastguard Worker  unreachable
234*9880d681SAndroid Build Coastguard Worker}
235*9880d681SAndroid Build Coastguard Worker
236*9880d681SAndroid Build Coastguard Workerdefine %"struct.kc::impl_Ccode_option"* @_ZN2kc11phylum_castIPNS_17impl_withcaseinfoES1_EET_PT0_(%"struct.kc::impl_Ccode_option"* %t) nounwind {
237*9880d681SAndroid Build Coastguard Workerentry:
238*9880d681SAndroid Build Coastguard Worker  ret %"struct.kc::impl_Ccode_option"* null
239*9880d681SAndroid Build Coastguard Worker}
240*9880d681SAndroid Build Coastguard Worker
241*9880d681SAndroid Build Coastguard Workerdefine %"struct.kc::impl_abstract_phylum"* @_ZNK2kc43impl_ac_direct_declarator_AcDirectDeclProto9subphylumEi(%"struct.kc::impl_ac_abstract_declarator_AcAbsdeclDirdecl"* %this, i32 %no) nounwind align 2 {
242*9880d681SAndroid Build Coastguard Workerentry:
243*9880d681SAndroid Build Coastguard Worker  ret %"struct.kc::impl_abstract_phylum"* undef
244*9880d681SAndroid Build Coastguard Worker}
245*9880d681SAndroid Build Coastguard Worker
246*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc30impl_withcaseinfo_WithcaseinfoD0Ev(%"struct.kc::impl_withcaseinfo_Withcaseinfo"* %this) nounwind align 2 {
247*9880d681SAndroid Build Coastguard Workerentry:
248*9880d681SAndroid Build Coastguard Worker  unreachable
249*9880d681SAndroid Build Coastguard Worker}
250*9880d681SAndroid Build Coastguard Worker
251*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc30impl_withcaseinfo_WithcaseinfoC1EPNS_26impl_patternrepresentationES2_PNS_10impl_CtextE(%"struct.kc::impl_withcaseinfo_Withcaseinfo"* %this, %"struct.kc::impl_outmostpatterns"* %_patternrepresentation_1, %"struct.kc::impl_outmostpatterns"* %_patternrepresentation_2, %"struct.kc::impl_Ctext"* %_Ctext_1) nounwind align 2 {
252*9880d681SAndroid Build Coastguard Workerentry:
253*9880d681SAndroid Build Coastguard Worker  unreachable
254*9880d681SAndroid Build Coastguard Worker}
255*9880d681SAndroid Build Coastguard Worker
256*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc21impl_rewriteviewsinfoC2EPNS_20impl_rewriteviewinfoEPS0_(%"struct.kc::impl_CexpressionDQ"* %this, %"struct.kc::impl_Ccode_option"* %p1, %"struct.kc::impl_CexpressionDQ"* %p2) nounwind align 2 {
257*9880d681SAndroid Build Coastguard Workerentry:
258*9880d681SAndroid Build Coastguard Worker  unreachable
259*9880d681SAndroid Build Coastguard Worker}
260*9880d681SAndroid Build Coastguard Worker
261*9880d681SAndroid Build Coastguard Workerdefine %"struct.kc::impl_Ctext_elem"* @_ZN2kc11phylum_castIPNS_9impl_termENS_20impl_abstract_phylumEEET_PT0_(%"struct.kc::impl_abstract_phylum"* %t) nounwind {
262*9880d681SAndroid Build Coastguard Workerentry:
263*9880d681SAndroid Build Coastguard Worker  unreachable
264*9880d681SAndroid Build Coastguard Worker}
265*9880d681SAndroid Build Coastguard Worker
266*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc27impl_ac_parameter_type_listD2Ev(%"struct.kc::impl_Ccode_option"* %this) nounwind align 2 {
267*9880d681SAndroid Build Coastguard Workerentry:
268*9880d681SAndroid Build Coastguard Worker  ret void
269*9880d681SAndroid Build Coastguard Worker}
270*9880d681SAndroid Build Coastguard Worker
271*9880d681SAndroid Build Coastguard Workerdefine void @_ZN2kc21impl_ac_operator_nameD2Ev(%"struct.kc::impl_Ctext_elem"* %this) nounwind align 2 {
272*9880d681SAndroid Build Coastguard Workerentry:
273*9880d681SAndroid Build Coastguard Worker  ret void
274*9880d681SAndroid Build Coastguard Worker}
275*9880d681SAndroid Build Coastguard Worker
276*9880d681SAndroid Build Coastguard Workerdeclare %"struct.kc::impl_casestring__Str"* @_ZN2kc12mkcasestringEPKci()
277