Lines Matching refs:masm
14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code);
23 static void GenerateCopyCharacters(MacroAssembler* masm,
32 MacroAssembler* masm, Register left, Register right, Register scratch1,
36 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm,
44 MacroAssembler* masm, Register left, Register right, Register length,
109 static void PatchBranchIntoNop(MacroAssembler* masm, int pos) { in PatchBranchIntoNop() argument
110 const unsigned offset = masm->instr_at(pos) & kImm16Mask; in PatchBranchIntoNop()
111 masm->instr_at_put(pos, BNE | (zero_reg.code() << kRsShift) | in PatchBranchIntoNop()
113 DCHECK(Assembler::IsBne(masm->instr_at(pos))); in PatchBranchIntoNop()
116 static void PatchNopIntoBranch(MacroAssembler* masm, int pos) { in PatchNopIntoBranch() argument
117 const unsigned offset = masm->instr_at(pos) & kImm16Mask; in PatchNopIntoBranch()
118 masm->instr_at_put(pos, BEQ | (zero_reg.code() << kRsShift) | in PatchNopIntoBranch()
120 DCHECK(Assembler::IsBeq(masm->instr_at(pos))); in PatchNopIntoBranch()
144 MacroAssembler masm(stub->GetIsolate(), stub->instruction_start(), in Patch()
150 PatchBranchIntoNop(&masm, 0); in Patch()
151 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch()
155 PatchNopIntoBranch(&masm, 0); in Patch()
159 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch()
185 void Save(MacroAssembler* masm) { in Save() argument
189 masm->push(scratch1_); in Save()
192 void Restore(MacroAssembler* masm) { in Restore() argument
193 masm->pop(scratch1_); in Restore()
199 void SaveCallerSaveRegisters(MacroAssembler* masm, SaveFPRegsMode mode) { in SaveCallerSaveRegisters() argument
200 masm->MultiPush((kJSCallerSaved | ra.bit()) & ~scratch1_.bit()); in SaveCallerSaveRegisters()
202 masm->MultiPushFPU(kCallerSavedFPU); in SaveCallerSaveRegisters()
206 inline void RestoreCallerSaveRegisters(MacroAssembler*masm, in RestoreCallerSaveRegisters() argument
209 masm->MultiPopFPU(kCallerSavedFPU); in RestoreCallerSaveRegisters()
211 masm->MultiPop((kJSCallerSaved | ra.bit()) & ~scratch1_.bit()); in RestoreCallerSaveRegisters()
235 void Generate(MacroAssembler* masm) override;
236 void GenerateIncremental(MacroAssembler* masm, Mode mode);
238 MacroAssembler* masm,
241 void InformIncrementalMarker(MacroAssembler* masm);
288 void GenerateCall(MacroAssembler* masm, Register target);
307 static void GenerateNegativeLookup(MacroAssembler* masm,
315 static void GeneratePositiveLookup(MacroAssembler* masm,