/art/compiler/utils/riscv64/ |
D | jni_macro_assembler_riscv64_test.cc | 317 ArgumentLocation move_dests1[] = { in TEST_F() 318 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A1), kNativePointerSize), // `jclass` in TEST_F() 319 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A2), kNativePointerSize), in TEST_F() 320 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A3), kXlenInBytes), in TEST_F() 321 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A4), kXlenInBytes), in TEST_F() 322 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A5), kXlenInBytes), in TEST_F() 323 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A6), kXlenInBytes), in TEST_F() 324 ArgumentLocation(Riscv64ManagedRegister::FromXRegister(A7), kXlenInBytes), in TEST_F() 325 ArgumentLocation(FrameOffset(0), kNativePointerSize), in TEST_F() 326 ArgumentLocation(FrameOffset(8), kXlenInBytes), in TEST_F() [all …]
|
D | jni_macro_assembler_riscv64.h | 77 void MoveArguments(ArrayRef<ArgumentLocation> dests, 78 ArrayRef<ArgumentLocation> srcs,
|
D | jni_macro_assembler_riscv64.cc | 261 void Riscv64JNIMacroAssembler::MoveArguments(ArrayRef<ArgumentLocation> dests, in MoveArguments() 262 ArrayRef<ArgumentLocation> srcs, in MoveArguments() 287 const ArgumentLocation& src = srcs[i]; in MoveArguments() 288 const ArgumentLocation& dest = dests[i]; in MoveArguments() 337 const ArgumentLocation& src = srcs[i]; in MoveArguments() 338 const ArgumentLocation& dest = dests[i]; in MoveArguments()
|
/art/compiler/utils/ |
D | assembler_thumb_test.cc | 167 ArgumentLocation move_dests1[] = { in TEST_F() 168 ArgumentLocation(ArmManagedRegister::FromCoreRegister(R2), kNativePointerSize), in TEST_F() 169 ArgumentLocation(FrameOffset(0), 2 * kVRegSize), in TEST_F() 170 ArgumentLocation(FrameOffset(8), 2 * kVRegSize), in TEST_F() 171 ArgumentLocation(FrameOffset(16), kVRegSize), in TEST_F() 172 ArgumentLocation(FrameOffset(20), kNativePointerSize), in TEST_F() 174 ArgumentLocation move_srcs1[] = { in TEST_F() 175 ArgumentLocation(ArmManagedRegister::FromCoreRegister(R1), kVRegSize), in TEST_F() 176 ArgumentLocation(ArmManagedRegister::FromRegisterPair(R2_R3), 2 * kVRegSize), in TEST_F() 177 ArgumentLocation(FrameOffset(48), 2 * kVRegSize), in TEST_F() [all …]
|
D | jni_macro_assembler.h | 46 class ArgumentLocation { 48 ArgumentLocation(ManagedRegister reg, size_t size) in ArgumentLocation() function 53 ArgumentLocation(FrameOffset frame_offset, size_t size) in ArgumentLocation() function 152 virtual void MoveArguments(ArrayRef<ArgumentLocation> dests, 153 ArrayRef<ArgumentLocation> srcs,
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 199 ArenaVector<ArgumentLocation> src_args(allocator->Adapter()); in ArtJniCompileMethodInternal() 200 ArenaVector<ArgumentLocation> dest_args(allocator->Adapter()); in ArtJniCompileMethodInternal() 212 __ MoveArguments(ArrayRef<ArgumentLocation>(dest_args), in ArtJniCompileMethodInternal() 213 ArrayRef<ArgumentLocation>(src_args), in ArtJniCompileMethodInternal() 382 ? ArgumentLocation(mr_conv->CurrentParamRegister(), src_size) in ArtJniCompileMethodInternal() 383 : ArgumentLocation(mr_conv->CurrentParamStackOffset(), src_size)); in ArtJniCompileMethodInternal() 385 ? ArgumentLocation(main_jni_conv->CurrentParamRegister(), dest_size) in ArtJniCompileMethodInternal() 386 : ArgumentLocation(main_jni_conv->CurrentParamStackOffset(), dest_size)); in ArtJniCompileMethodInternal() 393 [](const ArgumentLocation& loc) { return !loc.IsRegister(); })); in ArtJniCompileMethodInternal() 394 __ MoveArguments(ArrayRef<ArgumentLocation>(dest_args), in ArtJniCompileMethodInternal() [all …]
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 352 static inline bool NoSpillGap(const ArgumentLocation& loc1, const ArgumentLocation& loc2) { in NoSpillGap() 370 static inline size_t GetSpillChunkSize(ArrayRef<ArgumentLocation> dests, in GetSpillChunkSize() 371 ArrayRef<ArgumentLocation> srcs, in GetSpillChunkSize() 375 const ArgumentLocation& first_src = srcs[start]; in GetSpillChunkSize() 412 static inline uint32_t GetCoreRegisterMask(ArrayRef<ArgumentLocation> srcs) { in GetCoreRegisterMask() 414 for (const ArgumentLocation& loc : srcs) { in GetCoreRegisterMask() 421 static inline bool UseStrdForChunk(ArrayRef<ArgumentLocation> srcs, size_t start, size_t length) { in UseStrdForChunk() 433 static inline bool UseVstrForChunk(ArrayRef<ArgumentLocation> srcs, size_t start, size_t length) { in UseVstrForChunk() 445 void ArmVIXLJNIMacroAssembler::MoveArguments(ArrayRef<ArgumentLocation> dests, in MoveArguments() 446 ArrayRef<ArgumentLocation> srcs, in MoveArguments() [all …]
|
D | jni_macro_assembler_arm_vixl.h | 76 void MoveArguments(ArrayRef<ArgumentLocation> dests, 77 ArrayRef<ArgumentLocation> srcs,
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.h | 74 void MoveArguments(ArrayRef<ArgumentLocation> dests, 75 ArrayRef<ArgumentLocation> srcs,
|
D | jni_macro_assembler_x86_64.cc | 279 void X86_64JNIMacroAssembler::MoveArguments(ArrayRef<ArgumentLocation> dests, in MoveArguments() 280 ArrayRef<ArgumentLocation> srcs, in MoveArguments() 305 const ArgumentLocation& src = srcs[i]; in MoveArguments() 306 const ArgumentLocation& dest = dests[i]; in MoveArguments() 348 const ArgumentLocation& src = srcs[i]; in MoveArguments() 349 const ArgumentLocation& dest = dests[i]; in MoveArguments()
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.h | 73 void MoveArguments(ArrayRef<ArgumentLocation> dests, 74 ArrayRef<ArgumentLocation> srcs,
|
D | jni_macro_assembler_x86.cc | 253 void X86JNIMacroAssembler::MoveArguments(ArrayRef<ArgumentLocation> dests, in MoveArguments() 254 ArrayRef<ArgumentLocation> srcs, in MoveArguments() 263 const ArgumentLocation& src = srcs[i]; in MoveArguments() 264 const ArgumentLocation& dest = dests[i]; in MoveArguments() 296 const ArgumentLocation& src = srcs[i]; in MoveArguments() 297 const ArgumentLocation& dest = dests[i]; in MoveArguments()
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.h | 80 void MoveArguments(ArrayRef<ArgumentLocation> dests, 81 ArrayRef<ArgumentLocation> srcs,
|
D | jni_macro_assembler_arm64.cc | 318 void Arm64JNIMacroAssembler::MoveArguments(ArrayRef<ArgumentLocation> dests, in MoveArguments() 319 ArrayRef<ArgumentLocation> srcs, in MoveArguments() 360 const ArgumentLocation& src = srcs[i]; in MoveArguments() 361 const ArgumentLocation& dest = dests[i]; in MoveArguments() 448 const ArgumentLocation& src = srcs[i]; in MoveArguments() 449 const ArgumentLocation& dest = dests[i]; in MoveArguments()
|