/external/v8/src/mips/ |
D | debug-mips.cc | 34 CodePatcher patcher(rinfo()->pc(), Assembler::kJSReturnSequenceInstructions); in SetDebugBreakAtReturn() local 36 patcher.masm()->li(v8::internal::t9, Operand(reinterpret_cast<int32_t>( in SetDebugBreakAtReturn() 38 patcher.masm()->Call(v8::internal::t9); in SetDebugBreakAtReturn() 39 patcher.masm()->nop(); in SetDebugBreakAtReturn() 40 patcher.masm()->nop(); in SetDebugBreakAtReturn() 41 patcher.masm()->nop(); in SetDebugBreakAtReturn() 80 CodePatcher patcher(rinfo()->pc(), Assembler::kDebugBreakSlotInstructions); in SetDebugBreakAtSlot() local 81 patcher.masm()->li(v8::internal::t9, Operand(reinterpret_cast<int32_t>( in SetDebugBreakAtSlot() 83 patcher.masm()->Call(v8::internal::t9); in SetDebugBreakAtSlot()
|
D | deoptimizer-mips.cc | 37 CodePatcher patcher(pointer, 1); in PatchCodeForDeoptimization() local 38 patcher.masm()->break_(0xCC); in PatchCodeForDeoptimization() 65 CodePatcher patcher(call_address, call_size_in_words); in PatchCodeForDeoptimization() local 66 patcher.masm()->Call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
|
D | codegen-mips.cc | 1181 SmartPointer<CodePatcher> patcher( in CodeAgingHelper() local 1185 PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); in CodeAgingHelper() 1186 patcher->masm()->Push(ra, fp, cp, a1); in CodeAgingHelper() 1187 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper() 1188 patcher->masm()->Addu( in CodeAgingHelper() 1231 CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); in PatchPlatformCodeAge() local 1233 patcher.masm()->nop(Assembler::CODE_AGE_MARKER_NOP); in PatchPlatformCodeAge() 1236 patcher.masm()->li( in PatchPlatformCodeAge() 1240 patcher.masm()->nop(); // Prevent jalr to jal optimization. in PatchPlatformCodeAge() 1241 patcher.masm()->jalr(t9, a0); in PatchPlatformCodeAge() [all …]
|
/external/v8/src/arm64/ |
D | debug-arm64.cc | 43 PatchingAssembler patcher(reinterpret_cast<Instruction*>(rinfo()->pc()), 5); in SetDebugBreakAtReturn() local 49 patcher.ldr_pcrel(ip0, (3 * kInstructionSize) >> kLoadLiteralScaleLog2); in SetDebugBreakAtReturn() 56 patcher.blr(ip0); in SetDebugBreakAtReturn() 57 patcher.hlt(kHltBadCode); in SetDebugBreakAtReturn() 58 patcher.dc64(reinterpret_cast<int64_t>(entry)); in SetDebugBreakAtReturn() 102 PatchingAssembler patcher(reinterpret_cast<Instruction*>(rinfo()->pc()), 4); in SetDebugBreakAtSlot() local 108 patcher.ldr_pcrel(ip0, (2 * kInstructionSize) >> kLoadLiteralScaleLog2); in SetDebugBreakAtSlot() 115 patcher.blr(ip0); in SetDebugBreakAtSlot() 116 patcher.dc64(reinterpret_cast<int64_t>(entry)); in SetDebugBreakAtSlot()
|
D | code-stubs-arm64.h | 133 PatchingAssembler patcher( in Patch() 135 Instruction* instr1 = patcher.InstructionAt(0); in Patch() 136 Instruction* instr2 = patcher.InstructionAt(kInstructionSize); in Patch() 148 patcher.adr(xzr, offset_to_incremental_noncompacting); in Patch() 149 patcher.adr(xzr, offset_to_incremental_compacting); in Patch() 153 patcher.b(offset_to_incremental_noncompacting >> kInstructionSizeLog2); in Patch() 154 patcher.adr(xzr, offset_to_incremental_compacting); in Patch() 158 patcher.adr(xzr, offset_to_incremental_noncompacting); in Patch() 159 patcher.b(offset_to_incremental_compacting >> kInstructionSizeLog2); in Patch()
|
D | deoptimizer-arm64.cc | 47 PatchingAssembler patcher(call_address, patch_size() / kInstructionSize); in PatchCodeForDeoptimization() local 48 patcher.ldr_pcrel(ip0, (2 * kInstructionSize) >> kLoadLiteralScaleLog2); in PatchCodeForDeoptimization() 49 patcher.blr(ip0); in PatchCodeForDeoptimization() 50 patcher.dc64(reinterpret_cast<intptr_t>(deopt_entry)); in PatchCodeForDeoptimization()
|
D | instructions-arm64.cc | 242 PatchingAssembler patcher(this, in SetPCRelImmTarget() local 244 patcher.PatchAdrFar(target_offset); in SetPCRelImmTarget()
|
D | codegen-arm64.cc | 363 PatchingAssembler patcher(young_sequence_.start(), in CodeAgingHelper() local 367 MacroAssembler::EmitFrameSetupForCodeAgePatching(&patcher); in CodeAgingHelper() 407 PatchingAssembler patcher(sequence, in PatchPlatformCodeAge() local 410 MacroAssembler::EmitFrameSetupForCodeAgePatching(&patcher); in PatchPlatformCodeAge() 413 MacroAssembler::EmitCodeAgeSequence(&patcher, stub); in PatchPlatformCodeAge()
|
/external/v8/src/arm/ |
D | debug-arm.cc | 31 CodePatcher patcher(rinfo()->pc(), Assembler::kJSReturnSequenceInstructions); in SetDebugBreakAtReturn() local 32 patcher.masm()->ldr(v8::internal::ip, MemOperand(v8::internal::pc, 0)); in SetDebugBreakAtReturn() 33 patcher.masm()->blx(v8::internal::ip); in SetDebugBreakAtReturn() 34 patcher.Emit( in SetDebugBreakAtReturn() 36 patcher.masm()->bkpt(0); in SetDebugBreakAtReturn() 72 CodePatcher patcher(rinfo()->pc(), Assembler::kDebugBreakSlotInstructions); in SetDebugBreakAtSlot() local 73 patcher.masm()->ldr(v8::internal::ip, MemOperand(v8::internal::pc, 0)); in SetDebugBreakAtSlot() 74 patcher.masm()->blx(v8::internal::ip); in SetDebugBreakAtSlot() 75 patcher.Emit( in SetDebugBreakAtSlot()
|
D | deoptimizer-arm.cc | 38 CodePatcher patcher(pointer, 1); in PatchCodeForDeoptimization() local 39 patcher.masm()->bkpt(0); in PatchCodeForDeoptimization() 70 CodePatcher patcher(call_address, call_size_in_words); in PatchCodeForDeoptimization() local 71 patcher.masm()->Call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
|
D | codegen-arm.cc | 877 SmartPointer<CodePatcher> patcher( in CodeAgingHelper() local 881 PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); in CodeAgingHelper() 882 patcher->masm()->PushFixedFrame(r1); in CodeAgingHelper() 883 patcher->masm()->nop(ip.code()); in CodeAgingHelper() 884 patcher->masm()->add( in CodeAgingHelper() 927 CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); in PatchPlatformCodeAge() local 928 patcher.masm()->add(r0, pc, Operand(-8)); in PatchPlatformCodeAge() 929 patcher.masm()->ldr(pc, MemOperand(pc, -4)); in PatchPlatformCodeAge() 930 patcher.masm()->emit_code_stub_address(stub); in PatchPlatformCodeAge()
|
D | assembler-arm.cc | 828 CodePatcher patcher(reinterpret_cast<byte*>(buffer_ + pos), in target_at_put() local 831 patcher.masm()->mov(dst, Operand(target24)); in target_at_put() 838 CodePatcher patcher(reinterpret_cast<byte*>(buffer_ + pos), in target_at_put() local 841 patcher.masm()->movw(dst, target16_0); in target_at_put() 843 CodePatcher patcher(reinterpret_cast<byte*>(buffer_ + pos), in target_at_put() local 846 patcher.masm()->movw(dst, target16_0); in target_at_put() 847 patcher.masm()->movt(dst, target16_1); in target_at_put() 855 CodePatcher patcher(reinterpret_cast<byte*>(buffer_ + pos), in target_at_put() local 858 patcher.masm()->mov(dst, Operand(target8_0)); in target_at_put() 859 patcher.masm()->orr(dst, dst, Operand(target8_1 << 8)); in target_at_put() [all …]
|
/external/v8/src/mips64/ |
D | debug-mips64.cc | 34 CodePatcher patcher(rinfo()->pc(), Assembler::kJSReturnSequenceInstructions); in SetDebugBreakAtReturn() local 36 patcher.masm()->li(v8::internal::t9, Operand(reinterpret_cast<int64_t>( in SetDebugBreakAtReturn() 39 patcher.masm()->Call(v8::internal::t9); in SetDebugBreakAtReturn() 41 patcher.masm()->nop(); in SetDebugBreakAtReturn() 81 CodePatcher patcher(rinfo()->pc(), Assembler::kDebugBreakSlotInstructions); in SetDebugBreakAtSlot() local 82 patcher.masm()->li(v8::internal::t9, in SetDebugBreakAtSlot() 86 patcher.masm()->Call(v8::internal::t9); in SetDebugBreakAtSlot()
|
D | codegen-mips64.cc | 1069 SmartPointer<CodePatcher> patcher( in CodeAgingHelper() local 1073 PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length()); in CodeAgingHelper() 1074 patcher->masm()->Push(ra, fp, cp, a1); in CodeAgingHelper() 1075 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper() 1076 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper() 1077 patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP); in CodeAgingHelper() 1078 patcher->masm()->Daddu( in CodeAgingHelper() 1121 CodePatcher patcher(sequence, young_length / Assembler::kInstrSize); in PatchPlatformCodeAge() local 1123 patcher.masm()->nop(Assembler::CODE_AGE_MARKER_NOP); in PatchPlatformCodeAge() 1126 patcher.masm()->li( in PatchPlatformCodeAge() [all …]
|
D | deoptimizer-mips64.cc | 36 CodePatcher patcher(pointer, 1); in PatchCodeForDeoptimization() local 37 patcher.masm()->break_(0xCC); in PatchCodeForDeoptimization() 64 CodePatcher patcher(call_address, call_size_in_words); in PatchCodeForDeoptimization() local 65 patcher.masm()->Call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
|
/external/v8/src/x64/ |
D | codegen-x64.cc | 637 CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); in CodeAgingHelper() local 638 patcher.masm()->pushq(rbp); in CodeAgingHelper() 639 patcher.masm()->movp(rbp, rsp); in CodeAgingHelper() 640 patcher.masm()->Push(rsi); in CodeAgingHelper() 641 patcher.masm()->Push(rdi); in CodeAgingHelper() 684 CodePatcher patcher(sequence, young_length); in PatchPlatformCodeAge() local 685 patcher.masm()->call(stub->instruction_start()); in PatchPlatformCodeAge() 686 patcher.masm()->Nop( in PatchPlatformCodeAge()
|
D | deoptimizer-x64.cc | 39 CodePatcher patcher(pointer, 1); in PatchCodeForDeoptimization() local 40 patcher.masm()->int3(); in PatchCodeForDeoptimization() 72 CodePatcher patcher(call_address, Assembler::kCallSequenceLength); in PatchCodeForDeoptimization() local 73 patcher.masm()->Call(GetDeoptimizationEntry(isolate, i, LAZY), in PatchCodeForDeoptimization()
|
/external/v8/src/x87/ |
D | codegen-x87.cc | 563 CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); in CodeAgingHelper() local 564 patcher.masm()->push(ebp); in CodeAgingHelper() 565 patcher.masm()->mov(ebp, esp); in CodeAgingHelper() 566 patcher.masm()->push(esi); in CodeAgingHelper() 567 patcher.masm()->push(edi); in CodeAgingHelper() 610 CodePatcher patcher(sequence, young_length); in PatchPlatformCodeAge() local 611 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); in PatchPlatformCodeAge()
|
D | deoptimizer-x87.cc | 104 CodePatcher patcher(pointer, 1); in PatchCodeForDeoptimization() local 105 patcher.masm()->int3(); in PatchCodeForDeoptimization() 140 CodePatcher patcher(call_address, patch_size()); in PatchCodeForDeoptimization() local 142 patcher.masm()->call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
|
D | assembler-x87.cc | 124 CodePatcher patcher(pc_, code_size); in PatchCodeWithCall() local 129 patcher.masm()->bind(&check_codesize); in PatchCodeWithCall() 133 patcher.masm()->call(target, RelocInfo::NONE32); in PatchCodeWithCall() 137 patcher.masm()->SizeOfCodeGeneratedSince(&check_codesize)); in PatchCodeWithCall() 142 patcher.masm()->int3(); in PatchCodeWithCall()
|
/external/v8/src/ia32/ |
D | deoptimizer-ia32.cc | 104 CodePatcher patcher(pointer, 1); in PatchCodeForDeoptimization() local 105 patcher.masm()->int3(); in PatchCodeForDeoptimization() 140 CodePatcher patcher(call_address, patch_size()); in PatchCodeForDeoptimization() local 142 patcher.masm()->call(deopt_entry, RelocInfo::NONE32); in PatchCodeForDeoptimization()
|
D | codegen-ia32.cc | 978 CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); in CodeAgingHelper() local 979 patcher.masm()->push(ebp); in CodeAgingHelper() 980 patcher.masm()->mov(ebp, esp); in CodeAgingHelper() 981 patcher.masm()->push(esi); in CodeAgingHelper() 982 patcher.masm()->push(edi); in CodeAgingHelper() 1025 CodePatcher patcher(sequence, young_length); in PatchPlatformCodeAge() local 1026 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); in PatchPlatformCodeAge()
|
/external/v8/src/ic/mips64/ |
D | ic-mips64.cc | 1009 CodePatcher patcher(patch_address, 2); in PatchInlinedSmiCode() local 1014 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode() 1018 patcher.masm()->andi(at, reg, 0); in PatchInlinedSmiCode() 1022 patcher.ChangeBranchCondition(ne); in PatchInlinedSmiCode() 1025 patcher.ChangeBranchCondition(eq); in PatchInlinedSmiCode()
|
/external/v8/src/ic/arm/ |
D | ic-arm.cc | 996 CodePatcher patcher(patch_address, 2); in PatchInlinedSmiCode() local 1002 patcher.masm()->tst(reg, Operand(kSmiTagMask)); in PatchInlinedSmiCode() 1006 patcher.masm()->cmp(reg, reg); in PatchInlinedSmiCode() 1010 patcher.EmitCondition(ne); in PatchInlinedSmiCode() 1013 patcher.EmitCondition(eq); in PatchInlinedSmiCode()
|
/external/v8/src/ic/mips/ |
D | ic-mips.cc | 1002 CodePatcher patcher(patch_address, 2); in PatchInlinedSmiCode() local 1007 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode() 1011 patcher.masm()->andi(at, reg, 0); in PatchInlinedSmiCode() 1015 patcher.ChangeBranchCondition(ne); in PatchInlinedSmiCode() 1018 patcher.ChangeBranchCondition(eq); in PatchInlinedSmiCode()
|