Lines Matching defs: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,
81 static void PatchBranchIntoNop(MacroAssembler* masm, int pos) {
82 masm->instr_at_put(pos, (masm->instr_at(pos) & ~B27) | (B24 | B20));
83 DCHECK(Assembler::IsTstImmediate(masm->instr_at(pos)));
86 static void PatchNopIntoBranch(MacroAssembler* masm, int pos) {
87 masm->instr_at_put(pos, (masm->instr_at(pos) & ~(B24 | B20)) | B27);
88 DCHECK(Assembler::IsBranch(masm->instr_at(pos)));
112 MacroAssembler masm(stub->GetIsolate(), stub->instruction_start(),
118 PatchBranchIntoNop(&masm, 0);
119 PatchBranchIntoNop(&masm, Assembler::kInstrSize);
123 PatchNopIntoBranch(&masm, 0);
127 PatchNopIntoBranch(&masm, Assembler::kInstrSize);
153 void Save(MacroAssembler* masm) {
157 masm->push(scratch1_);
160 void Restore(MacroAssembler* masm) {
161 masm->pop(scratch1_);
167 void SaveCallerSaveRegisters(MacroAssembler* masm, SaveFPRegsMode mode) {
168 masm->stm(db_w, sp, (kCallerSaved | lr.bit()) & ~scratch1_.bit());
170 masm->SaveFPRegs(sp, scratch0_);
174 inline void RestoreCallerSaveRegisters(MacroAssembler*masm,
177 masm->RestoreFPRegs(sp, scratch0_);
179 masm->ldm(ia_w, sp, (kCallerSaved | lr.bit()) & ~scratch1_.bit());
203 void Generate(MacroAssembler* masm) override;
204 void GenerateIncremental(MacroAssembler* masm, Mode mode);
206 MacroAssembler* masm,
209 void InformIncrementalMarker(MacroAssembler* masm);
256 void GenerateCall(MacroAssembler* masm, Register target);
275 static void GenerateNegativeLookup(MacroAssembler* masm,
283 static void GeneratePositiveLookup(MacroAssembler* masm,