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