Home
last modified time | relevance | path

Searched refs:kInstrSize (Results 1 – 25 of 28) sorted by relevance

12

/external/v8/src/arm/
Ddeoptimizer-arm.cc43 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size()
74 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in DeoptimizeFunction()
75 ASSERT(call_size_in_bytes % Assembler::kInstrSize == 0); in DeoptimizeFunction()
119 const int kInstrSize = Assembler::kInstrSize; in PatchStackCheckCodeAt() local
125 ASSERT(Memory::int32_at(pc_after - kInstrSize) == kBlxIp); in PatchStackCheckCodeAt()
127 Assembler::instr_at(pc_after - 2 * kInstrSize))); in PatchStackCheckCodeAt()
130 Memory::int32_at(pc_after - 3 * kInstrSize)); in PatchStackCheckCodeAt()
133 Memory::int32_at(pc_after - 3 * kInstrSize)); in PatchStackCheckCodeAt()
145 CodePatcher patcher(pc_after - 3 * kInstrSize, 1); in PatchStackCheckCodeAt()
151 2 * kInstrSize) & 0xfff; in PatchStackCheckCodeAt()
[all …]
Dassembler-arm-inl.h170 return Memory::Address_at(pc_ + 2 * Assembler::kInstrSize); in call_address()
177 Memory::Address_at(pc_ + 2 * Assembler::kInstrSize) = target; in set_call_address()
199 return reinterpret_cast<Object**>(pc_ + 2 * Assembler::kInstrSize); in call_object_address()
205 Instr next_instr = Assembler::instr_at(pc_ + Assembler::kInstrSize); in IsPatchedReturnSequence()
328 pc_ += kInstrSize; in emit()
340 target_pc -= kInstrSize; in target_address_address_at()
348 target_pc -= kInstrSize; in target_address_address_at()
Ddisasm-arm.cc1053 + Instruction::kInstrSize), in DecodeType7()
1055 + Instruction::kInstrSize), in DecodeType7()
1057 + Instruction::kInstrSize)); in DecodeType7()
1059 return 2 * Instruction::kInstrSize; in DecodeType7()
1066 return Instruction::kInstrSize; in DecodeType7()
1386 return Instruction::kInstrSize; in InstructionDecode()
1394 return Instruction::kInstrSize; in InstructionDecode()
1431 return Instruction::kInstrSize; in InstructionDecode()
Dassembler-arm.h703 static const int kInstrSize = sizeof(Instr); variable
712 static const int kCallTargetAddressOffset = 2 * kInstrSize;
718 static const int kCallTargetAddressOffset = kInstrSize;
727 static const int kPatchReturnSequenceAddressOffset = 0 * kInstrSize;
732 static const int kPatchReturnSequenceAddressOffset = kInstrSize;
741 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize;
746 static const int kPatchDebugBreakSlotAddressOffset = kInstrSize;
756 kDebugBreakSlotInstructions * kInstrSize;
1174 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince()
1273 static const int kMaxNumPendingRelocInfo = kMaxDistToPool/kInstrSize;
[all …]
Dsimulator-arm.cc109 reinterpret_cast<char**>(sim_->get_pc() + Instruction::kInstrSize); in Stop()
127 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop()
141 + Instruction::kInstrSize); in Stop()
152 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop()
438 end = cur + (10 * Instruction::kInstrSize); in Debug()
447 end = cur + (10 * Instruction::kInstrSize); in Debug()
455 end = cur + (value * Instruction::kInstrSize); in Debug()
463 end = cur + (value2 * Instruction::kInstrSize); in Debug()
506 intptr_t stop_pc = sim_->get_pc() - 2 * Instruction::kInstrSize; in Debug()
509 reinterpret_cast<Instruction*>(stop_pc + Instruction::kInstrSize); in Debug()
[all …]
Dcode-stubs-arm.h500 Assembler::kInstrSize); in GetMode()
526 PatchBranchIntoNop(&masm, Assembler::kInstrSize); in Patch()
534 PatchNopIntoBranch(&masm, Assembler::kInstrSize); in Patch()
538 CPU::FlushICache(stub->instruction_start(), 2 * Assembler::kInstrSize); in Patch()
Dconstants-arm.h513 kInstrSize = 4, enumerator
Dassembler-arm.cc151 CPU::FlushICache(pc_, instruction_count * Assembler::kInstrSize); in PatchCode()
1481 CheckConstPool(true, no_const_pool_before_ == pc_offset() - kInstrSize); in ldm()
2556 int pc_limit = pc_offset() + instructions * kInstrSize; in BlockConstPoolFor()
2604 int jump_instr = require_jump ? kInstrSize : 0; in CheckConstPool()
2605 int needed_space = jump_instr + kInstrSize + in CheckConstPool()
2606 num_pending_reloc_info_ * kInstrSize + kGap; in CheckConstPool()
Dmacro-assembler-arm.cc112 return kInstrSize; in CallSize()
114 return 2 * kInstrSize; in CallSize()
137 int size = 2 * kInstrSize; in CallSize()
141 size += kInstrSize; in CallSize()
168 ASSERT(kCallTargetAddressOffset == 2 * kInstrSize); in Call()
174 ASSERT(kCallTargetAddressOffset == kInstrSize); in Call()
3727 size_(instructions * Assembler::kInstrSize), in CodePatcher()
Dic-arm.cc1728 cmp_instruction_address - delta * Instruction::kInstrSize; in PatchInlinedSmiCode()
1731 Assembler::instr_at(patch_address + Instruction::kInstrSize); in PatchInlinedSmiCode()
Dregexp-macro-assembler-arm.cc917 __ mov(r0, Operand(pc_offset_of_constant + Assembler::kInstrSize)); in PushBacktrack()
Dlithium-codegen-arm.cc271 if (!is_int24((masm()->pc_offset() / Assembler::kInstrSize) + in GenerateDeoptJumpTable()
283 __ ldr(pc, MemOperand(pc, Assembler::kInstrSize - Assembler::kPcLoadDelta)); in GenerateDeoptJumpTable()
4927 ASSERT_EQ(0, padding_size % Assembler::kInstrSize); in EnsureSpaceForLazyDeopt()
4930 padding_size -= Assembler::kInstrSize; in EnsureSpaceForLazyDeopt()
Dcode-stubs-arm.cc6823 __ add(ip, pc, Operand(Assembler::kInstrSize)); in GenerateCall()
6826 ASSERT_EQ(Assembler::kInstrSize + Assembler::kPcLoadDelta, in GenerateCall()
7202 PatchBranchIntoNop(masm, Assembler::kInstrSize); in Generate()
/external/v8/src/mips/
Ddeoptimizer-mips.cc41 return kCallInstructionSizeInWords * Assembler::kInstrSize; in patch_size()
72 int call_size_in_words = call_size_in_bytes / Assembler::kInstrSize; in DeoptimizeFunction()
73 ASSERT(call_size_in_bytes % Assembler::kInstrSize == 0); in DeoptimizeFunction()
119 const int kInstrSize = Assembler::kInstrSize; in PatchStackCheckCodeAt() local
130 ASSERT(Assembler::IsBeq(Assembler::instr_at(pc_after - 5 * kInstrSize))); in PatchStackCheckCodeAt()
133 CodePatcher patcher(pc_after - 6 * kInstrSize, 1); in PatchStackCheckCodeAt()
139 Assembler::target_address_at(pc_after - 4 * kInstrSize)) == in PatchStackCheckCodeAt()
141 Assembler::set_target_address_at(pc_after - 4 * kInstrSize, in PatchStackCheckCodeAt()
154 unoptimized_code, pc_after - 4 * kInstrSize, replacement_code); in PatchStackCheckCodeAt()
163 const int kInstrSize = Assembler::kInstrSize; in RevertStackCheckCodeAt() local
[all …]
Dsimulator-mips.cc130 reinterpret_cast<char**>(sim_->get_pc() + Instr::kInstrSize); in Stop()
164 Instruction::kInstrSize); in Stop()
170 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop()
413 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize); in Debug()
555 end = cur + (10 * Instruction::kInstrSize); in Debug()
564 end = cur + (10 * Instruction::kInstrSize); in Debug()
572 end = cur + (value * Instruction::kInstrSize); in Debug()
580 end = cur + (value2 * Instruction::kInstrSize); in Debug()
588 cur += Instruction::kInstrSize; in Debug()
616 2 * Instruction::kInstrSize; in Debug()
[all …]
Dassembler-mips-inl.h139 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address()
265 return reinterpret_cast<Object**>(pc_ + 2 * Assembler::kInstrSize); in call_object_address()
276 Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); in IsPatchedReturnSequence()
277 Instr instr2 = Assembler::instr_at(pc_ + 2 * Assembler::kInstrSize); in IsPatchedReturnSequence()
366 pc_ += kInstrSize; in emit()
Dassembler-mips.cc197 CPU::FlushICache(pc_, instruction_count * Assembler::kInstrSize); in PatchCode()
679 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at()
680 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at()
731 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize); in target_at_put()
732 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize); in target_at_put()
740 instr_at_put(pos + 0 * Assembler::kInstrSize, in target_at_put()
742 instr_at_put(pos + 1 * Assembler::kInstrSize, in target_at_put()
840 return ((pc_offset() - L->pos()) < kMaxBranchOffset - 4 * kInstrSize); in is_near()
1131 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in j()
1152 uint32_t ipc = reinterpret_cast<uint32_t>(pc_ + 1 * kInstrSize); in jal()
[all …]
Dconstants-mips.h595 kInstrSize = 4, enumerator
783 const int kCArgsSlotsSize = kCArgSlotCount * Instruction::kInstrSize;
785 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize;
787 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize;
789 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
Dassembler-mips.h581 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, in deserialization_set_special_target_at()
593 static const int kInstrSize = sizeof(Instr); variable
617 static const int kCallTargetAddressOffset = 4 * kInstrSize;
625 static const int kPatchDebugBreakSlotAddressOffset = 0 * kInstrSize;
636 kDebugBreakSlotInstructions * kInstrSize;
864 return SizeOfCodeGeneratedSince(label) / kInstrSize; in InstructionsGeneratedSince()
1105 static const int kCheckConstInterval = kCheckConstIntervalInst * kInstrSize;
1260 static const int kTrampolineSlotsSize = 4 * kInstrSize;
Dcode-stubs-mips.h515 2 * Assembler::kInstrSize); in GetMode()
541 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch()
549 PatchNopIntoBranch(&masm, 2 * Assembler::kInstrSize); in Patch()
553 CPU::FlushICache(stub->instruction_start(), 4 * Assembler::kInstrSize); in Patch()
Dsimulator-mips.h316 Instruction::kInstrSize); in BranchDelayInstructionDecode()
Dmacro-assembler-mips.cc921 li(a1, instructions * kInstrSize); in FlushICache()
2500 return size * kInstrSize; in CallSize()
2536 return size + 2 * kInstrSize; in CallSize()
5028 lw(scratch, MemOperand(li_location, kInstrSize)); in PatchRelocatedValue()
5034 lw(scratch, MemOperand(li_location, kInstrSize)); in PatchRelocatedValue()
5037 sw(scratch, MemOperand(li_location, kInstrSize)); in PatchRelocatedValue()
5057 lw(scratch, MemOperand(li_location, kInstrSize)); in GetRelocatedValue()
5062 lw(scratch, MemOperand(li_location, kInstrSize)); in GetRelocatedValue()
5380 size_(instructions * Assembler::kInstrSize), in CodePatcher()
Ddisasm-mips.cc965 return Instruction::kInstrSize; in InstructionDecode()
Dic-mips.cc1726 andi_instruction_address - delta * Instruction::kInstrSize; in PatchInlinedSmiCode()
1729 Assembler::instr_at(patch_address + Instruction::kInstrSize); in PatchInlinedSmiCode()
/external/valgrind/main/VEX/priv/
Dhost_mips_defs.c3923 UInt kInstrSize = 4; in evCheckSzB_MIPS() local
3924 return 7*kInstrSize; in evCheckSzB_MIPS()

12