File: 2009-08-16-VLA.ll

package info (click to toggle)
llvm 2.6-9.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 57,604 kB
  • ctags: 44,336
  • sloc: cpp: 344,766; sh: 12,407; ansic: 10,617; ada: 3,070; ml: 2,505; perl: 2,496; makefile: 1,426; pascal: 1,163; exp: 389; asm: 307; python: 298; objc: 260; lisp: 182; csh: 117; xml: 38; f90: 36; tcl: 20
file content (23 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; RUN: llvm-as < %s | opt -scalarrepl -disable-opt

	%struct.Item = type { [4 x i16], %struct.rule* }
	%struct.rule = type { [4 x i16], i32, i32, i32, %struct.nonterminal*, %struct.pattern*, i8 }
	%struct.nonterminal = type { i8*, i32, i32, i32, %struct.plankMap*, %struct.rule* }
	%struct.plankMap = type { %struct.list*, i32, %struct.stateMap* }
	%struct.list = type { i8*, %struct.list* }
	%struct.stateMap = type { i8*, %struct.plank*, i32, i16* }
	%struct.plank = type { i8*, %struct.list*, i32 }
	%struct.pattern = type { %struct.nonterminal*, %struct.operator*, [2 x %struct.nonterminal*] }
	%struct.operator = type { i8*, i8, i32, i32, i32, i32, %struct.table* }
	%struct.table = type { %struct.operator*, %struct.list*, i16*, [2 x %struct.dimension*], %struct.item_set** }
	%struct.dimension = type { i16*, %struct.Index_Map, %struct.mapping*, i32, %struct.plankMap* }
	%struct.Index_Map = type { i32, %struct.item_set** }
	%struct.item_set = type { i32, i32, %struct.operator*, [2 x %struct.item_set*], %struct.item_set*, i16*, %struct.Item*, %struct.Item* }
	%struct.mapping = type { %struct.list**, i32, i32, i32, %struct.item_set** }

define void @addHP_2_0() {
bb4.i:
	%0 = malloc [0 x %struct.Item]		; <[0 x %struct.Item]*> [#uses=1]
	%.sub.i.c.i = getelementptr [0 x %struct.Item]* %0, i32 0, i32 0		; <%struct.Item*> [#uses=0]
	unreachable
}