• Home
  • Raw
  • Download

Lines Matching refs:X86_64

2 ; RUN: llc -mtriple x86_64-apple-macosx10.13.0 < %s | FileCheck %s --check-prefix=X86_64
34 ; X86_64-LABEL: bar:
35 ; X86_64: ## %bb.0: ## %entry
36 ; X86_64-NEXT: pushq %rbp
37 ; X86_64-NEXT: .cfi_def_cfa_offset 16
38 ; X86_64-NEXT: .cfi_offset %rbp, -16
39 ; X86_64-NEXT: movq _buf@{{.*}}(%rip), %rax
40 ; X86_64-NEXT: movq (%rax), %rax
41 ; X86_64-NEXT: xorl %edx, %edx
42 ; X86_64-NEXT: rdsspq %rdx
43 ; X86_64-NEXT: testq %rdx, %rdx
44 ; X86_64-NEXT: je LBB0_5
45 ; X86_64-NEXT: ## %bb.1: ## %entry
46 ; X86_64-NEXT: movq 24(%rax), %rcx
47 ; X86_64-NEXT: subq %rdx, %rcx
48 ; X86_64-NEXT: jbe LBB0_5
49 ; X86_64-NEXT: ## %bb.2: ## %entry
50 ; X86_64-NEXT: shrq $3, %rcx
51 ; X86_64-NEXT: incsspq %rcx
52 ; X86_64-NEXT: shrq $8, %rcx
53 ; X86_64-NEXT: je LBB0_5
54 ; X86_64-NEXT: ## %bb.3: ## %entry
55 ; X86_64-NEXT: shlq %rcx
56 ; X86_64-NEXT: movq $128, %rdx
57 ; X86_64-NEXT: LBB0_4: ## %entry
58 ; X86_64-NEXT: ## =>This Inner Loop Header: Depth=1
59 ; X86_64-NEXT: incsspq %rdx
60 ; X86_64-NEXT: decq %rcx
61 ; X86_64-NEXT: jne LBB0_4
62 ; X86_64-NEXT: LBB0_5: ## %entry
63 ; X86_64-NEXT: movq (%rax), %rbp
64 ; X86_64-NEXT: movq 8(%rax), %rcx
65 ; X86_64-NEXT: movq 16(%rax), %rsp
66 ; X86_64-NEXT: jmpq *%rcx
112 ; X86_64-LABEL: foo:
113 ; X86_64: ## %bb.0: ## %entry
114 ; X86_64-NEXT: pushq %rbp
115 ; X86_64-NEXT: .cfi_def_cfa_offset 16
116 ; X86_64-NEXT: .cfi_offset %rbp, -16
117 ; X86_64-NEXT: movq %rsp, %rbp
118 ; X86_64-NEXT: .cfi_def_cfa_register %rbp
119 ; X86_64-NEXT: pushq %r15
120 ; X86_64-NEXT: pushq %r14
121 ; X86_64-NEXT: pushq %r13
122 ; X86_64-NEXT: pushq %r12
123 ; X86_64-NEXT: pushq %rbx
124 ; X86_64-NEXT: pushq %rax
125 ; X86_64-NEXT: .cfi_offset %rbx, -56
126 ; X86_64-NEXT: .cfi_offset %r12, -48
127 ; X86_64-NEXT: .cfi_offset %r13, -40
128 ; X86_64-NEXT: .cfi_offset %r14, -32
129 ; X86_64-NEXT: .cfi_offset %r15, -24
130 ; X86_64-NEXT: ## kill: def $edi killed $edi def $rdi
131 ; X86_64-NEXT: movq %rdi, {{[-0-9]+}}(%r{{[sb]}}p) ## 8-byte Spill
132 ; X86_64-NEXT: movq _buf@{{.*}}(%rip), %rax
133 ; X86_64-NEXT: movq (%rax), %rax
134 ; X86_64-NEXT: movq %rbp, (%rax)
135 ; X86_64-NEXT: movq %rsp, 16(%rax)
136 ; X86_64-NEXT: leaq {{.*}}(%rip), %rcx
137 ; X86_64-NEXT: movq %rcx, 8(%rax)
138 ; X86_64-NEXT: xorq %rcx, %rcx
139 ; X86_64-NEXT: rdsspq %rcx
140 ; X86_64-NEXT: movq %rcx, 24(%rax)
141 ; X86_64-NEXT: #EH_SjLj_Setup LBB1_4
142 ; X86_64-NEXT: ## %bb.1: ## %entry
143 ; X86_64-NEXT: xorl %eax, %eax
144 ; X86_64-NEXT: jmp LBB1_2
145 ; X86_64-NEXT: LBB1_4: ## Block address taken
146 ; X86_64-NEXT: ## %entry
147 ; X86_64-NEXT: movl $1, %eax
148 ; X86_64-NEXT: LBB1_2: ## %entry
149 ; X86_64-NEXT: testl %eax, %eax
150 ; X86_64-NEXT: je LBB1_5
151 ; X86_64-NEXT: ## %bb.3: ## %if.end
152 ; X86_64-NEXT: movq {{[-0-9]+}}(%r{{[sb]}}p), %rax ## 8-byte Reload
153 ; X86_64-NEXT: shll $2, %eax
154 ; X86_64-NEXT: leal (%rax,%rax,2), %eax
155 ; X86_64-NEXT: addq $8, %rsp
156 ; X86_64-NEXT: popq %rbx
157 ; X86_64-NEXT: popq %r12
158 ; X86_64-NEXT: popq %r13
159 ; X86_64-NEXT: popq %r14
160 ; X86_64-NEXT: popq %r15
161 ; X86_64-NEXT: popq %rbp
162 ; X86_64-NEXT: retq
163 ; X86_64-NEXT: LBB1_5: ## %if.then
164 ; X86_64-NEXT: callq _bar
165 ; X86_64-NEXT: ud2