File: 2008-03-24-CoalescerBug.ll

package info (click to toggle)
llvm-2.7 2.7-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 59,992 kB
  • ctags: 49,499
  • sloc: cpp: 373,792; ansic: 16,885; sh: 12,614; asm: 6,809; ada: 3,083; ml: 2,942; python: 2,671; perl: 2,404; makefile: 1,691; pascal: 1,235; exp: 399; objc: 291; lisp: 184; csh: 117; xml: 38; f90: 36
file content (30 lines) | stat: -rw-r--r-- 2,075 bytes parent folder | download | duplicates (2)
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
28
29
30
; RUN: llc < %s -march=ppc32

	%struct..0objc_object = type { %struct.objc_class* }
	%struct.NSArray = type { %struct..0objc_object }
	%struct.NSMutableArray = type { %struct.NSArray }
	%struct.PFTPersistentSymbols = type { %struct..0objc_object, %struct.VMUSymbolicator*, %struct.NSMutableArray*, %struct.__CFDictionary*, %struct.__CFDictionary*, %struct.__CFDictionary*, %struct.__CFDictionary*, %struct.NSMutableArray*, i8, %struct.pthread_mutex_t, %struct.NSMutableArray*, %struct.pthread_rwlock_t }
	%struct.VMUMachTaskContainer = type { %struct..0objc_object, i32, i32 }
	%struct.VMUSymbolicator = type { %struct..0objc_object, %struct.NSMutableArray*, %struct.NSArray*, %struct.NSArray*, %struct.VMUMachTaskContainer*, i8 }
	%struct.__CFDictionary = type opaque
	%struct.__builtin_CFString = type { i32*, i32, i8*, i32 }
	%struct.objc_class = type opaque
	%struct.objc_selector = type opaque
	%struct.pthread_mutex_t = type { i32, [40 x i8] }
	%struct.pthread_rwlock_t = type { i32, [124 x i8] }
external constant %struct.__builtin_CFString		; <%struct.__builtin_CFString*>:0 [#uses=1]

define void @"-[PFTPersistentSymbols saveSymbolWithName:address:path:lineNumber:flags:owner:]"(%struct.PFTPersistentSymbols* %self, %struct.objc_selector* %_cmd, %struct.NSArray* %name, i64 %address, %struct.NSArray* %path, i32 %lineNumber, i64 %flags, %struct..0objc_object* %owner) nounwind  {
entry:
	br i1 false, label %bb12, label %bb21
bb12:		; preds = %entry
	%tmp17 = tail call i8 inttoptr (i64 4294901504 to i8 (%struct..0objc_object*, %struct.objc_selector*, %struct.NSArray*)*)( %struct..0objc_object* null, %struct.objc_selector* null, %struct.NSArray* bitcast (%struct.__builtin_CFString* @0 to %struct.NSArray*) ) signext nounwind 		; <i8> [#uses=0]
	br i1 false, label %bb25, label %bb21
bb21:		; preds = %bb12, %entry
	%tmp24 = or i64 %flags, 4		; <i64> [#uses=1]
	br label %bb25
bb25:		; preds = %bb21, %bb12
	%flags_addr.0 = phi i64 [ %tmp24, %bb21 ], [ %flags, %bb12 ]		; <i64> [#uses=1]
	%tmp3233 = trunc i64 %flags_addr.0 to i32		; <i32> [#uses=0]
	ret void
}