Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 16 of 16) sorted by relevance

/art/compiler/utils/arm64/
Dassembler_arm64.cc155 Arm64ManagedRegister scratch = m_scratch.AsArm64(); in StoreImmediateToFrame() local
156 CHECK(scratch.IsCoreRegister()) << scratch; in StoreImmediateToFrame()
157 LoadImmediate(scratch.AsCoreRegister(), imm); in StoreImmediateToFrame()
158 StoreWToOffset(kStoreWord, scratch.AsOverlappingCoreRegisterLow(), SP, in StoreImmediateToFrame()
164 Arm64ManagedRegister scratch = m_scratch.AsArm64(); in StoreImmediateToThread64() local
165 CHECK(scratch.IsCoreRegister()) << scratch; in StoreImmediateToThread64()
166 LoadImmediate(scratch.AsCoreRegister(), imm); in StoreImmediateToThread64()
167 StoreToOffset(scratch.AsCoreRegister(), ETR, offs.Int32Value()); in StoreImmediateToThread64()
173 Arm64ManagedRegister scratch = m_scratch.AsArm64(); in StoreStackOffsetToThread64() local
174 CHECK(scratch.IsCoreRegister()) << scratch; in StoreStackOffsetToThread64()
[all …]
Dassembler_arm64.h117 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE;
118 void StoreImmediateToThread64(ThreadOffset<8> dest, uint32_t imm, ManagedRegister scratch)
121 ManagedRegister scratch) OVERRIDE;
124 ManagedRegister scratch) OVERRIDE;
137 ManagedRegister scratch) OVERRIDE;
138 void CopyRawPtrToThread64(ThreadOffset<8> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
140 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE;
141 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE;
142 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
144 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
[all …]
/art/compiler/utils/arm/
Dassembler_arm.cc490 ArmManagedRegister scratch = mscratch.AsArm(); in StoreSpanning() local
492 LoadFromOffset(kLoadWord, scratch.AsCoreRegister(), SP, in_off.Int32Value()); in StoreSpanning()
493 StoreToOffset(kStoreWord, scratch.AsCoreRegister(), SP, dest.Int32Value() + 4); in StoreSpanning()
498 ArmManagedRegister scratch = mscratch.AsArm(); in CopyRef() local
499 LoadFromOffset(kLoadWord, scratch.AsCoreRegister(), SP, src.Int32Value()); in CopyRef()
500 StoreToOffset(kStoreWord, scratch.AsCoreRegister(), SP, dest.Int32Value()); in CopyRef()
530 ArmManagedRegister scratch = mscratch.AsArm(); in StoreImmediateToFrame() local
531 CHECK(scratch.IsCoreRegister()) << scratch; in StoreImmediateToFrame()
532 LoadImmediate(scratch.AsCoreRegister(), imm); in StoreImmediateToFrame()
533 StoreToOffset(kStoreWord, scratch.AsCoreRegister(), SP, dest.Int32Value()); in StoreImmediateToFrame()
[all …]
Dassembler_arm.h544 Register scratch, Condition cond = AL) = 0;
631 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE;
633 void StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm, ManagedRegister scratch)
637 ManagedRegister scratch) OVERRIDE;
642 ManagedRegister scratch) OVERRIDE;
661 ManagedRegister scratch) OVERRIDE;
663 void CopyRawPtrToThread32(ThreadOffset<4> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
666 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE;
668 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE;
670 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
[all …]
Dassembler_arm32.h246 Register scratch, Condition cond = AL) {}
283 void MemoryBarrier(ManagedRegister scratch) OVERRIDE;
Dassembler_thumb2.h276 Register scratch, Condition cond = AL) {}
314 void MemoryBarrier(ManagedRegister scratch) OVERRIDE;
/art/compiler/utils/mips/
Dassembler_mips.cc632 MipsManagedRegister scratch = mscratch.AsMips(); in StoreImmediateToFrame() local
633 CHECK(scratch.IsCoreRegister()) << scratch; in StoreImmediateToFrame()
634 LoadImmediate(scratch.AsCoreRegister(), imm); in StoreImmediateToFrame()
635 StoreToOffset(kStoreWord, scratch.AsCoreRegister(), SP, dest.Int32Value()); in StoreImmediateToFrame()
640 MipsManagedRegister scratch = mscratch.AsMips(); in StoreImmediateToThread32() local
641 CHECK(scratch.IsCoreRegister()) << scratch; in StoreImmediateToThread32()
642 LoadImmediate(scratch.AsCoreRegister(), imm); in StoreImmediateToThread32()
643 StoreToOffset(kStoreWord, scratch.AsCoreRegister(), S1, dest.Int32Value()); in StoreImmediateToThread32()
649 MipsManagedRegister scratch = mscratch.AsMips(); in StoreStackOffsetToThread32() local
650 CHECK(scratch.IsCoreRegister()) << scratch; in StoreStackOffsetToThread32()
[all …]
Dassembler_mips.h286 explicit MipsExceptionSlowPath(MipsManagedRegister scratch, size_t stack_adjust) in MipsExceptionSlowPath() argument
287 : scratch_(scratch), stack_adjust_(stack_adjust) {} in MipsExceptionSlowPath()
/art/compiler/utils/
Dassembler.h388 ManagedRegister scratch) = 0;
391 ManagedRegister scratch);
393 ManagedRegister scratch);
397 ManagedRegister scratch);
400 ManagedRegister scratch);
406 FrameOffset in_off, ManagedRegister scratch) = 0;
426 ManagedRegister scratch);
428 ManagedRegister scratch);
431 ManagedRegister scratch);
433 ManagedRegister scratch);
[all …]
Dassembler.cc128 ManagedRegister scratch) { in StoreImmediateToThread32() argument
133 ManagedRegister scratch) { in StoreImmediateToThread64() argument
139 ManagedRegister scratch) { in StoreStackOffsetToThread32() argument
145 ManagedRegister scratch) { in StoreStackOffsetToThread64() argument
174 ManagedRegister scratch) { in CopyRawPtrFromThread32() argument
179 ManagedRegister scratch) { in CopyRawPtrFromThread64() argument
184 ManagedRegister scratch) { in CopyRawPtrToThread32() argument
189 ManagedRegister scratch) { in CopyRawPtrToThread64() argument
193 void Assembler::CallFromThread32(ThreadOffset<4> offset, ManagedRegister scratch) { in CallFromThread32() argument
197 void Assembler::CallFromThread64(ThreadOffset<8> offset, ManagedRegister scratch) { in CallFromThread64() argument
Dswap_space_test.cc35 ScratchFile scratch; in SwapTest() local
36 int fd = scratch.GetFd(); in SwapTest()
37 unlink(scratch.GetFilename().c_str()); in SwapTest()
70 scratch.Close(); in SwapTest()
/art/compiler/utils/x86/
Dassembler_x86.cc1505 X86ManagedRegister scratch = mscratch.AsX86(); in StoreStackOffsetToThread32() local
1506 CHECK(scratch.IsCpuRegister()); in StoreStackOffsetToThread32()
1507 leal(scratch.AsCpuRegister(), Address(ESP, fr_offs)); in StoreStackOffsetToThread32()
1508 fs()->movl(Address::Absolute(thr_offs), scratch.AsCpuRegister()); in StoreStackOffsetToThread32()
1654 X86ManagedRegister scratch = mscratch.AsX86(); in CopyRef() local
1655 CHECK(scratch.IsCpuRegister()); in CopyRef()
1656 movl(scratch.AsCpuRegister(), Address(ESP, src)); in CopyRef()
1657 movl(Address(ESP, dest), scratch.AsCpuRegister()); in CopyRef()
1663 X86ManagedRegister scratch = mscratch.AsX86(); in CopyRawPtrFromThread32() local
1664 CHECK(scratch.IsCpuRegister()); in CopyRawPtrFromThread32()
[all …]
Dassembler_x86.h479 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE;
481 void StoreImmediateToThread32(ThreadOffset<4> dest, uint32_t imm, ManagedRegister scratch)
485 ManagedRegister scratch) OVERRIDE;
490 ManagedRegister scratch) OVERRIDE;
509 ManagedRegister scratch) OVERRIDE;
511 void CopyRawPtrToThread32(ThreadOffset<4> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
514 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE;
516 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE;
518 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
521 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
[all …]
/art/compiler/optimizing/
Dparallel_move_resolver.cc171 int scratch = -1; in AllocateScratchRegister() local
175 scratch = reg; in AllocateScratchRegister()
180 if (scratch == -1) { in AllocateScratchRegister()
182 scratch = if_scratch; in AllocateScratchRegister()
187 return scratch; in AllocateScratchRegister()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h521 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE;
523 void StoreImmediateToThread64(ThreadOffset<8> dest, uint32_t imm, ManagedRegister scratch)
527 ManagedRegister scratch) OVERRIDE;
532 ManagedRegister scratch) OVERRIDE;
551 ManagedRegister scratch) OVERRIDE;
553 void CopyRawPtrToThread64(ThreadOffset<8> thr_offs, FrameOffset fr_offs, ManagedRegister scratch)
556 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE;
558 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE;
560 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch,
563 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch,
[all …]
Dassembler_x86_64.cc1864 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in StoreStackOffsetToThread64() local
1865 CHECK(scratch.IsCpuRegister()); in StoreStackOffsetToThread64()
1866 leaq(scratch.AsCpuRegister(), Address(CpuRegister(RSP), fr_offs)); in StoreStackOffsetToThread64()
1867 gs()->movq(Address::Absolute(thr_offs, true), scratch.AsCpuRegister()); in StoreStackOffsetToThread64()
2013 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in CopyRef() local
2014 CHECK(scratch.IsCpuRegister()); in CopyRef()
2015 movl(scratch.AsCpuRegister(), Address(CpuRegister(RSP), src)); in CopyRef()
2016 movl(Address(CpuRegister(RSP), dest), scratch.AsCpuRegister()); in CopyRef()
2022 X86_64ManagedRegister scratch = mscratch.AsX86_64(); in CopyRawPtrFromThread64() local
2023 CHECK(scratch.IsCpuRegister()); in CopyRawPtrFromThread64()
[all …]