1
1
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2
2
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
3
3
4
- define i8* @test_memcpy1 (i8* %P , i8* %Q ) {
5
- ; CHECK-LABEL: test_memcpy1 :
4
+ define i8* @test_memcpy1_generic (i8* %P , i8* %Q ) {
5
+ ; CHECK-LABEL: test_memcpy1_generic :
6
6
; CHECK: # %bb.0:
7
7
; CHECK-NEXT: pushq %rbx
8
8
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -19,8 +19,8 @@ define i8* @test_memcpy1(i8* %P, i8* %Q) {
19
19
; 3rd arg (%edx) -- length
20
20
}
21
21
22
- define i8* @test_memcpy2 (i8* %P , i8* %Q ) {
23
- ; CHECK-LABEL: test_memcpy2 :
22
+ define i8* @test_memcpy2_generic (i8* %P , i8* %Q ) {
23
+ ; CHECK-LABEL: test_memcpy2_generic :
24
24
; CHECK: # %bb.0:
25
25
; CHECK-NEXT: pushq %rbx
26
26
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -37,8 +37,8 @@ define i8* @test_memcpy2(i8* %P, i8* %Q) {
37
37
; 3rd arg (%edx) -- length
38
38
}
39
39
40
- define i8* @test_memcpy4 (i8* %P , i8* %Q ) {
41
- ; CHECK-LABEL: test_memcpy4 :
40
+ define i8* @test_memcpy4_generic (i8* %P , i8* %Q ) {
41
+ ; CHECK-LABEL: test_memcpy4_generic :
42
42
; CHECK: # %bb.0:
43
43
; CHECK-NEXT: pushq %rbx
44
44
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -73,8 +73,8 @@ define i8* @test_memcpy8(i8* %P, i8* %Q) {
73
73
; 3rd arg (%edx) -- length
74
74
}
75
75
76
- define i8* @test_memcpy16 (i8* %P , i8* %Q ) {
77
- ; CHECK-LABEL: test_memcpy16 :
76
+ define i8* @test_memcpy16_generic (i8* %P , i8* %Q ) {
77
+ ; CHECK-LABEL: test_memcpy16_generic :
78
78
; CHECK: # %bb.0:
79
79
; CHECK-NEXT: pushq %rbx
80
80
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -115,8 +115,8 @@ define void @test_memcpy_args(i8** %Storage) {
115
115
ret void
116
116
}
117
117
118
- define i8* @test_memmove1 (i8* %P , i8* %Q ) {
119
- ; CHECK-LABEL: test_memmove1 :
118
+ define i8* @test_memmove1_generic (i8* %P , i8* %Q ) {
119
+ ; CHECK-LABEL: test_memmove1_generic :
120
120
; CHECK: # %bb.0:
121
121
; CHECK-NEXT: pushq %rbx
122
122
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -133,8 +133,8 @@ define i8* @test_memmove1(i8* %P, i8* %Q) {
133
133
; 3rd arg (%edx) -- length
134
134
}
135
135
136
- define i8* @test_memmove2 (i8* %P , i8* %Q ) {
137
- ; CHECK-LABEL: test_memmove2 :
136
+ define i8* @test_memmove2_generic (i8* %P , i8* %Q ) {
137
+ ; CHECK-LABEL: test_memmove2_generic :
138
138
; CHECK: # %bb.0:
139
139
; CHECK-NEXT: pushq %rbx
140
140
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -151,8 +151,8 @@ define i8* @test_memmove2(i8* %P, i8* %Q) {
151
151
; 3rd arg (%edx) -- length
152
152
}
153
153
154
- define i8* @test_memmove4 (i8* %P , i8* %Q ) {
155
- ; CHECK-LABEL: test_memmove4 :
154
+ define i8* @test_memmove4_generic (i8* %P , i8* %Q ) {
155
+ ; CHECK-LABEL: test_memmove4_generic :
156
156
; CHECK: # %bb.0:
157
157
; CHECK-NEXT: pushq %rbx
158
158
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -169,8 +169,8 @@ define i8* @test_memmove4(i8* %P, i8* %Q) {
169
169
; 3rd arg (%edx) -- length
170
170
}
171
171
172
- define i8* @test_memmove8 (i8* %P , i8* %Q ) {
173
- ; CHECK-LABEL: test_memmove8 :
172
+ define i8* @test_memmove8_generic (i8* %P , i8* %Q ) {
173
+ ; CHECK-LABEL: test_memmove8_generic :
174
174
; CHECK: # %bb.0:
175
175
; CHECK-NEXT: pushq %rbx
176
176
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -187,8 +187,8 @@ define i8* @test_memmove8(i8* %P, i8* %Q) {
187
187
; 3rd arg (%edx) -- length
188
188
}
189
189
190
- define i8* @test_memmove16 (i8* %P , i8* %Q ) {
191
- ; CHECK-LABEL: test_memmove16 :
190
+ define i8* @test_memmove16_generic (i8* %P , i8* %Q ) {
191
+ ; CHECK-LABEL: test_memmove16_generic :
192
192
; CHECK: # %bb.0:
193
193
; CHECK-NEXT: pushq %rbx
194
194
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -229,8 +229,8 @@ define void @test_memmove_args(i8** %Storage) {
229
229
ret void
230
230
}
231
231
232
- define i8* @test_memset1 (i8* %P , i8 %V ) {
233
- ; CHECK-LABEL: test_memset1 :
232
+ define i8* @test_memset1_generic (i8* %P , i8 %V ) {
233
+ ; CHECK-LABEL: test_memset1_generic :
234
234
; CHECK: # %bb.0:
235
235
; CHECK-NEXT: pushq %rbx
236
236
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -247,8 +247,8 @@ define i8* @test_memset1(i8* %P, i8 %V) {
247
247
; 3rd arg (%edx) -- length
248
248
}
249
249
250
- define i8* @test_memset2 (i8* %P , i8 %V ) {
251
- ; CHECK-LABEL: test_memset2 :
250
+ define i8* @test_memset2_generic (i8* %P , i8 %V ) {
251
+ ; CHECK-LABEL: test_memset2_generic :
252
252
; CHECK: # %bb.0:
253
253
; CHECK-NEXT: pushq %rbx
254
254
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -265,8 +265,8 @@ define i8* @test_memset2(i8* %P, i8 %V) {
265
265
; 3rd arg (%edx) -- length
266
266
}
267
267
268
- define i8* @test_memset4 (i8* %P , i8 %V ) {
269
- ; CHECK-LABEL: test_memset4 :
268
+ define i8* @test_memset4_generic (i8* %P , i8 %V ) {
269
+ ; CHECK-LABEL: test_memset4_generic :
270
270
; CHECK: # %bb.0:
271
271
; CHECK-NEXT: pushq %rbx
272
272
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -283,8 +283,8 @@ define i8* @test_memset4(i8* %P, i8 %V) {
283
283
; 3rd arg (%edx) -- length
284
284
}
285
285
286
- define i8* @test_memset8 (i8* %P , i8 %V ) {
287
- ; CHECK-LABEL: test_memset8 :
286
+ define i8* @test_memset8_generic (i8* %P , i8 %V ) {
287
+ ; CHECK-LABEL: test_memset8_generic :
288
288
; CHECK: # %bb.0:
289
289
; CHECK-NEXT: pushq %rbx
290
290
; CHECK-NEXT: .cfi_def_cfa_offset 16
@@ -301,8 +301,8 @@ define i8* @test_memset8(i8* %P, i8 %V) {
301
301
; 3rd arg (%edx) -- length
302
302
}
303
303
304
- define i8* @test_memset16 (i8* %P , i8 %V ) {
305
- ; CHECK-LABEL: test_memset16 :
304
+ define i8* @test_memset16_generic (i8* %P , i8 %V ) {
305
+ ; CHECK-LABEL: test_memset16_generic :
306
306
; CHECK: # %bb.0:
307
307
; CHECK-NEXT: pushq %rbx
308
308
; CHECK-NEXT: .cfi_def_cfa_offset 16
0 commit comments