Lines Matching defs:masm

50 LiteralPool::LiteralPool(MacroAssembler* masm)
51 : Pool(masm),
56 LiteralPool::LiteralPool(AllocatorWrapper allocator, MacroAssembler* masm)
57 : Pool(masm),
118 ExactAssemblyScopeWithoutPoolsCheck(MacroAssembler* masm, size_t size)
119 : ExactAssemblyScope(masm,
238 // is bound with masm Bind and not asm bind.
489 int MacroAssembler::MoveImmediateHelper(MacroAssembler* masm,
492 bool emit_code = (masm != NULL);
497 MacroEmissionCheckScope guard(masm);
516 if (OneInstrMoveImmediateHelper(masm, rd, imm)) {
542 temps.Open(masm);
555 if (emit_code) masm->movn(temp, ~imm16 & 0xffff, 16 * i);
558 if (emit_code) masm->movz(temp, imm16, 16 * i);
564 if (emit_code) masm->movk(temp, imm16, 16 * i);
575 if (emit_code) masm->mov(rd, temp);
1292 void MacroAssembler::CselHelper(MacroAssembler* masm,
1299 bool emit_code = (masm != NULL);
1301 VIXL_ASSERT(!emit_code || masm->allow_macro_instructions_);
1315 EmissionCheckScope guard(masm, 9 * kInstructionSize);
1317 if (masm != NULL) {
1318 temps.Open(masm);
1325 CselSubHelperTwoImmediates(masm,
1349 CselSubHelperRightSmallImmediate(masm,
1365 masm->Mov(temp, left);
1373 masm->Mov(temp, right);
1381 masm->Mov(rd, left.GetRegister());
1383 masm->csel(rd, left.GetRegister(), right.GetRegister(), cond);
1389 bool MacroAssembler::CselSubHelperTwoImmediates(MacroAssembler* masm,
1396 bool emit_code = (masm != NULL);
1401 if (emit_code) masm->Mov(rd, left);
1406 masm->Mov(rd, right);
1407 masm->Cneg(rd, rd, cond);
1412 if (CselSubHelperTwoOrderedImmediates(masm, rd, left, right, cond)) {
1416 if (CselSubHelperTwoOrderedImmediates(masm,
1431 bool MacroAssembler::CselSubHelperTwoOrderedImmediates(MacroAssembler* masm,
1436 bool emit_code = (masm != NULL);
1439 if (emit_code) masm->cset(rd, cond);
1442 if (emit_code) masm->csetm(rd, cond);
1450 MacroAssembler* masm,
1457 bool emit_code = (masm != NULL);
1468 masm->Mov(left_register, left);
1476 masm->csel(rd, left_register, zr, cond);
1478 masm->csinc(rd, left_register, zr, cond);
1481 masm->csinv(rd, left_register, zr, cond);
3019 void UseScratchRegisterScope::Open(MacroAssembler* masm) {
3021 VIXL_ASSERT(masm != NULL);
3022 masm_ = masm;
3024 CPURegList* available = masm->GetScratchRegisterList();
3025 CPURegList* available_v = masm->GetScratchVRegisterList();
3026 CPURegList* available_p = masm->GetScratchPRegisterList();
3034 parent_ = masm->GetCurrentScratchRegisterScope();
3035 masm->SetCurrentScratchRegisterScope(this);