Home
last modified time | relevance | path

Searched refs:Overlaps (Results 1 – 23 of 23) sorted by relevance

/art/compiler/utils/arm/
Dmanaged_register_arm_test.cc28 EXPECT_TRUE(!reg.Overlaps(reg)); in TEST()
459 TEST(ArmManagedRegister, Overlaps) { in TEST() argument
461 EXPECT_TRUE(reg.Overlaps(ArmManagedRegister::FromCoreRegister(R0))); in TEST()
462 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromCoreRegister(R1))); in TEST()
463 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromCoreRegister(R7))); in TEST()
464 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromCoreRegister(R8))); in TEST()
465 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromSRegister(S0))); in TEST()
466 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromSRegister(S1))); in TEST()
467 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromSRegister(S2))); in TEST()
468 EXPECT_TRUE(!reg.Overlaps(ArmManagedRegister::FromSRegister(S15))); in TEST()
[all …]
Dmanaged_register_arm.cc25 bool ArmManagedRegister::Overlaps(const ArmManagedRegister& other) const { in Overlaps() function in art::arm::ArmManagedRegister
31 return ArmManagedRegister::FromCoreRegister(low).Overlaps(other) || in Overlaps()
32 ArmManagedRegister::FromCoreRegister(high).Overlaps(other); in Overlaps()
45 return other.Overlaps(*this); in Overlaps()
Dmanaged_register_arm.h182 bool Overlaps(const ArmManagedRegister& other) const;
Djni_macro_assembler_arm_vixl.cc940 DCHECK(!scratch_regs[0].AsArm().Overlaps(return_reg.AsArm())); in TryToTransitionFromNativeToRunnable()
942 DCHECK(!scratch_regs[1].AsArm().Overlaps(return_reg.AsArm())); in TryToTransitionFromNativeToRunnable()
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64_test.cc28 EXPECT_TRUE(!reg.Overlaps(reg)); in TEST()
255 TEST(X86_64ManagedRegister, Overlaps) { in TEST() argument
257 EXPECT_TRUE(reg.Overlaps(X86_64ManagedRegister::FromCpuRegister(RAX))); in TEST()
258 EXPECT_TRUE(!reg.Overlaps(X86_64ManagedRegister::FromCpuRegister(RBX))); in TEST()
259 EXPECT_TRUE(!reg.Overlaps(X86_64ManagedRegister::FromCpuRegister(RDI))); in TEST()
260 EXPECT_TRUE(!reg.Overlaps(X86_64ManagedRegister::FromXmmRegister(XMM0))); in TEST()
261 EXPECT_TRUE(!reg.Overlaps(X86_64ManagedRegister::FromXmmRegister(XMM7))); in TEST()
262 EXPECT_TRUE(!reg.Overlaps(X86_64ManagedRegister::FromX87Register(ST0))); in TEST()
263 EXPECT_TRUE(!reg.Overlaps(X86_64ManagedRegister::FromX87Register(ST7))); in TEST()
264 EXPECT_TRUE(reg.Overlaps(X86_64ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST()
[all …]
Dmanaged_register_x86_64.cc57 bool X86_64ManagedRegister::Overlaps(const X86_64ManagedRegister& other) const { in Overlaps() function in art::x86_64::X86_64ManagedRegister
65 return X86_64ManagedRegister::FromCpuRegister(low).Overlaps(other) || in Overlaps()
66 X86_64ManagedRegister::FromCpuRegister(high).Overlaps(other); in Overlaps()
69 return other.Overlaps(*this); in Overlaps()
Dmanaged_register_x86_64.h148 bool Overlaps(const X86_64ManagedRegister& other) const;
Djni_macro_assembler_x86_64.cc557 DCHECK(!scratch_regs[0].AsX86_64().Overlaps(return_reg.AsX86_64())); in TryToTransitionFromNativeToRunnable()
559 DCHECK(!scratch_regs[1].AsX86_64().Overlaps(return_reg.AsX86_64())); in TryToTransitionFromNativeToRunnable()
562 bool preserve_rax = return_reg.AsX86_64().Overlaps(X86_64ManagedRegister::FromCpuRegister(RAX)); in TryToTransitionFromNativeToRunnable()
/art/compiler/utils/x86/
Dmanaged_register_x86_test.cc29 EXPECT_TRUE(!reg.Overlaps(reg)); in TEST()
256 TEST(X86ManagedRegister, Overlaps) { in TEST() argument
258 EXPECT_TRUE(reg.Overlaps(X86ManagedRegister::FromCpuRegister(EAX))); in TEST()
259 EXPECT_TRUE(!reg.Overlaps(X86ManagedRegister::FromCpuRegister(EBX))); in TEST()
260 EXPECT_TRUE(!reg.Overlaps(X86ManagedRegister::FromCpuRegister(EDI))); in TEST()
261 EXPECT_TRUE(!reg.Overlaps(X86ManagedRegister::FromXmmRegister(XMM0))); in TEST()
262 EXPECT_TRUE(!reg.Overlaps(X86ManagedRegister::FromXmmRegister(XMM7))); in TEST()
263 EXPECT_TRUE(!reg.Overlaps(X86ManagedRegister::FromX87Register(ST0))); in TEST()
264 EXPECT_TRUE(!reg.Overlaps(X86ManagedRegister::FromX87Register(ST7))); in TEST()
265 EXPECT_TRUE(reg.Overlaps(X86ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST()
[all …]
Dmanaged_register_x86.cc62 bool X86ManagedRegister::Overlaps(const X86ManagedRegister& other) const { in Overlaps() function in art::x86::X86ManagedRegister
70 return X86ManagedRegister::FromCpuRegister(low).Overlaps(other) || in Overlaps()
71 X86ManagedRegister::FromCpuRegister(high).Overlaps(other); in Overlaps()
74 return other.Overlaps(*this); in Overlaps()
Dmanaged_register_x86.h161 bool Overlaps(const X86ManagedRegister& other) const;
Djni_macro_assembler_x86.cc492 DCHECK(!scratch_reg.Overlaps(return_reg.AsX86())); in TryToTransitionFromNativeToRunnable()
499 bool preserve_eax = return_reg.AsX86().Overlaps(X86ManagedRegister::FromCpuRegister(EAX)); in TryToTransitionFromNativeToRunnable()
/art/compiler/utils/arm64/
Dmanaged_register_arm64_test.cc30 EXPECT_TRUE(!reg.Overlaps(reg)); in TEST()
42 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
52 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
62 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
72 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
82 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
92 EXPECT_TRUE(reg.Overlaps(wreg)); in TEST()
102 EXPECT_TRUE(!reg.Overlaps(wreg)); in TEST()
115 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
125 EXPECT_TRUE(reg.Overlaps(xreg)); in TEST()
[all …]
Dmanaged_register_arm64.cc43 bool Arm64ManagedRegister::Overlaps(const Arm64ManagedRegister& other) const { in Overlaps() function in art::arm64::Arm64ManagedRegister
Dmanaged_register_arm64.h145 bool Overlaps(const Arm64ManagedRegister& other) const;
/art/compiler/utils/riscv64/
Dmanaged_register_riscv64.cc24 bool Riscv64ManagedRegister::Overlaps(const Riscv64ManagedRegister& other) const { in Overlaps() function in art::riscv64::Riscv64ManagedRegister
Dmanaged_register_riscv64.h81 bool Overlaps(const Riscv64ManagedRegister& other) const;
Djni_macro_assembler_riscv64.cc502 DCHECK(!scratch_regs[0].AsRiscv64().Overlaps(return_reg.AsRiscv64())); in TryToTransitionFromNativeToRunnable()
504 DCHECK(!scratch_regs[1].AsRiscv64().Overlaps(return_reg.AsRiscv64())); in TryToTransitionFromNativeToRunnable()
/art/compiler/jni/quick/riscv64/
Dcalling_convention_riscv64.cc160 DCHECK(!Riscv64ManagedRegister::FromXRegister(A4).Overlaps(ReturnRegister().AsRiscv64())); in ArgumentRegisterForMethodExitHook()
304 return return_reg.Overlaps(reg.AsRiscv64()); in ArgumentScratchRegisters()
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc100 return return_reg.Overlaps(reg.AsX86()); in ArgumentScratchRegisters()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.cc113 return return_reg.Overlaps(reg.AsX86_64()); in ArgumentScratchRegisters()
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.cc265 return return_reg.Overlaps(reg.AsArm64()); in ArgumentScratchRegisters()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.cc421 return return_reg.Overlaps(reg.AsArm()); in ArgumentScratchRegisters()