Lines Matching refs:reg
27 Arm64ManagedRegister reg = ManagedRegister::NoRegister().AsArm64(); in TEST() local
28 EXPECT_TRUE(reg.IsNoRegister()); in TEST()
29 EXPECT_TRUE(!reg.Overlaps(reg)); in TEST()
34 Arm64ManagedRegister reg = Arm64ManagedRegister::FromXRegister(X0); in TEST() local
36 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
37 EXPECT_TRUE(reg.IsXRegister()); in TEST()
38 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
39 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
40 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
41 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
42 EXPECT_EQ(X0, reg.AsXRegister()); in TEST()
44 reg = Arm64ManagedRegister::FromXRegister(X1); in TEST()
46 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
47 EXPECT_TRUE(reg.IsXRegister()); in TEST()
48 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
49 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
50 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
51 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
52 EXPECT_EQ(X1, reg.AsXRegister()); in TEST()
54 reg = Arm64ManagedRegister::FromXRegister(X7); in TEST()
56 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
57 EXPECT_TRUE(reg.IsXRegister()); in TEST()
58 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
59 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
60 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
61 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
62 EXPECT_EQ(X7, reg.AsXRegister()); in TEST()
64 reg = Arm64ManagedRegister::FromXRegister(X15); in TEST()
66 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
67 EXPECT_TRUE(reg.IsXRegister()); in TEST()
68 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
69 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
70 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
71 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
72 EXPECT_EQ(X15, reg.AsXRegister()); in TEST()
74 reg = Arm64ManagedRegister::FromXRegister(X19); in TEST()
76 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
77 EXPECT_TRUE(reg.IsXRegister()); in TEST()
78 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
79 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
80 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
81 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
82 EXPECT_EQ(X19, reg.AsXRegister()); in TEST()
84 reg = Arm64ManagedRegister::FromXRegister(X16); in TEST()
86 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
87 EXPECT_TRUE(reg.IsXRegister()); in TEST()
88 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
89 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
90 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
91 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
92 EXPECT_EQ(IP0, reg.AsXRegister()); in TEST()
94 reg = Arm64ManagedRegister::FromXRegister(SP); in TEST()
96 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
97 EXPECT_TRUE(reg.IsXRegister()); in TEST()
98 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
99 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
100 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
101 EXPECT_TRUE(!reg.Overlaps(wreg)); in TEST()
102 EXPECT_EQ(SP, reg.AsXRegister()); in TEST()
107 Arm64ManagedRegister reg = Arm64ManagedRegister::FromWRegister(W0); in TEST() local
109 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
110 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
111 EXPECT_TRUE(reg.IsWRegister()); in TEST()
112 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
113 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
114 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
115 EXPECT_EQ(W0, reg.AsWRegister()); in TEST()
117 reg = Arm64ManagedRegister::FromWRegister(W5); in TEST()
119 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
120 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
121 EXPECT_TRUE(reg.IsWRegister()); in TEST()
122 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
123 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
124 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
125 EXPECT_EQ(W5, reg.AsWRegister()); in TEST()
127 reg = Arm64ManagedRegister::FromWRegister(W6); in TEST()
129 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
130 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
131 EXPECT_TRUE(reg.IsWRegister()); in TEST()
132 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
133 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
134 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
135 EXPECT_EQ(W6, reg.AsWRegister()); in TEST()
137 reg = Arm64ManagedRegister::FromWRegister(W18); in TEST()
139 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
140 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
141 EXPECT_TRUE(reg.IsWRegister()); in TEST()
142 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
143 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
144 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
145 EXPECT_EQ(W18, reg.AsWRegister()); in TEST()
147 reg = Arm64ManagedRegister::FromWRegister(W29); in TEST()
149 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
150 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
151 EXPECT_TRUE(reg.IsWRegister()); in TEST()
152 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
153 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
154 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
155 EXPECT_EQ(W29, reg.AsWRegister()); in TEST()
157 reg = Arm64ManagedRegister::FromWRegister(WZR); in TEST()
159 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
160 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
161 EXPECT_TRUE(reg.IsWRegister()); in TEST()
162 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
163 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
164 EXPECT_TRUE(!reg.Overlaps(xreg)); in TEST()
169 Arm64ManagedRegister reg = Arm64ManagedRegister::FromDRegister(D0); in TEST() local
171 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
172 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
173 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
174 EXPECT_TRUE(reg.IsDRegister()); in TEST()
175 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
176 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
177 EXPECT_EQ(D0, reg.AsDRegister()); in TEST()
178 EXPECT_EQ(S0, reg.AsOverlappingSRegister()); in TEST()
179 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
181 reg = Arm64ManagedRegister::FromDRegister(D1); in TEST()
183 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
184 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
185 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
186 EXPECT_TRUE(reg.IsDRegister()); in TEST()
187 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
188 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
189 EXPECT_EQ(D1, reg.AsDRegister()); in TEST()
190 EXPECT_EQ(S1, reg.AsOverlappingSRegister()); in TEST()
191 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
193 reg = Arm64ManagedRegister::FromDRegister(D20); in TEST()
195 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
196 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
197 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
198 EXPECT_TRUE(reg.IsDRegister()); in TEST()
199 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
200 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
201 EXPECT_EQ(D20, reg.AsDRegister()); in TEST()
202 EXPECT_EQ(S20, reg.AsOverlappingSRegister()); in TEST()
203 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D20))); in TEST()
205 reg = Arm64ManagedRegister::FromDRegister(D31); in TEST()
207 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
208 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
209 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
210 EXPECT_TRUE(reg.IsDRegister()); in TEST()
211 EXPECT_TRUE(!reg.IsSRegister()); in TEST()
212 EXPECT_TRUE(reg.Overlaps(sreg)); in TEST()
213 EXPECT_EQ(D31, reg.AsDRegister()); in TEST()
214 EXPECT_EQ(S31, reg.AsOverlappingSRegister()); in TEST()
215 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D31))); in TEST()
220 Arm64ManagedRegister reg = Arm64ManagedRegister::FromSRegister(S0); in TEST() local
222 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
223 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
224 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
225 EXPECT_TRUE(reg.IsSRegister()); in TEST()
226 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
227 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
228 EXPECT_EQ(S0, reg.AsSRegister()); in TEST()
229 EXPECT_EQ(D0, reg.AsOverlappingDRegister()); in TEST()
230 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
232 reg = Arm64ManagedRegister::FromSRegister(S5); in TEST()
234 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
235 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
236 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
237 EXPECT_TRUE(reg.IsSRegister()); in TEST()
238 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
239 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
240 EXPECT_EQ(S5, reg.AsSRegister()); in TEST()
241 EXPECT_EQ(D5, reg.AsOverlappingDRegister()); in TEST()
242 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S5))); in TEST()
244 reg = Arm64ManagedRegister::FromSRegister(S7); in TEST()
246 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
247 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
248 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
249 EXPECT_TRUE(reg.IsSRegister()); in TEST()
250 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
251 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
252 EXPECT_EQ(S7, reg.AsSRegister()); in TEST()
253 EXPECT_EQ(D7, reg.AsOverlappingDRegister()); in TEST()
254 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S7))); in TEST()
256 reg = Arm64ManagedRegister::FromSRegister(S31); in TEST()
258 EXPECT_TRUE(!reg.IsNoRegister()); in TEST()
259 EXPECT_TRUE(!reg.IsXRegister()); in TEST()
260 EXPECT_TRUE(!reg.IsWRegister()); in TEST()
261 EXPECT_TRUE(reg.IsSRegister()); in TEST()
262 EXPECT_TRUE(!reg.IsDRegister()); in TEST()
263 EXPECT_TRUE(reg.Overlaps(dreg)); in TEST()
264 EXPECT_EQ(S31, reg.AsSRegister()); in TEST()
265 EXPECT_EQ(D31, reg.AsOverlappingDRegister()); in TEST()
266 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
376 Arm64ManagedRegister reg = Arm64ManagedRegister::FromXRegister(X0); in TEST() local
378 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X0))); in TEST()
379 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
380 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
381 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W0))); in TEST()
382 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
383 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
384 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
386 EXPECT_EQ(W0, reg.AsOverlappingWRegister()); in TEST()
387 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
388 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
389 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
390 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
391 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
392 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
393 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
394 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
395 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
396 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
398 reg = Arm64ManagedRegister::FromXRegister(X10); in TEST()
400 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X10))); in TEST()
401 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
402 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
403 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W10))); in TEST()
404 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
405 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
406 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
408 EXPECT_EQ(W10, reg.AsOverlappingWRegister()); in TEST()
409 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
410 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
411 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
412 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
413 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
414 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
415 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
416 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
417 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
418 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
420 reg = Arm64ManagedRegister::FromXRegister(IP1); in TEST()
422 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X17))); in TEST()
423 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
424 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
425 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W17))); in TEST()
426 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
427 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
428 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
430 EXPECT_EQ(W17, reg.AsOverlappingWRegister()); in TEST()
431 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
432 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
433 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
434 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
435 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
436 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
437 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
438 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
439 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
440 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
442 reg = Arm64ManagedRegister::FromXRegister(XZR); in TEST()
444 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
445 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(SP))); in TEST()
446 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
447 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
448 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W19))); in TEST()
451 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
452 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
453 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
454 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
455 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
456 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
457 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
458 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
459 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
460 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
462 reg = Arm64ManagedRegister::FromXRegister(SP); in TEST()
464 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
465 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
466 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
467 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
468 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
469 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
470 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
471 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
472 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
473 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
474 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
475 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
476 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
477 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
478 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
480 reg = Arm64ManagedRegister::FromWRegister(W1); in TEST()
482 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
483 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
484 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
485 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
486 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
487 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
489 EXPECT_EQ(X1, reg.AsOverlappingXRegister()); in TEST()
490 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
491 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
492 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
493 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
494 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
495 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
496 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
497 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
498 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
499 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
501 reg = Arm64ManagedRegister::FromWRegister(W21); in TEST()
503 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromWRegister(W21))); in TEST()
504 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromXRegister(X21))); in TEST()
505 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
506 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
507 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
508 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
510 EXPECT_EQ(X21, reg.AsOverlappingXRegister()); in TEST()
511 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
512 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
513 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
514 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
515 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
516 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
517 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
518 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
519 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
520 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
523 reg = Arm64ManagedRegister::FromSRegister(S1); in TEST()
525 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X30))); in TEST()
526 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
527 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
528 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
529 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
530 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
531 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
533 EXPECT_EQ(D1, reg.AsOverlappingDRegister()); in TEST()
534 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
535 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromSRegister(S1))); in TEST()
536 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
537 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
538 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S30))); in TEST()
539 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
540 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D0))); in TEST()
541 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromDRegister(D1))); in TEST()
542 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D2))); in TEST()
543 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D7))); in TEST()
544 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
546 reg = Arm64ManagedRegister::FromSRegister(S15); in TEST()
548 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X30))); in TEST()
549 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
550 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
551 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
552 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
553 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
554 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
556 EXPECT_EQ(D15, reg.AsOverlappingDRegister()); in TEST()
557 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
558 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
559 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
560 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S17))); in TEST()
561 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S16))); in TEST()
562 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
563 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D16))); in TEST()
564 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
565 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D2))); in TEST()
566 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D17))); in TEST()
567 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D20))); in TEST()
569 reg = Arm64ManagedRegister::FromDRegister(D15); in TEST()
571 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X30))); in TEST()
572 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X1))); in TEST()
573 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromXRegister(X15))); in TEST()
574 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(WZR))); in TEST()
575 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W1))); in TEST()
576 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W12))); in TEST()
577 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromWRegister(W30))); in TEST()
578 EXPECT_EQ(S15, reg.AsOverlappingSRegister()); in TEST()
580 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S0))); in TEST()
581 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromSRegister(S15))); in TEST()
582 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S2))); in TEST()
583 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S17))); in TEST()
584 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S16))); in TEST()
585 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromSRegister(S31))); in TEST()
586 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D16))); in TEST()
587 EXPECT_TRUE(reg.Overlaps(Arm64ManagedRegister::FromDRegister(D15))); in TEST()
588 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D2))); in TEST()
589 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D17))); in TEST()
590 EXPECT_TRUE(!reg.Overlaps(Arm64ManagedRegister::FromDRegister(D20))); in TEST()