1 ; RUN: opt < %s -simplifycfg -disable-output
3 %struct..4._102 = type { %struct.QVectorData* }
4 %struct..5._125 = type { %struct.QMapData* }
5 %struct.QAbstractTextDocumentLayout = type { %struct.QObject }
6 %struct.QBasicAtomic = type { i32 }
7 %struct.QFont = type { %struct.QFontPrivate*, i32 }
8 %struct.QFontMetrics = type { %struct.QFontPrivate* }
9 %struct.QFontPrivate = type opaque
10 %"struct.QFragmentMap<QTextBlockData>" = type { %struct.QFragmentMapData }
11 %struct.QFragmentMapData = type { %"struct.QFragmentMapData::._154", i32 }
12 %"struct.QFragmentMapData::._154" = type { %"struct.QFragmentMapData::Header"* }
13 %"struct.QFragmentMapData::Header" = type { i32, i32, i32, i32, i32, i32, i32, i32 }
14 %"struct.QHash<uint,QHashDummyValue>" = type { %"struct.QHash<uint,QHashDummyValue>::._152" }
15 %"struct.QHash<uint,QHashDummyValue>::._152" = type { %struct.QHashData* }
16 %struct.QHashData = type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.QBasicAtomic, i32, i32, i16, i16, i32, i8 }
17 %"struct.QHashData::Node" = type { %"struct.QHashData::Node"*, i32 }
18 %"struct.QList<QObject*>::._92" = type { %struct.QListData }
19 %"struct.QList<QPointer<QObject> >" = type { %"struct.QList<QObject*>::._92" }
20 %struct.QListData = type { %"struct.QListData::Data"* }
21 %"struct.QListData::Data" = type { %struct.QBasicAtomic, i32, i32, i32, i8, [1 x i8*] }
22 %"struct.QMap<QUrl,QVariant>" = type { %struct..5._125 }
23 %struct.QMapData = type { %"struct.QMapData::Node"*, [12 x %"struct.QMapData::Node"*], %struct.QBasicAtomic, i32, i32, i32, i8 }
24 %"struct.QMapData::Node" = type { %"struct.QMapData::Node"*, [1 x %"struct.QMapData::Node"*] }
25 %struct.QObject = type { i32 (...)**, %struct.QObjectData* }
26 %struct.QObjectData = type { i32 (...)**, %struct.QObject*, %struct.QObject*, %"struct.QList<QPointer<QObject> >", i8, [3 x i8], i32, i32 }
27 %struct.QObjectPrivate = type { %struct.QObjectData, i32, %struct.QObject*, %"struct.QList<QPointer<QObject> >", %"struct.QVector<QAbstractTextDocumentLayout::Selection>", %struct.QString }
28 %struct.QPaintDevice = type { i32 (...)**, i16 }
29 %struct.QPainter = type { %struct.QPainterPrivate* }
30 %struct.QPainterPrivate = type opaque
31 %struct.QPointF = type { double, double }
32 %struct.QPrinter = type { %struct.QPaintDevice, %struct.QPrinterPrivate* }
33 %struct.QPrinterPrivate = type opaque
34 %struct.QRectF = type { double, double, double, double }
35 %"struct.QSet<uint>" = type { %"struct.QHash<uint,QHashDummyValue>" }
36 %"struct.QSharedDataPointer<QTextFormatPrivate>" = type { %struct.QTextFormatPrivate* }
37 %struct.QString = type { %"struct.QString::Data"* }
38 %"struct.QString::Data" = type { %struct.QBasicAtomic, i32, i32, i16*, i8, i8, [1 x i16] }
39 %struct.QTextBlockFormat = type { %struct.QTextFormat }
40 %struct.QTextBlockGroup = type { %struct.QAbstractTextDocumentLayout }
41 %struct.QTextDocumentConfig = type { %struct.QString }
42 %struct.QTextDocumentPrivate = type { %struct.QObjectPrivate, %struct.QString, %"struct.QVector<QAbstractTextDocumentLayout::Selection>", i1, i32, i32, i1, i32, i32, i32, i32, i1, %struct.QTextFormatCollection, %struct.QTextBlockGroup*, %struct.QAbstractTextDocumentLayout*, %"struct.QFragmentMap<QTextBlockData>", %"struct.QFragmentMap<QTextBlockData>", i32, %"struct.QList<QPointer<QObject> >", %"struct.QList<QPointer<QObject> >", %"struct.QMap<QUrl,QVariant>", %"struct.QMap<QUrl,QVariant>", %"struct.QMap<QUrl,QVariant>", %struct.QTextDocumentConfig, i1, i1, %struct.QPointF }
43 %struct.QTextFormat = type { %"struct.QSharedDataPointer<QTextFormatPrivate>", i32 }
44 %struct.QTextFormatCollection = type { %"struct.QVector<QAbstractTextDocumentLayout::Selection>", %"struct.QVector<QAbstractTextDocumentLayout::Selection>", %"struct.QSet<uint>", %struct.QFont }
45 %struct.QTextFormatPrivate = type opaque
46 %"struct.QVector<QAbstractTextDocumentLayout::Selection>" = type { %struct..4._102 }
47 %struct.QVectorData = type { %struct.QBasicAtomic, i32, i32, i8 }
49 define void @_ZNK13QTextDocument5printEP8QPrinter(%struct.QAbstractTextDocumentLayout* %this, %struct.QPrinter* %printer) {
51 %tmp = alloca %struct.QPointF, align 16 ; <%struct.QPointF*> [#uses=2]
52 %tmp.upgrd.1 = alloca %struct.QRectF, align 16 ; <%struct.QRectF*> [#uses=5]
53 %tmp2 = alloca %struct.QPointF, align 16 ; <%struct.QPointF*> [#uses=3]
54 %tmp.upgrd.2 = alloca %struct.QFontMetrics, align 16 ; <%struct.QFontMetrics*> [#uses=4]
55 %tmp.upgrd.3 = alloca %struct.QFont, align 16 ; <%struct.QFont*> [#uses=4]
56 %tmp3 = alloca %struct.QPointF, align 16 ; <%struct.QPointF*> [#uses=2]
57 %p = alloca %struct.QPainter, align 16 ; <%struct.QPainter*> [#uses=14]
58 %body = alloca %struct.QRectF, align 16 ; <%struct.QRectF*> [#uses=9]
59 %pageNumberPos = alloca %struct.QPointF, align 16 ; <%struct.QPointF*> [#uses=4]
60 %scaledPageSize = alloca %struct.QPointF, align 16 ; <%struct.QPointF*> [#uses=6]
61 %printerPageSize = alloca %struct.QPointF, align 16 ; <%struct.QPointF*> [#uses=3]
62 %fmt = alloca %struct.QTextBlockFormat, align 16 ; <%struct.QTextBlockFormat*> [#uses=5]
63 %font = alloca %struct.QFont, align 16 ; <%struct.QFont*> [#uses=5]
64 %tmp.upgrd.4 = call %struct.QTextDocumentPrivate* @_ZNK13QTextDocument6d_funcEv( %struct.QAbstractTextDocumentLayout* %this ) ; <%struct.QTextDocumentPrivate*> [#uses=5]
65 %tmp.upgrd.5 = getelementptr %struct.QPrinter* %printer, i32 0, i32 0 ; <%struct.QPaintDevice*> [#uses=1]
66 call void @_ZN8QPainterC1EP12QPaintDevice( %struct.QPainter* %p, %struct.QPaintDevice* %tmp.upgrd.5 )
67 %tmp.upgrd.6 = invoke i1 @_ZNK8QPainter8isActiveEv( %struct.QPainter* %p )
68 to label %invcont unwind label %cleanup329 ; <i1> [#uses=1]
69 invcont: ; preds = %entry
70 br i1 %tmp.upgrd.6, label %cond_next, label %cleanup328
71 cond_next: ; preds = %invcont
72 %tmp8 = invoke %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument14documentLayoutEv( %struct.QAbstractTextDocumentLayout* %this )
73 to label %invcont7 unwind label %cleanup329 ; <%struct.QAbstractTextDocumentLayout*> [#uses=0]
74 invcont7: ; preds = %cond_next
75 %tmp10 = getelementptr %struct.QTextDocumentPrivate* %tmp.upgrd.4, i32 0, i32 26 ; <%struct.QPointF*> [#uses=1]
76 call void @_ZN7QPointFC1Edd( %struct.QPointF* %tmp, double 0.000000e+00, double 0.000000e+00 )
77 call void @_ZN6QRectFC1ERK7QPointFRK6QSizeF( %struct.QRectF* %body, %struct.QPointF* %tmp, %struct.QPointF* %tmp10 )
78 call void @_ZN7QPointFC1Ev( %struct.QPointF* %pageNumberPos )
79 %tmp12 = getelementptr %struct.QTextDocumentPrivate* %tmp.upgrd.4, i32 0, i32 26 ; <%struct.QPointF*> [#uses=1]
80 %tmp13 = call i1 @_ZNK6QSizeF7isValidEv( %struct.QPointF* %tmp12 ) ; <i1> [#uses=1]
81 br i1 %tmp13, label %cond_next15, label %bb
82 cond_next15: ; preds = %invcont7
83 %tmp17 = getelementptr %struct.QTextDocumentPrivate* %tmp.upgrd.4, i32 0, i32 26 ; <%struct.QPointF*> [#uses=1]
84 %tmp.upgrd.7 = call double @_ZNK6QSizeF6heightEv( %struct.QPointF* %tmp17 ) ; <double> [#uses=1]
85 %tmp18 = fcmp oeq double %tmp.upgrd.7, 0x41DFFFFFFFC00000 ; <i1> [#uses=1]
86 br i1 %tmp18, label %bb, label %cond_next20
87 cond_next20: ; preds = %cond_next15
89 bb: ; preds = %cond_next15, %invcont7
91 bb21: ; preds = %bb, %cond_next20
92 %iftmp.406.0 = phi i1 [ false, %bb ], [ true, %cond_next20 ] ; <i1> [#uses=1]
93 br i1 %iftmp.406.0, label %cond_true24, label %cond_false
94 cond_true24: ; preds = %bb21
95 %tmp.upgrd.8 = invoke i32 @_Z13qt_defaultDpiv( )
96 to label %invcont25 unwind label %cleanup329 ; <i32> [#uses=1]
97 invcont25: ; preds = %cond_true24
98 %tmp26 = sitofp i32 %tmp.upgrd.8 to double ; <double> [#uses=2]
99 %tmp30 = invoke %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument14documentLayoutEv( %struct.QAbstractTextDocumentLayout* %this )
100 to label %invcont29 unwind label %cleanup329 ; <%struct.QAbstractTextDocumentLayout*> [#uses=1]
101 invcont29: ; preds = %invcont25
102 %tmp32 = invoke %struct.QPaintDevice* @_ZNK27QAbstractTextDocumentLayout11paintDeviceEv( %struct.QAbstractTextDocumentLayout* %tmp30 )
103 to label %invcont31 unwind label %cleanup329 ; <%struct.QPaintDevice*> [#uses=3]
104 invcont31: ; preds = %invcont29
105 %tmp34 = icmp eq %struct.QPaintDevice* %tmp32, null ; <i1> [#uses=1]
106 br i1 %tmp34, label %cond_next42, label %cond_true35
107 cond_true35: ; preds = %invcont31
108 %tmp38 = invoke i32 @_ZNK12QPaintDevice11logicalDpiXEv( %struct.QPaintDevice* %tmp32 )
109 to label %invcont37 unwind label %cleanup329 ; <i32> [#uses=1]
110 invcont37: ; preds = %cond_true35
111 %tmp38.upgrd.9 = sitofp i32 %tmp38 to double ; <double> [#uses=1]
112 %tmp41 = invoke i32 @_ZNK12QPaintDevice11logicalDpiYEv( %struct.QPaintDevice* %tmp32 )
113 to label %invcont40 unwind label %cleanup329 ; <i32> [#uses=1]
114 invcont40: ; preds = %invcont37
115 %tmp41.upgrd.10 = sitofp i32 %tmp41 to double ; <double> [#uses=1]
116 br label %cond_next42
117 cond_next42: ; preds = %invcont40, %invcont31
118 %sourceDpiY.2 = phi double [ %tmp41.upgrd.10, %invcont40 ], [ %tmp26, %invcont31 ] ; <double> [#uses=1]
119 %sourceDpiX.2 = phi double [ %tmp38.upgrd.9, %invcont40 ], [ %tmp26, %invcont31 ] ; <double> [#uses=1]
120 %tmp44 = getelementptr %struct.QPrinter* %printer, i32 0, i32 0 ; <%struct.QPaintDevice*> [#uses=1]
121 %tmp46 = invoke i32 @_ZNK12QPaintDevice11logicalDpiXEv( %struct.QPaintDevice* %tmp44 )
122 to label %invcont45 unwind label %cleanup329 ; <i32> [#uses=1]
123 invcont45: ; preds = %cond_next42
124 %tmp46.upgrd.11 = sitofp i32 %tmp46 to double ; <double> [#uses=1]
125 %tmp48 = fdiv double %tmp46.upgrd.11, %sourceDpiX.2 ; <double> [#uses=2]
126 %tmp50 = getelementptr %struct.QPrinter* %printer, i32 0, i32 0 ; <%struct.QPaintDevice*> [#uses=1]
127 %tmp52 = invoke i32 @_ZNK12QPaintDevice11logicalDpiYEv( %struct.QPaintDevice* %tmp50 )
128 to label %invcont51 unwind label %cleanup329 ; <i32> [#uses=1]
129 invcont51: ; preds = %invcont45
130 %tmp52.upgrd.12 = sitofp i32 %tmp52 to double ; <double> [#uses=1]
131 %tmp54 = fdiv double %tmp52.upgrd.12, %sourceDpiY.2 ; <double> [#uses=2]
132 invoke void @_ZN8QPainter5scaleEdd( %struct.QPainter* %p, double %tmp48, double %tmp54 )
133 to label %invcont57 unwind label %cleanup329
134 invcont57: ; preds = %invcont51
135 %tmp.upgrd.13 = getelementptr %struct.QPointF* %scaledPageSize, i32 0, i32 0 ; <double*> [#uses=1]
136 %tmp60 = getelementptr %struct.QTextDocumentPrivate* %tmp.upgrd.4, i32 0, i32 26, i32 0 ; <double*> [#uses=1]
137 %tmp61 = load double* %tmp60 ; <double> [#uses=1]
138 store double %tmp61, double* %tmp.upgrd.13
139 %tmp62 = getelementptr %struct.QPointF* %scaledPageSize, i32 0, i32 1 ; <double*> [#uses=1]
140 %tmp63 = getelementptr %struct.QTextDocumentPrivate* %tmp.upgrd.4, i32 0, i32 26, i32 1 ; <double*> [#uses=1]
141 %tmp64 = load double* %tmp63 ; <double> [#uses=1]
142 store double %tmp64, double* %tmp62
143 %tmp65 = call double* @_ZN6QSizeF6rwidthEv( %struct.QPointF* %scaledPageSize ) ; <double*> [#uses=2]
144 %tmp67 = load double* %tmp65 ; <double> [#uses=1]
145 %tmp69 = fmul double %tmp67, %tmp48 ; <double> [#uses=1]
146 store double %tmp69, double* %tmp65
147 %tmp71 = call double* @_ZN6QSizeF7rheightEv( %struct.QPointF* %scaledPageSize ) ; <double*> [#uses=2]
148 %tmp73 = load double* %tmp71 ; <double> [#uses=1]
149 %tmp75 = fmul double %tmp73, %tmp54 ; <double> [#uses=1]
150 store double %tmp75, double* %tmp71
151 %tmp78 = getelementptr %struct.QPrinter* %printer, i32 0, i32 0 ; <%struct.QPaintDevice*> [#uses=1]
152 %tmp80 = invoke i32 @_ZNK12QPaintDevice6heightEv( %struct.QPaintDevice* %tmp78 )
153 to label %invcont79 unwind label %cleanup329 ; <i32> [#uses=1]
154 invcont79: ; preds = %invcont57
155 %tmp82 = getelementptr %struct.QPrinter* %printer, i32 0, i32 0 ; <%struct.QPaintDevice*> [#uses=1]
156 %tmp84 = invoke i32 @_ZNK12QPaintDevice5widthEv( %struct.QPaintDevice* %tmp82 )
157 to label %invcont83 unwind label %cleanup329 ; <i32> [#uses=1]
158 invcont83: ; preds = %invcont79
159 %tmp80.upgrd.14 = sitofp i32 %tmp80 to double ; <double> [#uses=1]
160 %tmp84.upgrd.15 = sitofp i32 %tmp84 to double ; <double> [#uses=1]
161 call void @_ZN6QSizeFC1Edd( %struct.QPointF* %printerPageSize, double %tmp84.upgrd.15, double %tmp80.upgrd.14 )
162 %tmp85 = call double @_ZNK6QSizeF6heightEv( %struct.QPointF* %printerPageSize ) ; <double> [#uses=1]
163 %tmp86 = call double @_ZNK6QSizeF6heightEv( %struct.QPointF* %scaledPageSize ) ; <double> [#uses=1]
164 %tmp87 = fdiv double %tmp85, %tmp86 ; <double> [#uses=1]
165 %tmp88 = call double @_ZNK6QSizeF5widthEv( %struct.QPointF* %printerPageSize ) ; <double> [#uses=1]
166 %tmp89 = call double @_ZNK6QSizeF5widthEv( %struct.QPointF* %scaledPageSize ) ; <double> [#uses=1]
167 %tmp90 = fdiv double %tmp88, %tmp89 ; <double> [#uses=1]
168 invoke void @_ZN8QPainter5scaleEdd( %struct.QPainter* %p, double %tmp90, double %tmp87 )
169 to label %cond_next194 unwind label %cleanup329
170 cond_false: ; preds = %bb21
171 %tmp.upgrd.16 = getelementptr %struct.QAbstractTextDocumentLayout* %this, i32 0, i32 0 ; <%struct.QObject*> [#uses=1]
172 %tmp95 = invoke %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument5cloneEP7QObject( %struct.QAbstractTextDocumentLayout* %this, %struct.QObject* %tmp.upgrd.16 )
173 to label %invcont94 unwind label %cleanup329 ; <%struct.QAbstractTextDocumentLayout*> [#uses=9]
174 invcont94: ; preds = %cond_false
175 %tmp99 = invoke %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument14documentLayoutEv( %struct.QAbstractTextDocumentLayout* %tmp95 )
176 to label %invcont98 unwind label %cleanup329 ; <%struct.QAbstractTextDocumentLayout*> [#uses=1]
177 invcont98: ; preds = %invcont94
178 %tmp101 = invoke %struct.QPaintDevice* @_ZNK8QPainter6deviceEv( %struct.QPainter* %p )
179 to label %invcont100 unwind label %cleanup329 ; <%struct.QPaintDevice*> [#uses=1]
180 invcont100: ; preds = %invcont98
181 invoke void @_ZN27QAbstractTextDocumentLayout14setPaintDeviceEP12QPaintDevice( %struct.QAbstractTextDocumentLayout* %tmp99, %struct.QPaintDevice* %tmp101 )
182 to label %invcont103 unwind label %cleanup329
183 invcont103: ; preds = %invcont100
184 %tmp105 = invoke %struct.QPaintDevice* @_ZNK8QPainter6deviceEv( %struct.QPainter* %p )
185 to label %invcont104 unwind label %cleanup329 ; <%struct.QPaintDevice*> [#uses=1]
186 invcont104: ; preds = %invcont103
187 %tmp107 = invoke i32 @_ZNK12QPaintDevice11logicalDpiYEv( %struct.QPaintDevice* %tmp105 )
188 to label %invcont106 unwind label %cleanup329 ; <i32> [#uses=1]
189 invcont106: ; preds = %invcont104
190 %tmp108 = sitofp i32 %tmp107 to double ; <double> [#uses=1]
191 %tmp109 = fmul double %tmp108, 0x3FE93264C993264C ; <double> [#uses=1]
192 %tmp109.upgrd.17 = fptosi double %tmp109 to i32 ; <i32> [#uses=3]
193 %tmp.upgrd.18 = call %struct.QTextBlockGroup* @_ZNK13QTextDocument9rootFrameEv( %struct.QAbstractTextDocumentLayout* %tmp95 ) ; <%struct.QTextBlockGroup*> [#uses=1]
194 invoke void @_ZNK10QTextFrame11frameFormatEv( %struct.QTextBlockFormat* sret %fmt, %struct.QTextBlockGroup* %tmp.upgrd.18 )
195 to label %invcont111 unwind label %cleanup329
196 invcont111: ; preds = %invcont106
197 %tmp112 = sitofp i32 %tmp109.upgrd.17 to double ; <double> [#uses=1]
198 invoke void @_ZN16QTextFrameFormat9setMarginEd( %struct.QTextBlockFormat* %fmt, double %tmp112 )
199 to label %invcont114 unwind label %cleanup192
200 invcont114: ; preds = %invcont111
201 %tmp116 = call %struct.QTextBlockGroup* @_ZNK13QTextDocument9rootFrameEv( %struct.QAbstractTextDocumentLayout* %tmp95 ) ; <%struct.QTextBlockGroup*> [#uses=1]
202 invoke void @_ZN10QTextFrame14setFrameFormatERK16QTextFrameFormat( %struct.QTextBlockGroup* %tmp116, %struct.QTextBlockFormat* %fmt )
203 to label %invcont117 unwind label %cleanup192
204 invcont117: ; preds = %invcont114
205 %tmp119 = invoke %struct.QPaintDevice* @_ZNK8QPainter6deviceEv( %struct.QPainter* %p )
206 to label %invcont118 unwind label %cleanup192 ; <%struct.QPaintDevice*> [#uses=1]
207 invcont118: ; preds = %invcont117
208 %tmp121 = invoke i32 @_ZNK12QPaintDevice6heightEv( %struct.QPaintDevice* %tmp119 )
209 to label %invcont120 unwind label %cleanup192 ; <i32> [#uses=1]
210 invcont120: ; preds = %invcont118
211 %tmp121.upgrd.19 = sitofp i32 %tmp121 to double ; <double> [#uses=1]
212 %tmp123 = invoke %struct.QPaintDevice* @_ZNK8QPainter6deviceEv( %struct.QPainter* %p )
213 to label %invcont122 unwind label %cleanup192 ; <%struct.QPaintDevice*> [#uses=1]
214 invcont122: ; preds = %invcont120
215 %tmp125 = invoke i32 @_ZNK12QPaintDevice5widthEv( %struct.QPaintDevice* %tmp123 )
216 to label %invcont124 unwind label %cleanup192 ; <i32> [#uses=1]
217 invcont124: ; preds = %invcont122
218 %tmp125.upgrd.20 = sitofp i32 %tmp125 to double ; <double> [#uses=1]
219 call void @_ZN6QRectFC1Edddd( %struct.QRectF* %tmp.upgrd.1, double 0.000000e+00, double 0.000000e+00, double %tmp125.upgrd.20, double %tmp121.upgrd.19 )
220 %tmp126 = getelementptr %struct.QRectF* %body, i32 0, i32 0 ; <double*> [#uses=1]
221 %tmp127 = getelementptr %struct.QRectF* %tmp.upgrd.1, i32 0, i32 0 ; <double*> [#uses=1]
222 %tmp128 = load double* %tmp127 ; <double> [#uses=1]
223 store double %tmp128, double* %tmp126
224 %tmp129 = getelementptr %struct.QRectF* %body, i32 0, i32 1 ; <double*> [#uses=1]
225 %tmp130 = getelementptr %struct.QRectF* %tmp.upgrd.1, i32 0, i32 1 ; <double*> [#uses=1]
226 %tmp131 = load double* %tmp130 ; <double> [#uses=1]
227 store double %tmp131, double* %tmp129
228 %tmp132 = getelementptr %struct.QRectF* %body, i32 0, i32 2 ; <double*> [#uses=1]
229 %tmp133 = getelementptr %struct.QRectF* %tmp.upgrd.1, i32 0, i32 2 ; <double*> [#uses=1]
230 %tmp134 = load double* %tmp133 ; <double> [#uses=1]
231 store double %tmp134, double* %tmp132
232 %tmp135 = getelementptr %struct.QRectF* %body, i32 0, i32 3 ; <double*> [#uses=1]
233 %tmp136 = getelementptr %struct.QRectF* %tmp.upgrd.1, i32 0, i32 3 ; <double*> [#uses=1]
234 %tmp137 = load double* %tmp136 ; <double> [#uses=1]
235 store double %tmp137, double* %tmp135
236 %tmp138 = call double @_ZNK6QRectF6heightEv( %struct.QRectF* %body ) ; <double> [#uses=1]
237 %tmp139 = sitofp i32 %tmp109.upgrd.17 to double ; <double> [#uses=1]
238 %tmp140 = fsub double %tmp138, %tmp139 ; <double> [#uses=1]
239 %tmp142 = invoke %struct.QPaintDevice* @_ZNK8QPainter6deviceEv( %struct.QPainter* %p )
240 to label %invcont141 unwind label %cleanup192 ; <%struct.QPaintDevice*> [#uses=1]
241 invcont141: ; preds = %invcont124
242 invoke void @_ZNK13QTextDocument11defaultFontEv( %struct.QFont* sret %tmp.upgrd.3, %struct.QAbstractTextDocumentLayout* %tmp95 )
243 to label %invcont144 unwind label %cleanup192
244 invcont144: ; preds = %invcont141
245 invoke void @_ZN12QFontMetricsC1ERK5QFontP12QPaintDevice( %struct.QFontMetrics* %tmp.upgrd.2, %struct.QFont* %tmp.upgrd.3, %struct.QPaintDevice* %tmp142 )
246 to label %invcont146 unwind label %cleanup173
247 invcont146: ; preds = %invcont144
248 %tmp149 = invoke i32 @_ZNK12QFontMetrics6ascentEv( %struct.QFontMetrics* %tmp.upgrd.2 )
249 to label %invcont148 unwind label %cleanup168 ; <i32> [#uses=1]
250 invcont148: ; preds = %invcont146
251 %tmp149.upgrd.21 = sitofp i32 %tmp149 to double ; <double> [#uses=1]
252 %tmp150 = fadd double %tmp140, %tmp149.upgrd.21 ; <double> [#uses=1]
253 %tmp152 = invoke %struct.QPaintDevice* @_ZNK8QPainter6deviceEv( %struct.QPainter* %p )
254 to label %invcont151 unwind label %cleanup168 ; <%struct.QPaintDevice*> [#uses=1]
255 invcont151: ; preds = %invcont148
256 %tmp154 = invoke i32 @_ZNK12QPaintDevice11logicalDpiYEv( %struct.QPaintDevice* %tmp152 )
257 to label %invcont153 unwind label %cleanup168 ; <i32> [#uses=1]
258 invcont153: ; preds = %invcont151
259 %tmp155 = mul i32 %tmp154, 5 ; <i32> [#uses=1]
260 %tmp156 = sdiv i32 %tmp155, 72 ; <i32> [#uses=1]
261 %tmp156.upgrd.22 = sitofp i32 %tmp156 to double ; <double> [#uses=1]
262 %tmp157 = fadd double %tmp150, %tmp156.upgrd.22 ; <double> [#uses=1]
263 %tmp158 = call double @_ZNK6QRectF5widthEv( %struct.QRectF* %body ) ; <double> [#uses=1]
264 %tmp159 = sitofp i32 %tmp109.upgrd.17 to double ; <double> [#uses=1]
265 %tmp160 = fsub double %tmp158, %tmp159 ; <double> [#uses=1]
266 call void @_ZN7QPointFC1Edd( %struct.QPointF* %tmp2, double %tmp160, double %tmp157 )
267 %tmp161 = getelementptr %struct.QPointF* %pageNumberPos, i32 0, i32 0 ; <double*> [#uses=1]
268 %tmp162 = getelementptr %struct.QPointF* %tmp2, i32 0, i32 0 ; <double*> [#uses=1]
269 %tmp163 = load double* %tmp162 ; <double> [#uses=1]
270 store double %tmp163, double* %tmp161
271 %tmp164 = getelementptr %struct.QPointF* %pageNumberPos, i32 0, i32 1 ; <double*> [#uses=1]
272 %tmp165 = getelementptr %struct.QPointF* %tmp2, i32 0, i32 1 ; <double*> [#uses=1]
273 %tmp166 = load double* %tmp165 ; <double> [#uses=1]
274 store double %tmp166, double* %tmp164
275 invoke void @_ZN12QFontMetricsD1Ev( %struct.QFontMetrics* %tmp.upgrd.2 )
276 to label %cleanup171 unwind label %cleanup173
277 cleanup168: ; preds = %invcont151, %invcont148, %invcont146
278 invoke void @_ZN12QFontMetricsD1Ev( %struct.QFontMetrics* %tmp.upgrd.2 )
279 to label %cleanup173 unwind label %cleanup173
280 cleanup171: ; preds = %invcont153
281 invoke void @_ZN5QFontD1Ev( %struct.QFont* %tmp.upgrd.3 )
282 to label %finally170 unwind label %cleanup192
283 cleanup173: ; preds = %cleanup168, %cleanup168, %invcont153, %invcont144
284 invoke void @_ZN5QFontD1Ev( %struct.QFont* %tmp.upgrd.3 )
285 to label %cleanup192 unwind label %cleanup192
286 finally170: ; preds = %cleanup171
287 invoke void @_ZNK13QTextDocument11defaultFontEv( %struct.QFont* sret %font, %struct.QAbstractTextDocumentLayout* %tmp95 )
288 to label %invcont177 unwind label %cleanup192
289 invcont177: ; preds = %finally170
290 invoke void @_ZN5QFont12setPointSizeEi( %struct.QFont* %font, i32 10 )
291 to label %invcont179 unwind label %cleanup187
292 invcont179: ; preds = %invcont177
293 invoke void @_ZN13QTextDocument14setDefaultFontERK5QFont( %struct.QAbstractTextDocumentLayout* %tmp95, %struct.QFont* %font )
294 to label %invcont181 unwind label %cleanup187
295 invcont181: ; preds = %invcont179
296 call void @_ZNK6QRectF4sizeEv( %struct.QPointF* sret %tmp3, %struct.QRectF* %body )
297 invoke void @_ZN13QTextDocument11setPageSizeERK6QSizeF( %struct.QAbstractTextDocumentLayout* %tmp95, %struct.QPointF* %tmp3 )
298 to label %cleanup185 unwind label %cleanup187
299 cleanup185: ; preds = %invcont181
300 invoke void @_ZN5QFontD1Ev( %struct.QFont* %font )
301 to label %cleanup190 unwind label %cleanup192
302 cleanup187: ; preds = %invcont181, %invcont179, %invcont177
303 invoke void @_ZN5QFontD1Ev( %struct.QFont* %font )
304 to label %cleanup192 unwind label %cleanup192
305 cleanup190: ; preds = %cleanup185
306 invoke void @_ZN16QTextFrameFormatD1Ev( %struct.QTextBlockFormat* %fmt )
307 to label %cond_next194 unwind label %cleanup329
308 cleanup192: ; preds = %cleanup187, %cleanup187, %cleanup185, %finally170, %cleanup173, %cleanup173, %cleanup171, %invcont141, %invcont124, %invcont122, %invcont120, %invcont118, %invcont117, %invcont114, %invcont111
309 invoke void @_ZN16QTextFrameFormatD1Ev( %struct.QTextBlockFormat* %fmt )
310 to label %cleanup329 unwind label %cleanup329
311 cond_next194: ; preds = %cleanup190, %invcont83
312 %clonedDoc.1 = phi %struct.QAbstractTextDocumentLayout* [ null, %invcont83 ], [ %tmp95, %cleanup190 ] ; <%struct.QAbstractTextDocumentLayout*> [#uses=3]
313 %doc.1 = phi %struct.QAbstractTextDocumentLayout* [ %this, %invcont83 ], [ %tmp95, %cleanup190 ] ; <%struct.QAbstractTextDocumentLayout*> [#uses=2]
314 %tmp197 = invoke i1 @_ZNK8QPrinter13collateCopiesEv( %struct.QPrinter* %printer )
315 to label %invcont196 unwind label %cleanup329 ; <i1> [#uses=1]
316 invcont196: ; preds = %cond_next194
317 br i1 %tmp197, label %cond_true200, label %cond_false204
318 cond_true200: ; preds = %invcont196
319 %tmp203 = invoke i32 @_ZNK8QPrinter9numCopiesEv( %struct.QPrinter* %printer )
320 to label %invcont202 unwind label %cleanup329 ; <i32> [#uses=1]
321 invcont202: ; preds = %cond_true200
322 br label %cond_next208
323 cond_false204: ; preds = %invcont196
324 %tmp207 = invoke i32 @_ZNK8QPrinter9numCopiesEv( %struct.QPrinter* %printer )
325 to label %invcont206 unwind label %cleanup329 ; <i32> [#uses=1]
326 invcont206: ; preds = %cond_false204
327 br label %cond_next208
328 cond_next208: ; preds = %invcont206, %invcont202
329 %pageCopies.0 = phi i32 [ %tmp203, %invcont202 ], [ 1, %invcont206 ] ; <i32> [#uses=2]
330 %docCopies.0 = phi i32 [ 1, %invcont202 ], [ %tmp207, %invcont206 ] ; <i32> [#uses=2]
331 %tmp211 = invoke i32 @_ZNK8QPrinter8fromPageEv( %struct.QPrinter* %printer )
332 to label %invcont210 unwind label %cleanup329 ; <i32> [#uses=3]
333 invcont210: ; preds = %cond_next208
334 %tmp214 = invoke i32 @_ZNK8QPrinter6toPageEv( %struct.QPrinter* %printer )
335 to label %invcont213 unwind label %cleanup329 ; <i32> [#uses=3]
336 invcont213: ; preds = %invcont210
337 %tmp216 = icmp eq i32 %tmp211, 0 ; <i1> [#uses=1]
338 br i1 %tmp216, label %cond_true217, label %cond_next225
339 cond_true217: ; preds = %invcont213
340 %tmp219 = icmp eq i32 %tmp214, 0 ; <i1> [#uses=1]
341 br i1 %tmp219, label %cond_true220, label %cond_next225
342 cond_true220: ; preds = %cond_true217
343 %tmp223 = invoke i32 @_ZNK13QTextDocument9pageCountEv( %struct.QAbstractTextDocumentLayout* %doc.1 )
344 to label %invcont222 unwind label %cleanup329 ; <i32> [#uses=1]
345 invcont222: ; preds = %cond_true220
346 br label %cond_next225
347 cond_next225: ; preds = %invcont222, %cond_true217, %invcont213
348 %toPage.1 = phi i32 [ %tmp223, %invcont222 ], [ %tmp214, %cond_true217 ], [ %tmp214, %invcont213 ] ; <i32> [#uses=2]
349 %fromPage.1 = phi i32 [ 1, %invcont222 ], [ %tmp211, %cond_true217 ], [ %tmp211, %invcont213 ] ; <i32> [#uses=2]
350 %tmp.page = invoke i32 @_ZNK8QPrinter9pageOrderEv( %struct.QPrinter* %printer )
351 to label %invcont227 unwind label %cleanup329 ; <i32> [#uses=1]
352 invcont227: ; preds = %cond_next225
353 %tmp228 = icmp eq i32 %tmp.page, 1 ; <i1> [#uses=1]
354 br i1 %tmp228, label %cond_true230, label %cond_next234
355 cond_true230: ; preds = %invcont227
356 br label %cond_next234
357 cond_next234: ; preds = %cond_true230, %invcont227
358 %ascending.1 = phi i1 [ false, %cond_true230 ], [ true, %invcont227 ] ; <i1> [#uses=1]
359 %toPage.2 = phi i32 [ %fromPage.1, %cond_true230 ], [ %toPage.1, %invcont227 ] ; <i32> [#uses=1]
360 %fromPage.2 = phi i32 [ %toPage.1, %cond_true230 ], [ %fromPage.1, %invcont227 ] ; <i32> [#uses=1]
362 bb237: ; preds = %cond_true313, %cond_next293
363 %iftmp.410.4 = phi i1 [ %iftmp.410.5, %cond_true313 ], [ %iftmp.410.1, %cond_next293 ] ; <i1> [#uses=1]
364 %page.4 = phi i32 [ %fromPage.2, %cond_true313 ], [ %page.3, %cond_next293 ] ; <i32> [#uses=4]
366 invcont240: ; preds = %cond_true277
367 %tmp242 = icmp eq i32 %tmp241, 2 ; <i1> [#uses=1]
368 br i1 %tmp242, label %bb252, label %cond_next244
369 cond_next244: ; preds = %invcont240
370 %tmp247 = invoke i32 @_ZNK8QPrinter12printerStateEv( %struct.QPrinter* %printer )
371 to label %invcont246 unwind label %cleanup329 ; <i32> [#uses=1]
372 invcont246: ; preds = %cond_next244
373 %tmp248 = icmp eq i32 %tmp247, 3 ; <i1> [#uses=1]
374 br i1 %tmp248, label %bb252, label %bb253
375 bb252: ; preds = %invcont246, %invcont240
377 bb253: ; preds = %invcont246
379 bb254: ; preds = %bb253, %bb252
380 %iftmp.410.0 = phi i1 [ true, %bb252 ], [ false, %bb253 ] ; <i1> [#uses=2]
381 br i1 %iftmp.410.0, label %UserCanceled, label %cond_next258
382 cond_next258: ; preds = %bb254
383 invoke fastcc void @_Z9printPageiP8QPainterPK13QTextDocumentRK6QRectFRK7QPointF( i32 %page.4, %struct.QPainter* %p, %struct.QAbstractTextDocumentLayout* %doc.1, %struct.QRectF* %body, %struct.QPointF* %pageNumberPos )
384 to label %invcont261 unwind label %cleanup329
385 invcont261: ; preds = %cond_next258
386 %tmp263 = add i32 %pageCopies.0, -1 ; <i32> [#uses=1]
387 %tmp265 = icmp sgt i32 %tmp263, %j.4 ; <i1> [#uses=1]
388 br i1 %tmp265, label %cond_true266, label %cond_next270
389 cond_true266: ; preds = %invcont261
390 %tmp269 = invoke i1 @_ZN8QPrinter7newPageEv( %struct.QPrinter* %printer )
391 to label %cond_next270 unwind label %cleanup329 ; <i1> [#uses=0]
392 cond_next270: ; preds = %cond_true266, %invcont261
393 %tmp272 = add i32 %j.4, 1 ; <i32> [#uses=1]
395 bb273: ; preds = %cond_next270, %bb237
396 %iftmp.410.1 = phi i1 [ %iftmp.410.4, %bb237 ], [ %iftmp.410.0, %cond_next270 ] ; <i1> [#uses=2]
397 %j.4 = phi i32 [ 0, %bb237 ], [ %tmp272, %cond_next270 ] ; <i32> [#uses=3]
398 %tmp276 = icmp slt i32 %j.4, %pageCopies.0 ; <i1> [#uses=1]
399 br i1 %tmp276, label %cond_true277, label %bb280
400 cond_true277: ; preds = %bb273
401 %tmp241 = invoke i32 @_ZNK8QPrinter12printerStateEv( %struct.QPrinter* %printer )
402 to label %invcont240 unwind label %cleanup329 ; <i32> [#uses=1]
403 bb280: ; preds = %bb273
404 %tmp283 = icmp eq i32 %page.4, %toPage.2 ; <i1> [#uses=1]
405 br i1 %tmp283, label %bb297, label %cond_next285
406 cond_next285: ; preds = %bb280
407 br i1 %ascending.1, label %cond_true287, label %cond_false290
408 cond_true287: ; preds = %cond_next285
409 %tmp289 = add i32 %page.4, 1 ; <i32> [#uses=1]
410 br label %cond_next293
411 cond_false290: ; preds = %cond_next285
412 %tmp292 = add i32 %page.4, -1 ; <i32> [#uses=1]
413 br label %cond_next293
414 cond_next293: ; preds = %cond_false290, %cond_true287
415 %page.3 = phi i32 [ %tmp289, %cond_true287 ], [ %tmp292, %cond_false290 ] ; <i32> [#uses=1]
416 %tmp296 = invoke i1 @_ZN8QPrinter7newPageEv( %struct.QPrinter* %printer )
417 to label %bb237 unwind label %cleanup329 ; <i1> [#uses=0]
418 bb297: ; preds = %bb280
419 %tmp299 = add i32 %docCopies.0, -1 ; <i32> [#uses=1]
420 %tmp301 = icmp sgt i32 %tmp299, %i.1 ; <i1> [#uses=1]
421 br i1 %tmp301, label %cond_true302, label %cond_next306
422 cond_true302: ; preds = %bb297
423 %tmp305 = invoke i1 @_ZN8QPrinter7newPageEv( %struct.QPrinter* %printer )
424 to label %cond_next306 unwind label %cleanup329 ; <i1> [#uses=0]
425 cond_next306: ; preds = %cond_true302, %bb297
426 %tmp308 = add i32 %i.1, 1 ; <i32> [#uses=1]
428 bb309: ; preds = %cond_next306, %cond_next234
429 %iftmp.410.5 = phi i1 [ undef, %cond_next234 ], [ %iftmp.410.1, %cond_next306 ] ; <i1> [#uses=1]
430 %i.1 = phi i32 [ 0, %cond_next234 ], [ %tmp308, %cond_next306 ] ; <i32> [#uses=3]
431 %tmp312 = icmp slt i32 %i.1, %docCopies.0 ; <i1> [#uses=1]
432 br i1 %tmp312, label %cond_true313, label %UserCanceled
433 cond_true313: ; preds = %bb309
435 UserCanceled: ; preds = %bb309, %bb254
436 %tmp318 = icmp eq %struct.QAbstractTextDocumentLayout* %clonedDoc.1, null ; <i1> [#uses=1]
437 br i1 %tmp318, label %cleanup327, label %cond_true319
438 cond_true319: ; preds = %UserCanceled
439 %tmp.upgrd.23 = getelementptr %struct.QAbstractTextDocumentLayout* %clonedDoc.1, i32 0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
440 %tmp.upgrd.24 = load i32 (...)*** %tmp.upgrd.23 ; <i32 (...)**> [#uses=1]
441 %tmp322 = getelementptr i32 (...)** %tmp.upgrd.24, i32 4 ; <i32 (...)**> [#uses=1]
442 %tmp.upgrd.25 = load i32 (...)** %tmp322 ; <i32 (...)*> [#uses=1]
443 %tmp.upgrd.26 = bitcast i32 (...)* %tmp.upgrd.25 to void (%struct.QAbstractTextDocumentLayout*)* ; <void (%struct.QAbstractTextDocumentLayout*)*> [#uses=1]
444 invoke void %tmp.upgrd.26( %struct.QAbstractTextDocumentLayout* %clonedDoc.1 )
445 to label %cleanup327 unwind label %cleanup329
446 cleanup327: ; preds = %cond_true319, %UserCanceled
447 call void @_ZN8QPainterD1Ev( %struct.QPainter* %p )
449 cleanup328: ; preds = %invcont
450 call void @_ZN8QPainterD1Ev( %struct.QPainter* %p )
452 cleanup329: ; preds = %cond_true319, %cond_true302, %cond_next293, %cond_true277, %cond_true266, %cond_next258, %cond_next244, %cond_next225, %cond_true220, %invcont210, %cond_next208, %cond_false204, %cond_true200, %cond_next194, %cleanup192, %cleanup192, %cleanup190, %invcont106, %invcont104, %invcont103, %invcont100, %invcont98, %invcont94, %cond_false, %invcont83, %invcont79, %invcont57, %invcont51, %invcont45, %cond_next42, %invcont37, %cond_true35, %invcont29, %invcont25, %cond_true24, %cond_next, %entry
453 call void @_ZN8QPainterD1Ev( %struct.QPainter* %p )
457 declare void @_ZN6QSizeFC1Edd(%struct.QPointF*, double, double)
459 declare i1 @_ZNK6QSizeF7isValidEv(%struct.QPointF*)
461 declare double @_ZNK6QSizeF5widthEv(%struct.QPointF*)
463 declare double @_ZNK6QSizeF6heightEv(%struct.QPointF*)
465 declare double* @_ZN6QSizeF6rwidthEv(%struct.QPointF*)
467 declare double* @_ZN6QSizeF7rheightEv(%struct.QPointF*)
469 declare %struct.QTextDocumentPrivate* @_ZNK13QTextDocument6d_funcEv(%struct.QAbstractTextDocumentLayout*)
471 declare void @_ZN7QPointFC1Ev(%struct.QPointF*)
473 declare void @_ZN7QPointFC1Edd(%struct.QPointF*, double, double)
475 declare void @_ZN16QTextFrameFormat9setMarginEd(%struct.QTextBlockFormat*, double)
477 declare void @_ZN6QRectFC1Edddd(%struct.QRectF*, double, double, double, double)
479 declare void @_ZN6QRectFC1ERK7QPointFRK6QSizeF(%struct.QRectF*, %struct.QPointF*, %struct.QPointF*)
481 declare double @_ZNK6QRectF5widthEv(%struct.QRectF*)
483 declare double @_ZNK6QRectF6heightEv(%struct.QRectF*)
485 declare void @_ZNK6QRectF4sizeEv(%struct.QPointF*, %struct.QRectF*)
487 declare void @_ZN16QTextFrameFormatD1Ev(%struct.QTextBlockFormat*)
489 declare void @_ZNK10QTextFrame11frameFormatEv(%struct.QTextBlockFormat*, %struct.QTextBlockGroup*)
491 declare void @_ZN10QTextFrame14setFrameFormatERK16QTextFrameFormat(%struct.QTextBlockGroup*, %struct.QTextBlockFormat*)
493 declare i32 @_ZNK12QPaintDevice5widthEv(%struct.QPaintDevice*)
495 declare i32 @_ZNK12QPaintDevice6heightEv(%struct.QPaintDevice*)
497 declare i32 @_ZNK12QPaintDevice11logicalDpiXEv(%struct.QPaintDevice*)
499 declare i32 @_ZNK12QPaintDevice11logicalDpiYEv(%struct.QPaintDevice*)
501 declare %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument5cloneEP7QObject(%struct.QAbstractTextDocumentLayout*, %struct.QObject*)
503 declare void @_ZN5QFontD1Ev(%struct.QFont*)
505 declare %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument14documentLayoutEv(%struct.QAbstractTextDocumentLayout*)
507 declare %struct.QTextBlockGroup* @_ZNK13QTextDocument9rootFrameEv(%struct.QAbstractTextDocumentLayout*)
509 declare i32 @_ZNK13QTextDocument9pageCountEv(%struct.QAbstractTextDocumentLayout*)
511 declare void @_ZNK13QTextDocument11defaultFontEv(%struct.QFont*, %struct.QAbstractTextDocumentLayout*)
513 declare void @_ZN13QTextDocument14setDefaultFontERK5QFont(%struct.QAbstractTextDocumentLayout*, %struct.QFont*)
515 declare void @_ZN13QTextDocument11setPageSizeERK6QSizeF(%struct.QAbstractTextDocumentLayout*, %struct.QPointF*)
517 declare void @_Z9printPageiP8QPainterPK13QTextDocumentRK6QRectFRK7QPointF(i32, %struct.QPainter*, %struct.QAbstractTextDocumentLayout*, %struct.QRectF*, %struct.QPointF*)
519 declare void @_ZN12QFontMetricsD1Ev(%struct.QFontMetrics*)
521 declare void @_ZN8QPainterC1EP12QPaintDevice(%struct.QPainter*, %struct.QPaintDevice*)
523 declare i1 @_ZNK8QPainter8isActiveEv(%struct.QPainter*)
525 declare i32 @_Z13qt_defaultDpiv()
527 declare %struct.QPaintDevice* @_ZNK27QAbstractTextDocumentLayout11paintDeviceEv(%struct.QAbstractTextDocumentLayout*)
529 declare void @_ZN8QPainter5scaleEdd(%struct.QPainter*, double, double)
531 declare %struct.QPaintDevice* @_ZNK8QPainter6deviceEv(%struct.QPainter*)
533 declare void @_ZN27QAbstractTextDocumentLayout14setPaintDeviceEP12QPaintDevice(%struct.QAbstractTextDocumentLayout*, %struct.QPaintDevice*)
535 declare void @_ZN12QFontMetricsC1ERK5QFontP12QPaintDevice(%struct.QFontMetrics*, %struct.QFont*, %struct.QPaintDevice*)
537 declare i32 @_ZNK12QFontMetrics6ascentEv(%struct.QFontMetrics*)
539 declare void @_ZN5QFont12setPointSizeEi(%struct.QFont*, i32)
541 declare i1 @_ZNK8QPrinter13collateCopiesEv(%struct.QPrinter*)
543 declare i32 @_ZNK8QPrinter9numCopiesEv(%struct.QPrinter*)
545 declare i32 @_ZNK8QPrinter8fromPageEv(%struct.QPrinter*)
547 declare i32 @_ZNK8QPrinter6toPageEv(%struct.QPrinter*)
549 declare i32 @_ZNK8QPrinter9pageOrderEv(%struct.QPrinter*)
551 declare i32 @_ZNK8QPrinter12printerStateEv(%struct.QPrinter*)
553 declare i1 @_ZN8QPrinter7newPageEv(%struct.QPrinter*)
555 declare void @_ZN8QPainterD1Ev(%struct.QPainter*)