File: 2007-10-21-LocalRegAllocAssert.ll

package info (click to toggle)
swiftlang 6.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,791,604 kB
  • sloc: cpp: 9,901,740; ansic: 2,201,431; asm: 1,091,827; python: 308,252; objc: 82,166; f90: 80,126; lisp: 38,358; pascal: 25,559; sh: 20,429; ml: 5,058; perl: 4,745; makefile: 4,484; awk: 3,535; javascript: 3,018; xml: 918; fortran: 664; cs: 573; ruby: 396
file content (32 lines) | stat: -rw-r--r-- 1,860 bytes parent folder | download | duplicates (17)
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
31
32
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -regalloc=fast -optimize-regalloc=0 -relocation-model=pic | FileCheck %s

	%struct.NSError = type opaque
	%struct.NSManagedObjectContext = type opaque
	%struct.NSPersistentStoreCoordinator = type opaque
	%struct.NSString = type opaque
	%struct.NSURL = type opaque
	%struct._message_ref_t = type { ptr, ptr }
	%struct.objc_object = type {  }
	%struct.objc_selector = type opaque
@"\01L_OBJC_MESSAGE_REF_2" = external global %struct._message_ref_t		; <ptr> [#uses=1]
@"\01L_OBJC_MESSAGE_REF_6" = external global %struct._message_ref_t		; <ptr> [#uses=1]
@NSXMLStoreType = external constant ptr		; <ptr> [#uses=1]
@"\01L_OBJC_MESSAGE_REF_5" = external global %struct._message_ref_t		; <ptr> [#uses=2]
@"\01L_OBJC_MESSAGE_REF_4" = external global %struct._message_ref_t		; <ptr> [#uses=1]

; TODO: KB: ORiginal test case was just checking it compiles; is this worth keeping?
; CHECK: managedObjectContextWithModelURL
; CHECK-NOT: blr
; CHECK: .cfi_endproc

define ptr @"+[ListGenerator(Private) managedObjectContextWithModelURL:storeURL:]"(ptr %self, ptr %_cmd, ptr %modelURL, ptr %storeURL) {
entry:
	%storeCoordinator = alloca ptr		; <ptr> [#uses=0]
	%tmp29 = call ptr (ptr, ptr, ...) null( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_2" )		; <ptr> [#uses=0]
	%tmp34 = load ptr, ptr @NSXMLStoreType, align 8		; <ptr> [#uses=1]
	%tmp37 = load ptr, ptr @"\01L_OBJC_MESSAGE_REF_5", align 8		; <ptr> [#uses=1]
	%tmp42 = call ptr (ptr, ptr, ...) null( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_4", i32 1 )		; <ptr> [#uses=1]
	%tmp45 = call ptr (ptr, ptr, ...) %tmp37( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_5", ptr %tmp42, ptr null )		; <ptr> [#uses=1]
	%tmp48 = call ptr (ptr, ptr, ...) null( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_6", ptr %tmp34, ptr null, ptr null, ptr %tmp45, ptr null )		; <ptr> [#uses=0]
	unreachable
}