/art/runtime/arch/arm64/ |
D | jni_entrypoints_arm64.S | 27 stp x29, x30, [sp, #-16]! 31 mov x29, sp 32 stp d6, d7, [sp, #-16]! 34 stp d4, d5, [sp, #-16]! 36 stp d2, d3, [sp, #-16]! 38 stp d0, d1, [sp, #-16]! 40 stp x6, x7, [sp, #-16]! 42 stp x4, x5, [sp, #-16]! 44 stp x2, x3, [sp, #-16]! 46 stp x0, x1, [sp, #-16]! [all …]
|
D | quick_entrypoints_arm64.S | 23 str \reg, [sp, #-(\frame_adjustment)]! 29 ldr \reg, [sp], #(\frame_adjustment) 35 stp \reg1, \reg2, [sp, #-(\frame_adjustment)]! 42 ldp \reg1, \reg2, [sp], #(\frame_adjustment) 67 SETUP_SAVE_REFS_AND_ARGS_FRAME_INTERNAL sp 69 str xIP0, [sp] // Store ArtMethod* Runtime::callee_save_methods_[kSaveRefsAndArgs]. 71 mov xIP0, sp 77 SETUP_SAVE_REFS_AND_ARGS_FRAME_INTERNAL sp 78 str x0, [sp, #0] // Store ArtMethod* to bottom of stack. 80 mov xIP0, sp [all …]
|
D | asm_support_arm64.S | 114 sub sp, sp, #(\frame_adjustment) 119 add sp, sp, #(\frame_adjustment) 124 str \reg, [sp, #(\offset)] 134 RESTORE_REG_BASE sp, \reg, \offset 144 SAVE_TWO_REGS_BASE sp, \reg1, \reg2, \offset 154 RESTORE_TWO_REGS_BASE sp, \reg1, \reg2, \offset 208 stp xIP0, x20, [sp] 212 mov xIP0, sp 293 RESTORE_SAVE_REFS_AND_ARGS_FRAME_INTERNAL sp 299 stp d8, d9, [sp, #(0 + \offset)] [all …]
|
D | fault_handler_arm64.cc | 49 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp() 89 sc->sp -= sizeof(uintptr_t); in Action() 90 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action() 165 uintptr_t sp = sc->sp; in Action() local 166 VLOG(signals) << "sp: " << std::hex << sp; in Action() 170 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action() 173 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(InstructionSet::kArm64); in Action()
|
/art/compiler/utils/ |
D | assembler_thumb_test_expected.cc.inc | 4 " 8: 85 b0 sub sp, #20\n" 5 " a: 00 90 str r0, [sp]\n" 6 " c: 1d 91 str r1, [sp, #116]\n" 7 " e: 8d ed 1e 0a vstr s0, [sp, #120]\n" 8 " 12: 1f 92 str r2, [sp, #124]\n" 9 " 14: 20 93 str r3, [sp, #128]\n" 10 " 16: 88 b0 sub sp, #32\n" 11 " 18: ad f5 80 5d sub.w sp, sp, #4096\n" 12 " 1c: 08 98 ldr r0, [sp, #32]\n" 13 " 1e: 1f 98 ldr r0, [sp, #124]\n" [all …]
|
/art/compiler/jni/ |
D | jni_cfi_test_expected.inc | 48 // 0x00000008: sub sp, #20 50 // 0x0000000a: str r0, [sp] 51 // 0x0000000c: str r1, [sp, #116] 52 // 0x0000000e: vstr s0, [sp, #120] 53 // 0x00000012: str r2, [sp, #124] 54 // 0x00000014: str r3, [sp, #128] 55 // 0x00000016: sub sp, #32 57 // 0x00000018: add sp, #32 60 // 0x0000001a: add sp, #20 119 // 0x00000000: sub sp, sp, #0xb0 (176) [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 228 static StackReference<mirror::Object>* GetProxyThisObjectReference(ArtMethod** sp) in GetProxyThisObjectReference() argument 230 CHECK((*sp)->IsProxyMethod()); in GetProxyThisObjectReference() 235 uint8_t* this_arg_address = reinterpret_cast<uint8_t*>(sp) + this_arg_offset; in GetProxyThisObjectReference() 239 static ArtMethod* GetCallingMethod(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetCallingMethod() argument 240 DCHECK((*sp)->IsCalleeSaveMethod()); in GetCallingMethod() 241 return GetCalleeSaveMethodCaller(sp, CalleeSaveType::kSaveRefsAndArgs); in GetCallingMethod() 244 static ArtMethod* GetOuterMethod(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetOuterMethod() argument 245 DCHECK((*sp)->IsCalleeSaveMethod()); in GetOuterMethod() 247 reinterpret_cast<uint8_t*>(sp) + kQuickCalleeSaveFrame_RefAndArgs_FrameSize; in GetOuterMethod() 251 static uint32_t GetCallingDexPc(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetCallingDexPc() argument [all …]
|
/art/runtime/ |
D | managed_stack.h | 127 static TaggedTopQuickFrame CreateNotTagged(ArtMethod** sp) { in CreateNotTagged() argument 128 DCHECK_ALIGNED(sp, 4u); in CreateNotTagged() 129 return TaggedTopQuickFrame(reinterpret_cast<uintptr_t>(sp)); in CreateNotTagged() 132 static TaggedTopQuickFrame CreateTagged(ArtMethod** sp) { in CreateTagged() argument 133 DCHECK_ALIGNED(sp, 4u); in CreateTagged() 134 return TaggedTopQuickFrame(reinterpret_cast<uintptr_t>(sp) | 1u); in CreateTagged()
|
D | fault_handler.cc | 293 uintptr_t sp = 0; in IsInGeneratedCode() local 298 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp, &is_stack_overflow); in IsInGeneratedCode() 351 CHECK_EQ(*reinterpret_cast<ArtMethod**>(sp), method_obj); in IsInGeneratedCode() 352 dexpc = method_header->ToDexPc(reinterpret_cast<ArtMethod**>(sp), return_pc, false); in IsInGeneratedCode() 396 uintptr_t sp = 0; in Action() local 401 siginfo, context, &method, &return_pc, &sp, &is_stack_overflow); in Action() 403 self->SetTopOfStack(reinterpret_cast<ArtMethod**>(sp)); in Action()
|
/art/runtime/arch/arm/ |
D | asm_support_arm.S | 181 sub sp, sp, #(\frame_adjustment) 186 add sp, sp, #(\frame_adjustment) 256 sub sp, #8 @ 2 words of space, alignment padding and Method* 265 add sp, #8 @ rewind sp 311 sub sp, #12 @ 3 words of space, bottom word will hold Method* 316 str \rTemp, [sp, #0] @ Place Method* at bottom of stack. 317 … str sp, [rSELF, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame. 381 sub sp, #4 @ bottom word will hold Method* 386 str \rTemp, [sp, #0] @ Place Method* at bottom of stack. 387 … str sp, [rSELF, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame. [all …]
|
D | quick_entrypoints_arm.S | 32 str \rTemp, [sp, #0] @ Place Method* at bottom of stack. 33 … str sp, [rSELF, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame. 38 str r0, [sp, #0] @ Store ArtMethod* to bottom of stack. 39 … str sp, [rSELF, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame. 51 sub sp, #8 @ 2 words of space, alignment padding and Method* 56 str \rTemp, [sp, #0] @ Place Method* at bottom of stack. 57 … str sp, [rSELF, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame. 90 add sp, #8 @ rewind sp 113 add sp, #8 @ rewind sp 117 add sp, #4 @ skip r0 [all …]
|
D | jni_entrypoints_arm.S | 28 sub sp, #12 @ pad stack pointer to align frame 47 add sp, #12 @ restore stack pointer 84 ldr lr, [sp, #20] 87 add r4, sp, #24 186 cmp sp, r4 190 add r0, sp, #16 207 .cfi_def_cfa sp, FRAME_SIZE_SAVE_REFS_AND_ARGS
|
D | fault_handler_arm.cc | 213 uintptr_t sp = sc->arm_sp; in Action() local 214 VLOG(signals) << "sp: " << std::hex << sp; in Action() 218 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action() 221 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(InstructionSet::kArm); in Action()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 136 asm_.StoreToOffset(kStoreWord, r0, sp, 0); in BuildFrame() 208 ___ Ldr(reg, MemOperand(sp, kFramePointerSize, PostIndex)); in RemoveFrame() 258 asm_.AddConstant(sp, -adjust); in IncreaseFrameSize() 265 asm_.AddConstant(sp, adjust); in DecreaseFrameSize() 278 asm_.StoreToOffset(kStoreWord, AsVIXLRegister(src), sp, dest.Int32Value()); in Store() 283 MemOperand(sp, dest.Int32Value())); in Store() 286 asm_.StoreSToOffset(AsVIXLSRegister(src), sp, dest.Int32Value()); in Store() 290 asm_.StoreDToOffset(AsVIXLDRegister(src), sp, dest.Int32Value()); in Store() 298 asm_.StoreToOffset(kStoreWord, src, sp, dest.Int32Value()); in StoreRef() 305 asm_.StoreToOffset(kStoreWord, src, sp, dest.Int32Value()); in StoreRawPtr() [all …]
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test_expected.inc | 20 // 0x00000006: sub sp, sp, #44 23 // 0x00000008: add sp, sp, #44 43 // 0x00000000: sub sp, sp, #0x40 (64) 45 // 0x00000004: str x21, [sp, #40] 47 // 0x00000008: stp x22, lr, [sp, #48] 50 // 0x0000000c: stp d8, d9, [sp, #24] 54 // 0x00000010: ldp d8, d9, [sp, #24] 57 // 0x00000014: ldr x21, [sp, #40] 59 // 0x00000018: ldp x22, lr, [sp, #48] 62 // 0x0000001c: add sp, sp, #0x40 (64) [all …]
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | main.S | 301 ldr x0, [sp] 391 sub x14, sp, x14 402 mov x28, sp 404 mov sp, x14 417 str x0, [sp] 422 ldr x0, [sp] 457 ldp d8, d9, [sp, #0] 458 ldp d10, d11, [sp, #16] 459 ldp d12, d13, [sp, #32] 460 ldp d14, d15, [sp, #48] [all …]
|
D | invoke.S | 26 ldr x1, [sp] 116 ldr x1, [sp] 135 ldr x1, [sp] 163 ldr x1, [sp]
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 113 const Register sp = vixl_masm_.StackPointer(); in SpillRegisters() local 119 ___ Str(dst0, MemOperand(sp, offset)); in SpillRegisters() 126 ___ Stp(dst0, dst1, MemOperand(sp, offset)); in SpillRegisters() 133 ___ Str(dst0, MemOperand(sp, offset)); in SpillRegisters() 141 const Register sp = vixl_masm_.StackPointer(); in UnspillRegisters() local 145 ___ Ldr(dst0, MemOperand(sp, offset)); in UnspillRegisters() 152 ___ Ldp(dst0, dst1, MemOperand(sp, offset)); in UnspillRegisters() 159 ___ Ldr(dst0, MemOperand(sp, offset)); in UnspillRegisters()
|
/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 334 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action() local 349 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - 2 * sizeof(uintptr_t)); in Action() 390 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action() local 421 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t)); in Action() 445 uintptr_t sp = static_cast<uintptr_t>(uc->CTX_ESP); in Action() local 449 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action() 453 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(InstructionSet::kX86_64); in Action() 455 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(InstructionSet::kX86); in Action()
|
/art/test/510-checker-try-catch/smali/ |
D | RegisterAllocator.smali | 23 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}-><<SlotA1:\d+>>(sp) 24 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}-><<SlotA2:\d+>>(sp) 25 ## CHECK-DAG: Phi reg:1 is_catch_phi:true locations:{{\[.*\]}}-><<SlotB:\d+>>(sp) 61 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}->2x<<SlotB1:\d+>>(sp) 62 ## CHECK-DAG: Phi reg:0 is_catch_phi:true locations:{{\[.*\]}}->2x<<SlotB2:\d+>>(sp) 63 ## CHECK-DAG: Phi reg:2 is_catch_phi:true locations:{{\[.*\]}}-><<SlotA:\d+>>(sp)
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 186 ArtMethod** sp, CalleeSaveType type) REQUIRES_SHARED(Locks::mutator_lock_) { in DoGetCalleeSaveMethodOuterCallerAndPc() argument 187 DCHECK_EQ(*sp, Runtime::Current()->GetCalleeSaveMethod(type)); in DoGetCalleeSaveMethodOuterCallerAndPc() 191 reinterpret_cast<uintptr_t>(sp) + callee_frame_size); in DoGetCalleeSaveMethodOuterCallerAndPc() 194 (reinterpret_cast<uint8_t*>(sp) + callee_return_pc_offset)); in DoGetCalleeSaveMethodOuterCallerAndPc() 237 ArtMethod* GetCalleeSaveMethodCaller(ArtMethod** sp, CalleeSaveType type, bool do_caller_check) in GetCalleeSaveMethodCaller() argument 240 auto outer_caller_and_pc = DoGetCalleeSaveMethodOuterCallerAndPc(sp, type); in GetCalleeSaveMethodCaller() 250 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrameKnownNotTagged(); in GetCalleeSaveMethodCallerAndOuterMethod() local 251 auto outer_caller_and_pc = DoGetCalleeSaveMethodOuterCallerAndPc(sp, type); in GetCalleeSaveMethodCallerAndOuterMethod() 261 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrameKnownNotTagged(); in GetCalleeSaveOuterMethod() local 262 return DoGetCalleeSaveMethodOuterCallerAndPc(sp, type).first; in GetCalleeSaveOuterMethod()
|
/art/runtime/interpreter/mterp/armng/ |
D | main.S | 313 ldr r0, [sp] 416 sub lr, sp, #12 427 mov ip, sp 429 mov sp, lr 434 str r0, [sp] 447 ldr r0, [sp] // Reload the ArtMethod, expected by the callers. 452 ldr r0, [sp] 494 add sp, sp, #4 522 sub ip, sp, #STACK_OVERFLOW_RESERVED_BYTES 689 ldr r0, [sp, #16] [all …]
|
D | invoke.S | 27 ldr r1, [sp] 123 ldr r1, [sp] 142 ldr r1, [sp] 170 ldr r1, [sp]
|
/art/build/ |
D | codegen.go | 88 sp := &sourceProps{} 90 sp.Target.Host = p 92 sp.Target.Android = p 94 ctx.AppendProperties(sp)
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 89 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrameKnownNotTagged(); in artFindNativeMethodRunnable() local 90 DCHECK(*sp == Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)); in artFindNativeMethodRunnable() 91 *sp = target_method; in artFindNativeMethodRunnable() 92 self->SetTopOfStackTagged(sp); // Fake GenericJNI frame. in artFindNativeMethodRunnable()
|