File: pr3571.ll

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (27 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; RUN: opt < %s -loop-reduce | llvm-dis
; PR3571

target triple = "i386-pc-mingw32"
define void @_ZNK18qdesigner_internal10TreeWidget12drawBranchesEP8QPainterRK5QRectRK11QModelIndex() nounwind {
entry:
	br label %_ZNK11QModelIndex7isValidEv.exit.i

bb.i:		; preds = %_ZNK11QModelIndex7isValidEv.exit.i
	%indvar.next = add i32 %result.0.i, 1		; <i32> [#uses=1]
	br label %_ZNK11QModelIndex7isValidEv.exit.i

_ZNK11QModelIndex7isValidEv.exit.i:		; preds = %bb.i, %entry
	%result.0.i = phi i32 [ 0, %entry ], [ %indvar.next, %bb.i ]		; <i32> [#uses=2]
	%0 = load ptr, ptr null, align 4		; <ptr> [#uses=0]
	br i1 false, label %_ZN18qdesigner_internalL5levelEP18QAbstractItemModelRK11QModelIndex.exit, label %bb.i

_ZN18qdesigner_internalL5levelEP18QAbstractItemModelRK11QModelIndex.exit:		; preds = %_ZNK11QModelIndex7isValidEv.exit.i
	%1 = call i32 @_ZNK9QTreeView11indentationEv(ptr null) nounwind		; <i32> [#uses=1]
	%2 = mul i32 %1, %result.0.i		; <i32> [#uses=1]
	%3 = add i32 %2, -2		; <i32> [#uses=1]
	%4 = add i32 %3, 0		; <i32> [#uses=1]
	store i32 %4, ptr null, align 8
	unreachable
}

declare i32 @_ZNK9QTreeView11indentationEv(ptr)