Lines Matching refs:instr

196   Instruction* instr = reinterpret_cast<Instruction*>(pc_);
197 if (instr->IsLdrLiteralX()) {
200 DCHECK(instr->IsBranchAndLink() || instr->IsUnconditionalBranch());
206 Instruction* instr = reinterpret_cast<Instruction*>(pc_);
207 DCHECK_IMPLIES(instr->IsLdrLiteralW(), COMPRESS_POINTERS_BOOL);
208 return instr->IsLdrLiteralX() ||
209 (COMPRESS_POINTERS_BOOL && instr->IsLdrLiteralW());
214 Instruction* instr = reinterpret_cast<Instruction*>(pc_);
215 if (instr->IsLdrLiteralX()) {
219 DCHECK(instr->IsBranchAndLink() || instr->IsUnconditionalBranch());
220 return static_cast<uint32_t>(instr->ImmPCOffset() / kInstrSize);
701 bool Assembler::IsConstantPoolAt(Instruction* instr) {
705 bool result = instr->IsLdrLiteralX() && (instr->Rt() == kZeroRegCode);
709 DCHECK(!result || (instr->following()->IsBranchAndLinkToRegister() &&
710 instr->following()->Rn() == kZeroRegCode));
715 int Assembler::ConstantPoolSizeAt(Instruction* instr) {
720 if ((instr->Mask(ExceptionMask) == HLT) &&
721 (instr->ImmException() == kImmExceptionIsDebug)) {
723 instr->InstructionAtOffset(kDebugMessageOffset));
728 if ((instr->Mask(ExceptionMask) == HLT) &&
729 (instr->ImmException() == kImmExceptionIsPrintf)) {
733 if (IsConstantPoolAt(instr)) {
734 return instr->ImmLLiteral();
2569 Instr instr = op;
2572 instr |= NEONLoadStoreSingle_b;
2575 instr |= NEONLoadStoreSingle_h;
2578 instr |= NEONLoadStoreSingle_s;
2582 instr |= NEONLoadStoreSingle_d;
2585 Emit(instr | LoadStoreStructAddrModeField(addr) | q | size | s | Rt(vt));
4430 Instruction* instr = assm_->InstructionAt(load_offset);
4432 DCHECK(instr->IsLdrLiteral() && instr->ImmLLiteral() == 0);
4433 instr->SetImmPCOffsetTarget(assm_->options(), entry_offset);