Home
last modified time | relevance | path

Searched refs:shrink_slots (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc2375 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
2407 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
2411 if (info()->IsWasm() && shrink_slots > 128) { in AssembleConstructFrame()
2420 if (shrink_slots * kPointerSize < FLAG_stack_size * 1024) { in AssembleConstructFrame()
2427 __ Add(scratch, scratch, shrink_slots * kPointerSize); in AssembleConstructFrame()
2458 shrink_slots -= saves.Count(); in AssembleConstructFrame()
2459 shrink_slots -= saves_fp.Count(); in AssembleConstructFrame()
2460 shrink_slots -= returns; in AssembleConstructFrame()
2469 __ Claim(shrink_slots + 1); // Claim extra slot for argc. in AssembleConstructFrame()
2473 __ Claim(shrink_slots); in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc2361 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
2373 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
2383 if (shrink_slots > 0) { in AssembleConstructFrame()
2384 if (info()->IsWasm() && shrink_slots > 128) { in AssembleConstructFrame()
2394 if ((shrink_slots * kPointerSize) < (FLAG_stack_size * 1024)) { in AssembleConstructFrame()
2400 __ Add(scratch, scratch, shrink_slots * kPointerSize, r0); in AssembleConstructFrame()
2423 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
2424 shrink_slots -= frame()->GetReturnSlotCount(); in AssembleConstructFrame()
2425 shrink_slots -= in AssembleConstructFrame()
2427 __ Add(sp, sp, -shrink_slots * kPointerSize, r0); in AssembleConstructFrame()
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc3078 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
3091 shrink_slots -= static_cast<int>(osr_helper()->UnoptimizedFrameSlots()); in AssembleConstructFrame()
3098 if (shrink_slots > 0) { in AssembleConstructFrame()
3100 if (info()->IsWasm() && shrink_slots > 128) { in AssembleConstructFrame()
3110 if (shrink_slots * kPointerSize < FLAG_stack_size * 1024) { in AssembleConstructFrame()
3115 __ addq(kScratchRegister, Immediate(shrink_slots * kPointerSize)); in AssembleConstructFrame()
3131 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
3132 shrink_slots -= in AssembleConstructFrame()
3134 shrink_slots -= frame()->GetReturnSlotCount(); in AssembleConstructFrame()
3135 if (shrink_slots > 0) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/s390/
Dcode-generator-s390.cc2979 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
2991 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
2998 if (shrink_slots > 0) { in AssembleConstructFrame()
2999 if (info()->IsWasm() && shrink_slots > 128) { in AssembleConstructFrame()
3009 if ((shrink_slots * kPointerSize) < (FLAG_stack_size * 1024)) { in AssembleConstructFrame()
3015 __ AddP(scratch, scratch, Operand(shrink_slots * kPointerSize)); in AssembleConstructFrame()
3036 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
3037 shrink_slots -= frame()->GetReturnSlotCount(); in AssembleConstructFrame()
3038 shrink_slots -= in AssembleConstructFrame()
3040 __ lay(sp, MemOperand(sp, -shrink_slots * kPointerSize)); in AssembleConstructFrame()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc3039 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
3052 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
3059 if (shrink_slots > 0) { in AssembleConstructFrame()
3061 if (info()->IsWasm() && shrink_slots > 128) { in AssembleConstructFrame()
3071 if ((shrink_slots * kPointerSize) < (FLAG_stack_size * 1024)) { in AssembleConstructFrame()
3078 __ add(scratch, scratch, Operand(shrink_slots * kPointerSize)); in AssembleConstructFrame()
3099 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
3100 shrink_slots -= frame()->GetReturnSlotCount(); in AssembleConstructFrame()
3101 shrink_slots -= 2 * base::bits::CountPopulation(saves_fp); in AssembleConstructFrame()
3102 if (shrink_slots > 0) { in AssembleConstructFrame()
[all …]
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc4230 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
4243 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
4248 if (shrink_slots > 0) { in AssembleConstructFrame()
4250 if (info()->IsWasm() && shrink_slots > 128) { in AssembleConstructFrame()
4260 if (shrink_slots * kPointerSize < FLAG_stack_size * 1024) { in AssembleConstructFrame()
4267 __ add(scratch, Immediate(shrink_slots * kPointerSize)); in AssembleConstructFrame()
4284 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
4285 shrink_slots -= frame()->GetReturnSlotCount(); in AssembleConstructFrame()
4286 if (shrink_slots > 0) { in AssembleConstructFrame()
4287 __ sub(esp, Immediate(shrink_slots * kPointerSize)); in AssembleConstructFrame()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc3224 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
3237 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
3246 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
3247 shrink_slots -= 2 * base::bits::CountPopulation(saves_fpu); in AssembleConstructFrame()
3248 shrink_slots -= returns; in AssembleConstructFrame()
3249 if (shrink_slots > 0) { in AssembleConstructFrame()
3250 __ Subu(sp, sp, Operand(shrink_slots * kPointerSize)); in AssembleConstructFrame()
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc3474 int shrink_slots = frame()->GetTotalFrameSlotCount() - in AssembleConstructFrame() local
3487 shrink_slots -= osr_helper()->UnoptimizedFrameSlots(); in AssembleConstructFrame()
3496 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame()
3497 shrink_slots -= base::bits::CountPopulation(saves_fpu); in AssembleConstructFrame()
3498 shrink_slots -= returns; in AssembleConstructFrame()
3499 if (shrink_slots > 0) { in AssembleConstructFrame()
3500 __ Dsubu(sp, sp, Operand(shrink_slots * kPointerSize)); in AssembleConstructFrame()