Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | ; PR1049 |
| 3 | target datalayout = "e-p:32:32" |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 4 | target triple = "i686-pc-linux-gnu" |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 5 | %struct.QBasicAtomic = type { i32 } |
| 6 | %struct.QByteArray = type { %"struct.QByteArray::Data"* } |
| 7 | %"struct.QByteArray::Data" = type { %struct.QBasicAtomic, i32, i32, i8*, [1 x i8] } |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 8 | %struct.QFactoryLoader = type { %struct.QObject } |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 9 | %struct.QImageIOHandler = type { i32 (...)**, %struct.QImageIOHandlerPrivate* } |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 10 | %struct.QImageIOHandlerPrivate = type opaque |
| 11 | %struct.QImageWriter = type { %struct.QImageWriterPrivate* } |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 12 | %struct.QImageWriterPrivate = type { %struct.QByteArray, %struct.QFactoryLoader*, i1, %struct.QImageIOHandler*, i32, float, %struct.QString, %struct.QString, i32, %struct.QString, %struct.QImageWriter* } |
| 13 | %"struct.QList<QByteArray>" = type { %"struct.QList<QByteArray>::._20" } |
| 14 | %"struct.QList<QByteArray>::._20" = type { %struct.QListData } |
| 15 | %struct.QListData = type { %"struct.QListData::Data"* } |
| 16 | %"struct.QListData::Data" = type { %struct.QBasicAtomic, i32, i32, i32, i8, [1 x i8*] } |
| 17 | %struct.QObject = type { i32 (...)**, %struct.QObjectData* } |
| 18 | %struct.QObjectData = type { i32 (...)**, %struct.QObject*, %struct.QObject*, %"struct.QList<QByteArray>", i8, [3 x i8], i32, i32 } |
| 19 | %struct.QString = type { %"struct.QString::Data"* } |
| 20 | %"struct.QString::Data" = type { %struct.QBasicAtomic, i32, i32, i16*, i8, i8, [1 x i16] } |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 21 | |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 22 | define i1 @_ZNK12QImageWriter8canWriteEv() { |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 23 | %tmp62 = load %struct.QImageWriterPrivate** null ; <%struct.QImageWriterPrivate*> [#uses=1] |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 24 | %tmp = getelementptr %struct.QImageWriterPrivate* %tmp62, i32 0, i32 9 ; <%struct.QString*> [#uses=1] |
| 25 | %tmp75 = call %struct.QString* @_ZN7QStringaSERKS_( %struct.QString* %tmp, %struct.QString* null ) ; <%struct.QString*> [#uses=0] |
| 26 | call void asm sideeffect "lock\0Adecl $0\0Asetne 1", "=*m"( i32* null ) |
| 27 | ret i1 false |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 28 | } |
| 29 | |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame^] | 30 | declare %struct.QString* @_ZN7QStringaSERKS_(%struct.QString*, %struct.QString*) |