Dan Gohman | f2f6ce6 | 2009-09-11 18:01:28 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -simplifycfg -disable-output |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 147 | %tmp69 = fmul double %tmp67, %tmp48 ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 151 | %tmp75 = fmul double %tmp73, %tmp54 ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 193 | %tmp109 = fmul double %tmp108, 0x3FE93264C993264C ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 240 | %tmp140 = fsub double %tmp138, %tmp139 ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 254 | %tmp150 = fadd double %tmp140, %tmp149.upgrd.21 ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 264 | %tmp157 = fadd double %tmp150, %tmp156.upgrd.22 ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 265 | %tmp158 = call double @_ZNK6QRectF5widthEv( %struct.QRectF* %body ) ; <double> [#uses=1] |
| 266 | %tmp159 = sitofp i32 %tmp109.upgrd.17 to double ; <double> [#uses=1] |
Dan Gohman | a9445e1 | 2010-03-02 01:11:08 +0000 | [diff] [blame] | 267 | %tmp160 = fsub double %tmp158, %tmp159 ; <double> [#uses=1] |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 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 |
Bill Wendling | 6af6824 | 2011-08-29 20:39:23 +0000 | [diff] [blame] | 280 | %val168 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) |
| 281 | cleanup |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 282 | invoke void @_ZN12QFontMetricsD1Ev( %struct.QFontMetrics* %tmp.upgrd.2 ) |
| 283 | to label %cleanup173 unwind label %cleanup173 |
| 284 | cleanup171: ; preds = %invcont153 |
| 285 | invoke void @_ZN5QFontD1Ev( %struct.QFont* %tmp.upgrd.3 ) |
| 286 | to label %finally170 unwind label %cleanup192 |
| 287 | cleanup173: ; preds = %cleanup168, %cleanup168, %invcont153, %invcont144 |
Bill Wendling | 6af6824 | 2011-08-29 20:39:23 +0000 | [diff] [blame] | 288 | %val173 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) |
| 289 | cleanup |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 290 | invoke void @_ZN5QFontD1Ev( %struct.QFont* %tmp.upgrd.3 ) |
| 291 | to label %cleanup192 unwind label %cleanup192 |
| 292 | finally170: ; preds = %cleanup171 |
| 293 | invoke void @_ZNK13QTextDocument11defaultFontEv( %struct.QFont* sret %font, %struct.QAbstractTextDocumentLayout* %tmp95 ) |
| 294 | to label %invcont177 unwind label %cleanup192 |
| 295 | invcont177: ; preds = %finally170 |
| 296 | invoke void @_ZN5QFont12setPointSizeEi( %struct.QFont* %font, i32 10 ) |
| 297 | to label %invcont179 unwind label %cleanup187 |
| 298 | invcont179: ; preds = %invcont177 |
| 299 | invoke void @_ZN13QTextDocument14setDefaultFontERK5QFont( %struct.QAbstractTextDocumentLayout* %tmp95, %struct.QFont* %font ) |
| 300 | to label %invcont181 unwind label %cleanup187 |
| 301 | invcont181: ; preds = %invcont179 |
| 302 | call void @_ZNK6QRectF4sizeEv( %struct.QPointF* sret %tmp3, %struct.QRectF* %body ) |
| 303 | invoke void @_ZN13QTextDocument11setPageSizeERK6QSizeF( %struct.QAbstractTextDocumentLayout* %tmp95, %struct.QPointF* %tmp3 ) |
| 304 | to label %cleanup185 unwind label %cleanup187 |
| 305 | cleanup185: ; preds = %invcont181 |
| 306 | invoke void @_ZN5QFontD1Ev( %struct.QFont* %font ) |
| 307 | to label %cleanup190 unwind label %cleanup192 |
| 308 | cleanup187: ; preds = %invcont181, %invcont179, %invcont177 |
Bill Wendling | 6af6824 | 2011-08-29 20:39:23 +0000 | [diff] [blame] | 309 | %val187 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) |
| 310 | cleanup |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 311 | invoke void @_ZN5QFontD1Ev( %struct.QFont* %font ) |
| 312 | to label %cleanup192 unwind label %cleanup192 |
| 313 | cleanup190: ; preds = %cleanup185 |
| 314 | invoke void @_ZN16QTextFrameFormatD1Ev( %struct.QTextBlockFormat* %fmt ) |
| 315 | to label %cond_next194 unwind label %cleanup329 |
| 316 | cleanup192: ; preds = %cleanup187, %cleanup187, %cleanup185, %finally170, %cleanup173, %cleanup173, %cleanup171, %invcont141, %invcont124, %invcont122, %invcont120, %invcont118, %invcont117, %invcont114, %invcont111 |
Bill Wendling | 6af6824 | 2011-08-29 20:39:23 +0000 | [diff] [blame] | 317 | %val192 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) |
| 318 | cleanup |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 319 | invoke void @_ZN16QTextFrameFormatD1Ev( %struct.QTextBlockFormat* %fmt ) |
| 320 | to label %cleanup329 unwind label %cleanup329 |
| 321 | cond_next194: ; preds = %cleanup190, %invcont83 |
| 322 | %clonedDoc.1 = phi %struct.QAbstractTextDocumentLayout* [ null, %invcont83 ], [ %tmp95, %cleanup190 ] ; <%struct.QAbstractTextDocumentLayout*> [#uses=3] |
| 323 | %doc.1 = phi %struct.QAbstractTextDocumentLayout* [ %this, %invcont83 ], [ %tmp95, %cleanup190 ] ; <%struct.QAbstractTextDocumentLayout*> [#uses=2] |
| 324 | %tmp197 = invoke i1 @_ZNK8QPrinter13collateCopiesEv( %struct.QPrinter* %printer ) |
| 325 | to label %invcont196 unwind label %cleanup329 ; <i1> [#uses=1] |
| 326 | invcont196: ; preds = %cond_next194 |
| 327 | br i1 %tmp197, label %cond_true200, label %cond_false204 |
| 328 | cond_true200: ; preds = %invcont196 |
| 329 | %tmp2000 = load double* %foo |
| 330 | store double %tmp2000, double* %bar |
| 331 | %tmp203 = invoke i32 @_ZNK8QPrinter9numCopiesEv( %struct.QPrinter* %printer ) |
| 332 | to label %cond_next208 unwind label %cleanup329 ; <i32> [#uses=1] |
| 333 | cond_false204: ; preds = %invcont196 |
| 334 | %tmp2001 = load double* %foo |
| 335 | store double %tmp2001, double* %bar |
| 336 | %tmp207 = invoke i32 @_ZNK8QPrinter9numCopiesEv( %struct.QPrinter* %printer ) |
| 337 | to label %cond_next208 unwind label %cleanup329 ; <i32> [#uses=1] |
| 338 | cond_next208: ; preds = %invcont206, %invcont202 |
| 339 | %pageCopies.0 = phi i32 [ %tmp203, %cond_true200 ], [ 1, %cond_false204 ] ; <i32> [#uses=2] |
| 340 | %docCopies.0 = phi i32 [ 1, %cond_true200 ], [ %tmp207, %cond_false204 ] ; <i32> [#uses=2] |
| 341 | %tmp211 = invoke i32 @_ZNK8QPrinter8fromPageEv( %struct.QPrinter* %printer ) |
| 342 | to label %invcont210 unwind label %cleanup329 ; <i32> [#uses=3] |
| 343 | invcont210: ; preds = %cond_next208 |
| 344 | %tmp214 = invoke i32 @_ZNK8QPrinter6toPageEv( %struct.QPrinter* %printer ) |
| 345 | to label %invcont213 unwind label %cleanup329 ; <i32> [#uses=3] |
| 346 | invcont213: ; preds = %invcont210 |
| 347 | %tmp216 = icmp eq i32 %tmp211, 0 ; <i1> [#uses=1] |
| 348 | br i1 %tmp216, label %cond_true217, label %cond_next225 |
| 349 | cond_true217: ; preds = %invcont213 |
| 350 | %tmp219 = icmp eq i32 %tmp214, 0 ; <i1> [#uses=1] |
| 351 | br i1 %tmp219, label %cond_true220, label %cond_next225 |
| 352 | cond_true220: ; preds = %cond_true217 |
| 353 | %tmp223 = invoke i32 @_ZNK13QTextDocument9pageCountEv( %struct.QAbstractTextDocumentLayout* %doc.1 ) |
| 354 | to label %invcont222 unwind label %cleanup329 ; <i32> [#uses=1] |
| 355 | invcont222: ; preds = %cond_true220 |
| 356 | br label %cond_next225 |
| 357 | cond_next225: ; preds = %invcont222, %cond_true217, %invcont213 |
| 358 | %toPage.1 = phi i32 [ %tmp223, %invcont222 ], [ %tmp214, %cond_true217 ], [ %tmp214, %invcont213 ] ; <i32> [#uses=2] |
| 359 | %fromPage.1 = phi i32 [ 1, %invcont222 ], [ %tmp211, %cond_true217 ], [ %tmp211, %invcont213 ] ; <i32> [#uses=2] |
| 360 | %tmp.page = invoke i32 @_ZNK8QPrinter9pageOrderEv( %struct.QPrinter* %printer ) |
| 361 | to label %invcont227 unwind label %cleanup329 ; <i32> [#uses=1] |
| 362 | invcont227: ; preds = %cond_next225 |
| 363 | %tmp228 = icmp eq i32 %tmp.page, 1 ; <i1> [#uses=1] |
| 364 | br i1 %tmp228, label %cond_true230, label %cond_next234 |
| 365 | cond_true230: ; preds = %invcont227 |
| 366 | br label %cond_next234 |
| 367 | cond_next234: ; preds = %cond_true230, %invcont227 |
| 368 | %ascending.1 = phi i1 [ false, %cond_true230 ], [ true, %invcont227 ] ; <i1> [#uses=1] |
| 369 | %toPage.2 = phi i32 [ %fromPage.1, %cond_true230 ], [ %toPage.1, %invcont227 ] ; <i32> [#uses=1] |
| 370 | %fromPage.2 = phi i32 [ %toPage.1, %cond_true230 ], [ %fromPage.1, %invcont227 ] ; <i32> [#uses=1] |
| 371 | br label %bb309 |
| 372 | bb237: ; preds = %cond_true313, %cond_next293 |
| 373 | %iftmp.410.4 = phi i1 [ %iftmp.410.5, %cond_true313 ], [ %iftmp.410.1, %cond_next293 ] ; <i1> [#uses=1] |
| 374 | %page.4 = phi i32 [ %fromPage.2, %cond_true313 ], [ %page.3, %cond_next293 ] ; <i32> [#uses=4] |
| 375 | br label %bb273 |
| 376 | invcont240: ; preds = %cond_true277 |
| 377 | %tmp242 = icmp eq i32 %tmp241, 2 ; <i1> [#uses=1] |
| 378 | br i1 %tmp242, label %bb252, label %cond_next244 |
| 379 | cond_next244: ; preds = %invcont240 |
| 380 | %tmp247 = invoke i32 @_ZNK8QPrinter12printerStateEv( %struct.QPrinter* %printer ) |
| 381 | to label %invcont246 unwind label %cleanup329 ; <i32> [#uses=1] |
| 382 | invcont246: ; preds = %cond_next244 |
| 383 | %tmp248 = icmp eq i32 %tmp247, 3 ; <i1> [#uses=1] |
| 384 | br i1 %tmp248, label %bb252, label %bb253 |
| 385 | bb252: ; preds = %invcont246, %invcont240 |
| 386 | br label %bb254 |
| 387 | bb253: ; preds = %invcont246 |
| 388 | br label %bb254 |
| 389 | bb254: ; preds = %bb253, %bb252 |
| 390 | %iftmp.410.0 = phi i1 [ true, %bb252 ], [ false, %bb253 ] ; <i1> [#uses=2] |
| 391 | br i1 %iftmp.410.0, label %UserCanceled, label %cond_next258 |
| 392 | cond_next258: ; preds = %bb254 |
| 393 | invoke fastcc void @_Z9printPageiP8QPainterPK13QTextDocumentRK6QRectFRK7QPointF( i32 %page.4, %struct.QPainter* %p, %struct.QAbstractTextDocumentLayout* %doc.1, %struct.QRectF* %body, %struct.QPointF* %pageNumberPos ) |
| 394 | to label %invcont261 unwind label %cleanup329 |
| 395 | invcont261: ; preds = %cond_next258 |
| 396 | %tmp263 = add i32 %pageCopies.0, -1 ; <i32> [#uses=1] |
| 397 | %tmp265 = icmp sgt i32 %tmp263, %j.4 ; <i1> [#uses=1] |
| 398 | br i1 %tmp265, label %cond_true266, label %cond_next270 |
| 399 | cond_true266: ; preds = %invcont261 |
| 400 | %tmp269 = invoke i1 @_ZN8QPrinter7newPageEv( %struct.QPrinter* %printer ) |
| 401 | to label %cond_next270 unwind label %cleanup329 ; <i1> [#uses=0] |
| 402 | cond_next270: ; preds = %cond_true266, %invcont261 |
| 403 | %tmp272 = add i32 %j.4, 1 ; <i32> [#uses=1] |
| 404 | br label %bb273 |
| 405 | bb273: ; preds = %cond_next270, %bb237 |
| 406 | %iftmp.410.1 = phi i1 [ %iftmp.410.4, %bb237 ], [ %iftmp.410.0, %cond_next270 ] ; <i1> [#uses=2] |
| 407 | %j.4 = phi i32 [ 0, %bb237 ], [ %tmp272, %cond_next270 ] ; <i32> [#uses=3] |
| 408 | %tmp276 = icmp slt i32 %j.4, %pageCopies.0 ; <i1> [#uses=1] |
| 409 | br i1 %tmp276, label %cond_true277, label %bb280 |
| 410 | cond_true277: ; preds = %bb273 |
| 411 | %tmp241 = invoke i32 @_ZNK8QPrinter12printerStateEv( %struct.QPrinter* %printer ) |
| 412 | to label %invcont240 unwind label %cleanup329 ; <i32> [#uses=1] |
| 413 | bb280: ; preds = %bb273 |
| 414 | %tmp283 = icmp eq i32 %page.4, %toPage.2 ; <i1> [#uses=1] |
| 415 | br i1 %tmp283, label %bb297, label %cond_next285 |
| 416 | cond_next285: ; preds = %bb280 |
| 417 | br i1 %ascending.1, label %cond_true287, label %cond_false290 |
| 418 | cond_true287: ; preds = %cond_next285 |
| 419 | %tmp289 = add i32 %page.4, 1 ; <i32> [#uses=1] |
| 420 | br label %cond_next293 |
| 421 | cond_false290: ; preds = %cond_next285 |
| 422 | %tmp292 = add i32 %page.4, -1 ; <i32> [#uses=1] |
| 423 | br label %cond_next293 |
| 424 | cond_next293: ; preds = %cond_false290, %cond_true287 |
| 425 | %page.3 = phi i32 [ %tmp289, %cond_true287 ], [ %tmp292, %cond_false290 ] ; <i32> [#uses=1] |
| 426 | %tmp296 = invoke i1 @_ZN8QPrinter7newPageEv( %struct.QPrinter* %printer ) |
| 427 | to label %bb237 unwind label %cleanup329 ; <i1> [#uses=0] |
| 428 | bb297: ; preds = %bb280 |
| 429 | %tmp299 = add i32 %docCopies.0, -1 ; <i32> [#uses=1] |
| 430 | %tmp301 = icmp sgt i32 %tmp299, %i.1 ; <i1> [#uses=1] |
| 431 | br i1 %tmp301, label %cond_true302, label %cond_next306 |
| 432 | cond_true302: ; preds = %bb297 |
| 433 | %tmp305 = invoke i1 @_ZN8QPrinter7newPageEv( %struct.QPrinter* %printer ) |
| 434 | to label %cond_next306 unwind label %cleanup329 ; <i1> [#uses=0] |
| 435 | cond_next306: ; preds = %cond_true302, %bb297 |
| 436 | %tmp308 = add i32 %i.1, 1 ; <i32> [#uses=1] |
| 437 | br label %bb309 |
| 438 | bb309: ; preds = %cond_next306, %cond_next234 |
| 439 | %iftmp.410.5 = phi i1 [ undef, %cond_next234 ], [ %iftmp.410.1, %cond_next306 ] ; <i1> [#uses=1] |
| 440 | %i.1 = phi i32 [ 0, %cond_next234 ], [ %tmp308, %cond_next306 ] ; <i32> [#uses=3] |
| 441 | %tmp312 = icmp slt i32 %i.1, %docCopies.0 ; <i1> [#uses=1] |
| 442 | br i1 %tmp312, label %cond_true313, label %UserCanceled |
| 443 | cond_true313: ; preds = %bb309 |
| 444 | br label %bb237 |
| 445 | UserCanceled: ; preds = %bb309, %bb254 |
| 446 | %tmp318 = icmp eq %struct.QAbstractTextDocumentLayout* %clonedDoc.1, null ; <i1> [#uses=1] |
| 447 | br i1 %tmp318, label %cleanup327, label %cond_true319 |
| 448 | cond_true319: ; preds = %UserCanceled |
| 449 | %tmp.upgrd.23 = getelementptr %struct.QAbstractTextDocumentLayout* %clonedDoc.1, i32 0, i32 0, i32 0 ; <i32 (...)***> [#uses=1] |
| 450 | %tmp.upgrd.24 = load i32 (...)*** %tmp.upgrd.23 ; <i32 (...)**> [#uses=1] |
| 451 | %tmp322 = getelementptr i32 (...)** %tmp.upgrd.24, i32 4 ; <i32 (...)**> [#uses=1] |
| 452 | %tmp.upgrd.25 = load i32 (...)** %tmp322 ; <i32 (...)*> [#uses=1] |
| 453 | %tmp.upgrd.26 = bitcast i32 (...)* %tmp.upgrd.25 to void (%struct.QAbstractTextDocumentLayout*)* ; <void (%struct.QAbstractTextDocumentLayout*)*> [#uses=1] |
| 454 | invoke void %tmp.upgrd.26( %struct.QAbstractTextDocumentLayout* %clonedDoc.1 ) |
| 455 | to label %cleanup327 unwind label %cleanup329 |
| 456 | cleanup327: ; preds = %cond_true319, %UserCanceled |
| 457 | call void @_ZN8QPainterD1Ev( %struct.QPainter* %p ) |
| 458 | ret void |
| 459 | cleanup328: ; preds = %invcont |
| 460 | call void @_ZN8QPainterD1Ev( %struct.QPainter* %p ) |
| 461 | ret void |
| 462 | 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 |
Bill Wendling | 6af6824 | 2011-08-29 20:39:23 +0000 | [diff] [blame] | 463 | %val329 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) |
| 464 | cleanup |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 465 | call void @_ZN8QPainterD1Ev( %struct.QPainter* %p ) |
Bill Wendling | 47e208b | 2011-09-02 22:41:11 +0000 | [diff] [blame] | 466 | resume { i8*, i32 } %val329 |
Dale Johannesen | c1f1040 | 2009-06-15 20:59:27 +0000 | [diff] [blame] | 467 | } |
| 468 | |
| 469 | declare void @_ZN6QSizeFC1Edd(%struct.QPointF*, double, double) |
| 470 | |
| 471 | declare i1 @_ZNK6QSizeF7isValidEv(%struct.QPointF*) |
| 472 | |
| 473 | declare double @_ZNK6QSizeF5widthEv(%struct.QPointF*) |
| 474 | |
| 475 | declare double @_ZNK6QSizeF6heightEv(%struct.QPointF*) |
| 476 | |
| 477 | declare double* @_ZN6QSizeF6rwidthEv(%struct.QPointF*) |
| 478 | |
| 479 | declare double* @_ZN6QSizeF7rheightEv(%struct.QPointF*) |
| 480 | |
| 481 | declare %struct.QTextDocumentPrivate* @_ZNK13QTextDocument6d_funcEv(%struct.QAbstractTextDocumentLayout*) |
| 482 | |
| 483 | declare void @_ZN7QPointFC1Ev(%struct.QPointF*) |
| 484 | |
| 485 | declare void @_ZN7QPointFC1Edd(%struct.QPointF*, double, double) |
| 486 | |
| 487 | declare void @_ZN16QTextFrameFormat9setMarginEd(%struct.QTextBlockFormat*, double) |
| 488 | |
| 489 | declare void @_ZN6QRectFC1Edddd(%struct.QRectF*, double, double, double, double) |
| 490 | |
| 491 | declare void @_ZN6QRectFC1ERK7QPointFRK6QSizeF(%struct.QRectF*, %struct.QPointF*, %struct.QPointF*) |
| 492 | |
| 493 | declare double @_ZNK6QRectF5widthEv(%struct.QRectF*) |
| 494 | |
| 495 | declare double @_ZNK6QRectF6heightEv(%struct.QRectF*) |
| 496 | |
| 497 | declare void @_ZNK6QRectF4sizeEv(%struct.QPointF*, %struct.QRectF*) |
| 498 | |
| 499 | declare void @_ZN16QTextFrameFormatD1Ev(%struct.QTextBlockFormat*) |
| 500 | |
| 501 | declare void @_ZNK10QTextFrame11frameFormatEv(%struct.QTextBlockFormat*, %struct.QTextBlockGroup*) |
| 502 | |
| 503 | declare void @_ZN10QTextFrame14setFrameFormatERK16QTextFrameFormat(%struct.QTextBlockGroup*, %struct.QTextBlockFormat*) |
| 504 | |
| 505 | declare i32 @_ZNK12QPaintDevice5widthEv(%struct.QPaintDevice*) |
| 506 | |
| 507 | declare i32 @_ZNK12QPaintDevice6heightEv(%struct.QPaintDevice*) |
| 508 | |
| 509 | declare i32 @_ZNK12QPaintDevice11logicalDpiXEv(%struct.QPaintDevice*) |
| 510 | |
| 511 | declare i32 @_ZNK12QPaintDevice11logicalDpiYEv(%struct.QPaintDevice*) |
| 512 | |
| 513 | declare %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument5cloneEP7QObject(%struct.QAbstractTextDocumentLayout*, %struct.QObject*) |
| 514 | |
| 515 | declare void @_ZN5QFontD1Ev(%struct.QFont*) |
| 516 | |
| 517 | declare %struct.QAbstractTextDocumentLayout* @_ZNK13QTextDocument14documentLayoutEv(%struct.QAbstractTextDocumentLayout*) |
| 518 | |
| 519 | declare %struct.QTextBlockGroup* @_ZNK13QTextDocument9rootFrameEv(%struct.QAbstractTextDocumentLayout*) |
| 520 | |
| 521 | declare i32 @_ZNK13QTextDocument9pageCountEv(%struct.QAbstractTextDocumentLayout*) |
| 522 | |
| 523 | declare void @_ZNK13QTextDocument11defaultFontEv(%struct.QFont*, %struct.QAbstractTextDocumentLayout*) |
| 524 | |
| 525 | declare void @_ZN13QTextDocument14setDefaultFontERK5QFont(%struct.QAbstractTextDocumentLayout*, %struct.QFont*) |
| 526 | |
| 527 | declare void @_ZN13QTextDocument11setPageSizeERK6QSizeF(%struct.QAbstractTextDocumentLayout*, %struct.QPointF*) |
| 528 | |
| 529 | declare void @_Z9printPageiP8QPainterPK13QTextDocumentRK6QRectFRK7QPointF(i32, %struct.QPainter*, %struct.QAbstractTextDocumentLayout*, %struct.QRectF*, %struct.QPointF*) |
| 530 | |
| 531 | declare void @_ZN12QFontMetricsD1Ev(%struct.QFontMetrics*) |
| 532 | |
| 533 | declare void @_ZN8QPainterC1EP12QPaintDevice(%struct.QPainter*, %struct.QPaintDevice*) |
| 534 | |
| 535 | declare i1 @_ZNK8QPainter8isActiveEv(%struct.QPainter*) |
| 536 | |
| 537 | declare i32 @_Z13qt_defaultDpiv() |
| 538 | |
| 539 | declare %struct.QPaintDevice* @_ZNK27QAbstractTextDocumentLayout11paintDeviceEv(%struct.QAbstractTextDocumentLayout*) |
| 540 | |
| 541 | declare void @_ZN8QPainter5scaleEdd(%struct.QPainter*, double, double) |
| 542 | |
| 543 | declare %struct.QPaintDevice* @_ZNK8QPainter6deviceEv(%struct.QPainter*) |
| 544 | |
| 545 | declare void @_ZN27QAbstractTextDocumentLayout14setPaintDeviceEP12QPaintDevice(%struct.QAbstractTextDocumentLayout*, %struct.QPaintDevice*) |
| 546 | |
| 547 | declare void @_ZN12QFontMetricsC1ERK5QFontP12QPaintDevice(%struct.QFontMetrics*, %struct.QFont*, %struct.QPaintDevice*) |
| 548 | |
| 549 | declare i32 @_ZNK12QFontMetrics6ascentEv(%struct.QFontMetrics*) |
| 550 | |
| 551 | declare void @_ZN5QFont12setPointSizeEi(%struct.QFont*, i32) |
| 552 | |
| 553 | declare i1 @_ZNK8QPrinter13collateCopiesEv(%struct.QPrinter*) |
| 554 | |
| 555 | declare i32 @_ZNK8QPrinter9numCopiesEv(%struct.QPrinter*) |
| 556 | |
| 557 | declare i32 @_ZNK8QPrinter8fromPageEv(%struct.QPrinter*) |
| 558 | |
| 559 | declare i32 @_ZNK8QPrinter6toPageEv(%struct.QPrinter*) |
| 560 | |
| 561 | declare i32 @_ZNK8QPrinter9pageOrderEv(%struct.QPrinter*) |
| 562 | |
| 563 | declare i32 @_ZNK8QPrinter12printerStateEv(%struct.QPrinter*) |
| 564 | |
| 565 | declare i1 @_ZN8QPrinter7newPageEv(%struct.QPrinter*) |
| 566 | |
| 567 | declare void @_ZN8QPainterD1Ev(%struct.QPainter*) |
Bill Wendling | 6af6824 | 2011-08-29 20:39:23 +0000 | [diff] [blame] | 568 | |
| 569 | declare i32 @__gxx_personality_v0(...) |