• Home
  • Raw
  • Download

Lines Matching refs:X64

1 …machineinstrs -mtriple=x86_64-unknown < %s | FileCheck %s --check-prefix=X64 --check-prefix=X64-ALL
2 …hineinstrs -mtriple=x86_64-unknown --x86-lvi-load-no-cbranch < %s | FileCheck %s --check-prefix=X64
3 ; RUN: llc -O0 -verify-machineinstrs -mtriple=x86_64-unknown < %s | FileCheck %s --check-prefix=X64
7 ; X64-LABEL: test:
20 ; X64: # %bb.0: # %entry
21 ; X64-NEXT: movq %rdi, -{{[0-9]+}}(%rsp)
22 ; X64-NEXT: movl %esi, -{{[0-9]+}}(%rsp)
23 ; X64-NEXT: movl $0, -{{[0-9]+}}(%rsp)
24 ; X64-NEXT: lfence
25 ; X64-NEXT: movl $0, -{{[0-9]+}}(%rsp)
26 ; X64-NEXT: jmp .LBB0_1
28 ; X64-NOOPT: # %bb.0: # %entry
29 ; X64-NOOPT-NEXT: lfence
30 ; X64-NOOPT-NEXT: movq %rdi, -{{[0-9]+}}(%rsp)
31 ; X64-NOOPT-NEXT: lfence
32 ; X64-NOOPT-NEXT: movl %esi, -{{[0-9]+}}(%rsp)
33 ; X64-NOOPT-NEXT: lfence
34 ; X64-NOOPT-NEXT: movl $0, -{{[0-9]+}}(%rsp)
35 ; X64-NOOPT-NEXT: lfence
36 ; X64-NOOPT-NEXT: movl $0, -{{[0-9]+}}(%rsp)
44 ; X64: .LBB0_1: # %for.cond
45 ; X64-NEXT: # =>This Inner Loop Header: Depth=1
46 ; X64-NEXT: movl -{{[0-9]+}}(%rsp), %eax
47 ; X64-ALL-NEXT: lfence
48 ; X64-NEXT: cmpl -{{[0-9]+}}(%rsp), %eax
49 ; X64-ALL-NEXT: lfence
50 ; X64-NEXT: jge .LBB0_5
52 ; X64-NOOPT: .LBB0_1: # %for.cond
53 ; X64-NOOPT-NEXT: # =>This Inner Loop Header: Depth=1
54 ; X64-NOOPT-NEXT: lfence
55 ; X64-NOOPT-NEXT: movl -{{[0-9]+}}(%rsp), %eax
56 ; X64-NOOPT-NEXT: lfence
57 ; X64-NOOPT-NEXT: cmpl -{{[0-9]+}}(%rsp), %eax
58 ; X64-NOOPT-NEXT: lfence
59 ; X64-NOOPT-NEXT: jge .LBB0_6
67 ; X64: # %bb.2: # %for.body
68 ; X64-NEXT: # in Loop: Header=BB0_1 Depth=1
69 ; X64-NEXT: movl -{{[0-9]+}}(%rsp), %eax
70 ; X64-ALL-NEXT: lfence
71 ; X64-NEXT: movl %eax, %ecx
72 ; X64-NEXT: shrl $31, %ecx
73 ; X64-NEXT: addl %eax, %ecx
74 ; X64-NEXT: andl $-2, %ecx
75 ; X64-NEXT: cmpl %ecx, %eax
76 ; X64-NEXT: jne .LBB0_4
78 ; X64-NOOPT: # %bb.2: # %for.body
79 ; X64-NOOPT-NEXT: # in Loop: Header=BB0_1 Depth=1
80 ; X64-NOOPT-NEXT: lfence
81 ; X64-NOOPT-NEXT: movl -{{[0-9]+}}(%rsp), %eax
82 ; X64-NOOPT-NEXT: cltd
83 ; X64-NOOPT-NEXT: movl $2, %ecx
84 ; X64-NOOPT-NEXT: idivl %ecx
85 ; X64-NOOPT-NEXT: cmpl $0, %edx
86 ; X64-NOOPT-NEXT: lfence
87 ; X64-NOOPT-NEXT: jne .LBB0_4
99 ; X64: # %bb.3: # %if.then
100 ; X64-NEXT: # in Loop: Header=BB0_1 Depth=1
101 ; X64-NEXT: movq -{{[0-9]+}}(%rsp), %rax
102 ; X64-NEXT: lfence
103 ; X64-NEXT: movslq -{{[0-9]+}}(%rsp), %rcx
104 ; X64-NEXT: lfence
105 ; X64-NEXT: movq (%rax,%rcx,8), %rax
106 ; X64-NEXT: lfence
107 ; X64-NEXT: movl (%rax), %eax
108 ; X64-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
109 ; X64-NEXT: jmp .LBB0_4
111 ; X64-NOOPT: # %bb.3: # %if.then
112 ; X64-NOOPT-NEXT: # in Loop: Header=BB0_1 Depth=1
113 ; X64-NOOPT-NEXT: lfence
114 ; X64-NOOPT-NEXT: movq -{{[0-9]+}}(%rsp), %rax
115 ; X64-NOOPT-NEXT: lfence
116 ; X64-NOOPT-NEXT: movslq -{{[0-9]+}}(%rsp), %rcx
117 ; X64-NOOPT-NEXT: lfence
118 ; X64-NOOPT-NEXT: movq (%rax,%rcx,8), %rax
119 ; X64-NOOPT-NEXT: lfence
120 ; X64-NOOPT-NEXT: movl (%rax), %eax
121 ; X64-NOOPT-NEXT: lfence
122 ; X64-NOOPT-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
133 ; X64-NOOPT: .LBB0_5: # %for.inc
134 ; X64-NOOPT-NEXT: # in Loop: Header=BB0_1 Depth=1
135 ; X64-NOOPT-NEXT: lfence
136 ; X64-NOOPT-NEXT: movl -{{[0-9]+}}(%rsp), %eax
137 ; X64-NOOPT-NEXT: addl $1, %eax
138 ; X64-NOOPT-NEXT: lfence
139 ; X64-NOOPT-NEXT: movl %eax, -{{[0-9]+}}(%rsp)
140 ; X64-NOOPT-NEXT: lfence
141 ; X64-NOOPT-NEXT: jmp .LBB0_1