Home
last modified time | relevance | path

Searched refs:ArgumentLocation (Results 1 – 14 of 14) sorted by relevance

/art/compiler/utils/riscv64/
Djni_macro_assembler_riscv64_test.cc317 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 …]
Djni_macro_assembler_riscv64.h77 void MoveArguments(ArrayRef<ArgumentLocation> dests,
78 ArrayRef<ArgumentLocation> srcs,
Djni_macro_assembler_riscv64.cc261 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/
Dassembler_thumb_test.cc167 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 …]
Djni_macro_assembler.h46 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/
Djni_compiler.cc199 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/
Djni_macro_assembler_arm_vixl.cc352 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 …]
Djni_macro_assembler_arm_vixl.h76 void MoveArguments(ArrayRef<ArgumentLocation> dests,
77 ArrayRef<ArgumentLocation> srcs,
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.h74 void MoveArguments(ArrayRef<ArgumentLocation> dests,
75 ArrayRef<ArgumentLocation> srcs,
Djni_macro_assembler_x86_64.cc279 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/
Djni_macro_assembler_x86.h73 void MoveArguments(ArrayRef<ArgumentLocation> dests,
74 ArrayRef<ArgumentLocation> srcs,
Djni_macro_assembler_x86.cc253 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/
Djni_macro_assembler_arm64.h80 void MoveArguments(ArrayRef<ArgumentLocation> dests,
81 ArrayRef<ArgumentLocation> srcs,
Djni_macro_assembler_arm64.cc318 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()