Dan Gohman | 3c7d308 | 2009-09-11 18:01:28 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -scalarrepl -disable-opt |
Nick Lewycky | 3db0ba7 | 2009-08-17 05:37:31 +0000 | [diff] [blame] | 2 | |
| 3 | %struct.Item = type { [4 x i16], %struct.rule* } |
| 4 | %struct.rule = type { [4 x i16], i32, i32, i32, %struct.nonterminal*, %struct.pattern*, i8 } |
| 5 | %struct.nonterminal = type { i8*, i32, i32, i32, %struct.plankMap*, %struct.rule* } |
| 6 | %struct.plankMap = type { %struct.list*, i32, %struct.stateMap* } |
| 7 | %struct.list = type { i8*, %struct.list* } |
| 8 | %struct.stateMap = type { i8*, %struct.plank*, i32, i16* } |
| 9 | %struct.plank = type { i8*, %struct.list*, i32 } |
| 10 | %struct.pattern = type { %struct.nonterminal*, %struct.operator*, [2 x %struct.nonterminal*] } |
| 11 | %struct.operator = type { i8*, i8, i32, i32, i32, i32, %struct.table* } |
| 12 | %struct.table = type { %struct.operator*, %struct.list*, i16*, [2 x %struct.dimension*], %struct.item_set** } |
| 13 | %struct.dimension = type { i16*, %struct.Index_Map, %struct.mapping*, i32, %struct.plankMap* } |
| 14 | %struct.Index_Map = type { i32, %struct.item_set** } |
| 15 | %struct.item_set = type { i32, i32, %struct.operator*, [2 x %struct.item_set*], %struct.item_set*, i16*, %struct.Item*, %struct.Item* } |
| 16 | %struct.mapping = type { %struct.list**, i32, i32, i32, %struct.item_set** } |
| 17 | |
| 18 | define void @addHP_2_0() { |
| 19 | bb4.i: |
| 20 | %0 = malloc [0 x %struct.Item] ; <[0 x %struct.Item]*> [#uses=1] |
| 21 | %.sub.i.c.i = getelementptr [0 x %struct.Item]* %0, i32 0, i32 0 ; <%struct.Item*> [#uses=0] |
| 22 | unreachable |
| 23 | } |