Lines Matching refs:reg
28 Arm64ManagedRegister reg = ManagedRegister::NoRegister().AsArm64(); in TEST() local
29 EXPECT_TRUE(reg.IsNoRegister()); in TEST()
30 EXPECT_TRUE(!reg.Overlaps(reg)); in TEST()
35 Arm64ManagedRegister reg = Arm64ManagedRegister::FromXRegister(X0); in TEST() local
37 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
38 EXPECT_TRUE(reg.IsXRegister()); in TEST()
39 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
40 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
41 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
42 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
43 EXPECT_EQ(X0, reg.AsXRegister()); in TEST()
45 reg = Arm64ManagedRegister::FromXRegister(X1); in TEST()
47 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
48 EXPECT_TRUE(reg.IsXRegister()); in TEST()
49 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
50 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
51 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
52 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
53 EXPECT_EQ(X1, reg.AsXRegister()); in TEST()
55 reg = Arm64ManagedRegister::FromXRegister(X7); in TEST()
57 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
58 EXPECT_TRUE(reg.IsXRegister()); in TEST()
59 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
60 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
61 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
62 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
63 EXPECT_EQ(X7, reg.AsXRegister()); in TEST()
65 reg = Arm64ManagedRegister::FromXRegister(X15); in TEST()
67 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
68 EXPECT_TRUE(reg.IsXRegister()); in TEST()
69 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
70 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
71 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
72 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
73 EXPECT_EQ(X15, reg.AsXRegister()); in TEST()
75 reg = Arm64ManagedRegister::FromXRegister(X19); in TEST()
77 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
78 EXPECT_TRUE(reg.IsXRegister()); in TEST()
79 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
80 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
81 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
82 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
83 EXPECT_EQ(X19, reg.AsXRegister()); in TEST()
85 reg = Arm64ManagedRegister::FromXRegister(X16); in TEST()
87 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
88 EXPECT_TRUE(reg.IsXRegister()); in TEST()
89 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
90 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
91 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
92 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
93 EXPECT_EQ(IP0, reg.AsXRegister()); in TEST()
95 reg = Arm64ManagedRegister::FromXRegister(SP); in TEST()
97 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
98 EXPECT_TRUE(reg.IsXRegister()); in TEST()
99 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
100 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
101 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
102 EXPECT_TRUE(!reg.Overlaps(wreg)); in TEST()
103 EXPECT_EQ(SP, reg.AsXRegister()); in TEST()
108 Arm64ManagedRegister reg = Arm64ManagedRegister::FromWRegister(W0); in TEST() local
110 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
111 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
112 EXPECT_TRUE(reg.IsWRegister()); in TEST()
113 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
114 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
115 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
116 EXPECT_EQ(W0, reg.AsWRegister()); in TEST()
118 reg = Arm64ManagedRegister::FromWRegister(W5); in TEST()
120 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
121 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
122 EXPECT_TRUE(reg.IsWRegister()); in TEST()
123 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
124 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
125 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
126 EXPECT_EQ(W5, reg.AsWRegister()); in TEST()
128 reg = Arm64ManagedRegister::FromWRegister(W6); in TEST()
130 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
131 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
132 EXPECT_TRUE(reg.IsWRegister()); in TEST()
133 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
134 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
135 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
136 EXPECT_EQ(W6, reg.AsWRegister()); in TEST()
138 reg = Arm64ManagedRegister::FromWRegister(W18); in TEST()
140 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
141 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
142 EXPECT_TRUE(reg.IsWRegister()); in TEST()
143 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
144 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
145 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
146 EXPECT_EQ(W18, reg.AsWRegister()); in TEST()
148 reg = Arm64ManagedRegister::FromWRegister(W29); in TEST()
150 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
151 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
152 EXPECT_TRUE(reg.IsWRegister()); in TEST()
153 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
154 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
155 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
156 EXPECT_EQ(W29, reg.AsWRegister()); in TEST()
158 reg = Arm64ManagedRegister::FromWRegister(WZR); in TEST()
160 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
161 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
162 EXPECT_TRUE(reg.IsWRegister()); in TEST()
163 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
164 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
165 EXPECT_TRUE(!reg.Overlaps(xreg)); in TEST()
170 Arm64ManagedRegister reg = Arm64ManagedRegister::FromDRegister(D0); in TEST() local
172 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
173 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
174 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
175 EXPECT_TRUE(reg.IsDRegister()); in TEST()
176 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
177 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
178 EXPECT_EQ(D0, reg.AsDRegister()); in TEST()
179 EXPECT_EQ(S0, reg.AsOverlappingSRegister()); in TEST()
180 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
182 reg = Arm64ManagedRegister::FromDRegister(D1); in TEST()
184 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
185 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
186 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
187 EXPECT_TRUE(reg.IsDRegister()); in TEST()
188 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
189 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
190 EXPECT_EQ(D1, reg.AsDRegister()); in TEST()
191 EXPECT_EQ(S1, reg.AsOverlappingSRegister()); in TEST()
192 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
194 reg = Arm64ManagedRegister::FromDRegister(D20); in TEST()
196 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
197 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
198 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
199 EXPECT_TRUE(reg.IsDRegister()); in TEST()
200 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
201 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
202 EXPECT_EQ(D20, reg.AsDRegister()); in TEST()
203 EXPECT_EQ(S20, reg.AsOverlappingSRegister()); in TEST()
204 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D20))); in TEST()
206 reg = Arm64ManagedRegister::FromDRegister(D31); in TEST()
208 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
209 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
210 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
211 EXPECT_TRUE(reg.IsDRegister()); in TEST()
212 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
213 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
214 EXPECT_EQ(D31, reg.AsDRegister()); in TEST()
215 EXPECT_EQ(S31, reg.AsOverlappingSRegister()); in TEST()
216 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D31))); in TEST()
221 Arm64ManagedRegister reg = Arm64ManagedRegister::FromSRegister(S0); in TEST() local
223 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
224 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
225 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
226 EXPECT_TRUE(reg.IsSRegister()); in TEST()
227 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
228 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
229 EXPECT_EQ(S0, reg.AsSRegister()); in TEST()
230 EXPECT_EQ(D0, reg.AsOverlappingDRegister()); in TEST()
231 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
233 reg = Arm64ManagedRegister::FromSRegister(S5); in TEST()
235 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
236 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
237 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
238 EXPECT_TRUE(reg.IsSRegister()); in TEST()
239 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
240 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
241 EXPECT_EQ(S5, reg.AsSRegister()); in TEST()
242 EXPECT_EQ(D5, reg.AsOverlappingDRegister()); in TEST()
243 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S5))); in TEST()
245 reg = Arm64ManagedRegister::FromSRegister(S7); in TEST()
247 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
248 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
249 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
250 EXPECT_TRUE(reg.IsSRegister()); in TEST()
251 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
252 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
253 EXPECT_EQ(S7, reg.AsSRegister()); in TEST()
254 EXPECT_EQ(D7, reg.AsOverlappingDRegister()); in TEST()
255 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S7))); in TEST()
257 reg = Arm64ManagedRegister::FromSRegister(S31); in TEST()
259 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
260 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
261 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
262 EXPECT_TRUE(reg.IsSRegister()); in TEST()
263 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
264 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
265 EXPECT_EQ(S31, reg.AsSRegister()); in TEST()
266 EXPECT_EQ(D31, reg.AsOverlappingDRegister()); in TEST()
267 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
377 Arm64ManagedRegister reg = Arm64ManagedRegister::FromXRegister(X0); in TEST() local
379 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X0))); in TEST()
380 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
381 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
382 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W0))); in TEST()
383 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
384 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
385 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
387 EXPECT_EQ(W0, reg.AsOverlappingWRegister()); in TEST()
388 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
389 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
390 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
391 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
392 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
393 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
394 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
395 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
396 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
397 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
399 reg = Arm64ManagedRegister::FromXRegister(X10); in TEST()
401 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X10))); in TEST()
402 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
403 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
404 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W10))); in TEST()
405 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
406 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
407 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
409 EXPECT_EQ(W10, reg.AsOverlappingWRegister()); in TEST()
410 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
411 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
412 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
413 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
414 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
415 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
416 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
417 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
418 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
419 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
421 reg = Arm64ManagedRegister::FromXRegister(IP1); in TEST()
423 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X17))); in TEST()
424 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
425 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
426 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W17))); in TEST()
427 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
428 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
429 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
431 EXPECT_EQ(W17, reg.AsOverlappingWRegister()); in TEST()
432 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
433 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
434 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
435 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
436 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
437 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
438 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
439 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
440 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
441 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
443 reg = Arm64ManagedRegister::FromXRegister(XZR); in TEST()
445 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
446 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
447 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
448 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
449 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W19))); in TEST()
452 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
453 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
454 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
455 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
456 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
457 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
458 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
459 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
460 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
461 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
463 reg = Arm64ManagedRegister::FromXRegister(SP); in TEST()
465 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
466 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
467 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
468 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
469 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
470 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
471 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
472 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
473 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
474 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
475 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
476 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
477 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
478 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
479 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
481 reg = Arm64ManagedRegister::FromWRegister(W1); in TEST()
483 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
484 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
485 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
486 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
487 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
488 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
490 EXPECT_EQ(X1, reg.AsOverlappingXRegister()); in TEST()
491 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
492 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
493 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
494 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
495 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
496 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
497 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
498 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
499 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
500 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
502 reg = Arm64ManagedRegister::FromWRegister(W21); in TEST()
504 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W21))); in TEST()
505 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X21))); in TEST()
506 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
507 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
508 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
509 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
511 EXPECT_EQ(X21, reg.AsOverlappingXRegister()); in TEST()
512 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
513 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
514 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
515 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
516 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
517 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
518 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
519 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
520 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
521 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
524 reg = Arm64ManagedRegister::FromSRegister(S1); in TEST()
526 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X30))); in TEST()
527 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
528 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
529 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
530 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
531 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
532 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
534 EXPECT_EQ(D1, reg.AsOverlappingDRegister()); in TEST()
535 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
536 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
537 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
538 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
539 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
540 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
541 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
542 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
543 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D2))); in TEST()
544 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
545 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
547 reg = Arm64ManagedRegister::FromSRegister(S15); in TEST()
549 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X30))); in TEST()
550 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
551 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
552 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
553 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
554 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
555 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
557 EXPECT_EQ(D15, reg.AsOverlappingDRegister()); in TEST()
558 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
559 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
560 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
561 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S17))); in TEST()
562 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S16))); in TEST()
563 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
564 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D16))); in TEST()
565 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
566 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D2))); in TEST()
567 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D17))); in TEST()
568 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D20))); in TEST()
570 reg = Arm64ManagedRegister::FromDRegister(D15); in TEST()
572 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X30))); in TEST()
573 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
574 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
575 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
576 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
577 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
578 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
579 EXPECT_EQ(S15, reg.AsOverlappingSRegister()); in TEST()
581 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
582 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
583 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
584 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S17))); in TEST()
585 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S16))); in TEST()
586 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
587 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D16))); in TEST()
588 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
589 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D2))); in TEST()
590 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D17))); in TEST()
591 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D20))); in TEST()