File: 2006-12-19-IntelSyntax.ll

package info (click to toggle)
llvm-toolchain-17 1%3A17.0.6-22
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,799,624 kB
  • sloc: cpp: 6,428,607; ansic: 1,383,196; asm: 793,408; python: 223,504; objc: 75,364; f90: 60,502; lisp: 33,869; pascal: 15,282; sh: 9,684; perl: 7,453; ml: 4,937; awk: 3,523; makefile: 2,889; javascript: 2,149; xml: 888; fortran: 619; cs: 573
file content (86 lines) | stat: -rw-r--r-- 1,374 bytes parent folder | download | duplicates (27)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
; RUN: llc < %s -x86-asm-syntax=intel
; PR1061
target datalayout = "e-p:32:32"
target triple = "i686-pc-linux-gnu"

define void @bar(i32 %n) {
entry:
	switch i32 %n, label %bb12 [
		 i32 1, label %bb
		 i32 2, label %bb6
		 i32 4, label %bb7
		 i32 5, label %bb8
		 i32 6, label %bb10
		 i32 7, label %bb1
		 i32 8, label %bb3
		 i32 9, label %bb4
		 i32 10, label %bb9
		 i32 11, label %bb2
		 i32 12, label %bb5
		 i32 13, label %bb11
	]

bb:		; preds = %entry
	call void (...) @foo1( )
	ret void

bb1:		; preds = %entry
	call void (...) @foo2( )
	ret void

bb2:		; preds = %entry
	call void (...) @foo6( )
	ret void

bb3:		; preds = %entry
	call void (...) @foo3( )
	ret void

bb4:		; preds = %entry
	call void (...) @foo4( )
	ret void

bb5:		; preds = %entry
	call void (...) @foo5( )
	ret void

bb6:		; preds = %entry
	call void (...) @foo1( )
	ret void

bb7:		; preds = %entry
	call void (...) @foo2( )
	ret void

bb8:		; preds = %entry
	call void (...) @foo6( )
	ret void

bb9:		; preds = %entry
	call void (...) @foo3( )
	ret void

bb10:		; preds = %entry
	call void (...) @foo4( )
	ret void

bb11:		; preds = %entry
	call void (...) @foo5( )
	ret void

bb12:		; preds = %entry
	call void (...) @foo6( )
	ret void
}

declare void @foo1(...)

declare void @foo2(...)

declare void @foo6(...)

declare void @foo3(...)

declare void @foo4(...)

declare void @foo5(...)