Lines Matching refs:scratch

2520   X86_64ManagedRegister scratch = mscratch.AsX86_64();  in StoreStackOffsetToThread64()  local
2521 CHECK(scratch.IsCpuRegister()); in StoreStackOffsetToThread64()
2522 leaq(scratch.AsCpuRegister(), Address(CpuRegister(RSP), fr_offs)); in StoreStackOffsetToThread64()
2523 gs()->movq(Address::Absolute(thr_offs, true), scratch.AsCpuRegister()); in StoreStackOffsetToThread64()
2671 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in CopyRef() local
2672 CHECK(scratch.IsCpuRegister()); in CopyRef()
2673 movl(scratch.AsCpuRegister(), Address(CpuRegister(RSP), src)); in CopyRef()
2674 movl(Address(CpuRegister(RSP), dest), scratch.AsCpuRegister()); in CopyRef()
2680 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in CopyRawPtrFromThread64() local
2681 CHECK(scratch.IsCpuRegister()); in CopyRawPtrFromThread64()
2682 gs()->movq(scratch.AsCpuRegister(), Address::Absolute(thr_offs, true)); in CopyRawPtrFromThread64()
2683 Store(fr_offs, scratch, 8); in CopyRawPtrFromThread64()
2689 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in CopyRawPtrToThread64() local
2690 CHECK(scratch.IsCpuRegister()); in CopyRawPtrToThread64()
2691 Load(scratch, fr_offs, 8); in CopyRawPtrToThread64()
2692 gs()->movq(Address::Absolute(thr_offs, true), scratch.AsCpuRegister()); in CopyRawPtrToThread64()
2697 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in Copy() local
2698 if (scratch.IsCpuRegister() && size == 8) { in Copy()
2699 Load(scratch, src, 4); in Copy()
2700 Store(dest, scratch, 4); in Copy()
2701 Load(scratch, FrameOffset(src.Int32Value() + 4), 4); in Copy()
2702 Store(FrameOffset(dest.Int32Value() + 4), scratch, 4); in Copy()
2704 Load(scratch, src, size); in Copy()
2705 Store(dest, scratch, size); in Copy()
2715 ManagedRegister scratch, size_t size) { in Copy() argument
2716 CHECK(scratch.IsNoRegister()); in Copy()
2724 CpuRegister scratch = mscratch.AsX86_64().AsCpuRegister(); in Copy() local
2726 movq(scratch, Address(CpuRegister(RSP), src_base)); in Copy()
2727 movq(scratch, Address(scratch, src_offset)); in Copy()
2728 movq(Address(CpuRegister(RSP), dest), scratch); in Copy()
2733 ManagedRegister scratch, size_t size) { in Copy() argument
2735 CHECK(scratch.IsNoRegister()); in Copy()
2742 CpuRegister scratch = mscratch.AsX86_64().AsCpuRegister(); in Copy() local
2745 movq(scratch, Address(CpuRegister(RSP), src)); in Copy()
2746 pushq(Address(scratch, src_offset)); in Copy()
2747 popq(Address(scratch, dest_offset)); in Copy()
2786 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in CreateHandleScopeEntry() local
2787 CHECK(scratch.IsCpuRegister()); in CreateHandleScopeEntry()
2790 movl(scratch.AsCpuRegister(), Address(CpuRegister(RSP), handle_scope_offset)); in CreateHandleScopeEntry()
2791 testl(scratch.AsCpuRegister(), scratch.AsCpuRegister()); in CreateHandleScopeEntry()
2793 leaq(scratch.AsCpuRegister(), Address(CpuRegister(RSP), handle_scope_offset)); in CreateHandleScopeEntry()
2796 leaq(scratch.AsCpuRegister(), Address(CpuRegister(RSP), handle_scope_offset)); in CreateHandleScopeEntry()
2798 Store(out_off, scratch, 8); in CreateHandleScopeEntry()
2834 CpuRegister scratch = mscratch.AsX86_64().AsCpuRegister(); in Call() local
2835 movq(scratch, Address(CpuRegister(RSP), base)); in Call()
2836 call(Address(scratch, offset)); in Call()
2848 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in GetCurrentThread() local
2849 gs()->movq(scratch.AsCpuRegister(), Address::Absolute(Thread::SelfOffset<8>(), true)); in GetCurrentThread()
2850 movq(Address(CpuRegister(RSP), offset), scratch.AsCpuRegister()); in GetCurrentThread()