Home
last modified time | relevance | path

Searched refs:instruction_ (Results 1 – 21 of 21) sorted by relevance

/art/libdexfile/dex/
Dbytecode_utils.h30 : instruction_(instruction), in DexSwitchTable()
64 reinterpret_cast<const int16_t*>(&instruction_)); in GetDexPcForIndex()
85 const Instruction& instruction_;
/art/compiler/dex/
Dinline_method_analyser.cc68 instruction_(code_item->begin()) {} in Matcher()
73 DexInstructionIterator instruction_; member in art::__anon21b05b290111::Matcher
95 ++matcher->instruction_; in Required()
107 ++matcher->instruction_; in Repeated()
113 return instruction_->Opcode() == opcode; in Opcode()
118 return IsInstructionDirectConst(instruction_->Opcode()) && in Const0()
119 (instruction_->Opcode() == Instruction::CONST_WIDE ? instruction_->VRegB_51l() == 0 in Const0()
120 : instruction_->VRegB() == 0); in Const0()
125 return IsInstructionIPut(instruction_->Opcode()) && in IPutOnThis()
126 instruction_->VRegB_22c() == code_item_->RegistersSize() - code_item_->InsSize(); in IPutOnThis()
/art/compiler/optimizing/
Dcode_generator_mips64.cc132 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
135 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
137 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
148 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
151 mips64_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
172 mips64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
189 DCHECK_EQ(instruction_->IsLoadClass(), cls_ == instruction_); in LoadClassSlowPathMIPS64()
193 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
195 const uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode()
196 bool must_resolve_type = instruction_->IsLoadClass() && cls_->MustResolveTypeOnSlowPath(); in EmitNativeCode()
[all …]
Dbounds_check_elimination.cc42 instruction_ = nullptr; in ValueBound()
47 instruction_ = instruction; in ValueBound()
136 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction()
142 return (instruction_ != nullptr) && in IsRelatedToArrayLength()
143 (instruction_->IsArrayLength() || instruction_->IsNewArray()); in IsRelatedToArrayLength()
147 return instruction_ == nullptr; in IsConstant()
154 return instruction_ == bound.instruction_ && constant_ == bound.constant_; in Equals()
171 if (Equal(instruction_, bound.instruction_)) { in GreaterThanOrEqualTo()
180 if (Equal(instruction_, bound.instruction_)) { in LessThanOrEqualTo()
189 if (Equal(instruction_, bound.instruction_)) { in GreaterThan()
[all …]
Dcode_generator_x86_64.cc77 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
79 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
82 instruction_, in EmitNativeCode()
83 instruction_->GetDexPc(), in EmitNativeCode()
103 x86_64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
155 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
159 x86_64_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
193 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
196 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
198 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
[all …]
Dcode_generator_arm64.cc251 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
255 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
257 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
268 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
271 arm64_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
291 arm64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
308 DCHECK_EQ(instruction_->IsLoadClass(), cls_ == instruction_); in LoadClassSlowPathARM64()
312 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
314 const uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode()
315 bool must_resolve_type = instruction_->IsLoadClass() && cls_->MustResolveTypeOnSlowPath(); in EmitNativeCode()
[all …]
Dcode_generator_x86.cc78 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
80 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
83 instruction_, in EmitNativeCode()
84 instruction_->GetDexPc(), in EmitNativeCode()
104 x86_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
144 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
149 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
151 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
155 HInstruction* array_length = instruction_->InputAt(1); in EmitNativeCode()
182 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
[all …]
Dscheduler.h162 instruction_(instr), in SchedulingNode()
200 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction()
226 HInstruction* const instruction_; variable
Dgvn.cc189 : instruction_(instruction), hash_code_(hash_code), next_(next) {} in Node()
192 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction()
197 return new (allocator) Node(instruction_, hash_code_, new_next); in Dup()
201 HInstruction* const instruction_; member in art::ValueSet::Node
Dcode_generator_mips.cc180 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
183 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
185 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
196 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
199 mips_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
219 mips_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
236 DCHECK_EQ(instruction_->IsLoadClass(), cls_ == instruction_); in LoadClassSlowPathMIPS()
240 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
242 const uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode()
243 bool must_resolve_type = instruction_->IsLoadClass() && cls_->MustResolveTypeOnSlowPath(); in EmitNativeCode()
[all …]
Dcode_generator_arm_vixl.cc389 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
391 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
394 instruction_, in EmitNativeCode()
395 instruction_->GetDexPc(), in EmitNativeCode()
416 arm_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
436 arm_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
473 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
476 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
478 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
490 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
[all …]
Dcode_generator.h84 explicit SlowPathCode(HInstruction* instruction) : instruction_(instruction) { in SlowPathCode()
126 return instruction_; in GetInstruction()
130 return instruction_ != nullptr ? instruction_->GetDexPc() : kNoDexPc; in GetDexPc()
137 HInstruction* instruction_; variable
Dssa_liveness_analysis.h230 : instruction_(instruction), in SafepointPosition()
251 return ComputePosition(instruction_); in GetPosition()
259 return instruction_->GetLocations(); in GetLocations()
263 return instruction_; in GetInstruction()
267 HInstruction* const instruction_;
Dnodes.h1612 HUserRecord() : instruction_(nullptr), before_use_node_() {} in HUserRecord()
1613 explicit HUserRecord(HInstruction* instruction) : instruction_(instruction), before_use_node_() {} in HUserRecord()
1616 : HUserRecord(old_record.instruction_, before_use_node) {} in HUserRecord()
1618 : instruction_(instruction), before_use_node_(before_use_node) { in HUserRecord()
1619 DCHECK(instruction_ != nullptr); in HUserRecord()
1622 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction()
1628 HInstruction* instruction_;
2585 : instruction_(instructions.first_instruction_) { in HInstructionIterator()
2586 next_ = Done() ? nullptr : instruction_->GetNext(); in HInstructionIterator()
2589 bool Done() const { return instruction_ == nullptr; } in Done()
[all …]
Dintrinsics_arm_vixl.cc179 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
181 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
183 << instruction_->DebugName(); in EmitNativeCode()
184 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
185 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
190 vixl32::Register dest = InputRegisterAt(instruction_, 2); in EmitNativeCode()
228 arm_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
979 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
980 vixl32::Register base = InputRegisterAt(instruction_, 1); // Object pointer. in EmitNativeCode()
982 vixl32::Register expected = InputRegisterAt(instruction_, 3); // Expected. in EmitNativeCode()
[all …]
Dintrinsics_arm64.cc168 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
170 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
172 << instruction_->DebugName(); in EmitNativeCode()
173 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
174 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
211 codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
1018 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
Dintrinsics_x86_64.cc85 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
87 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
89 << instruction_->DebugName(); in EmitNativeCode()
90 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
91 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
111 x86_64_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
Dcode_generator.cc338 : codegen_(codegen), instruction_(instruction), start_offset_(static_cast<size_t>(-1)) { in DisassemblyScope()
348 instruction_, start_offset_, codegen_.GetAssembler().CodeSize()); in ~DisassemblyScope()
354 HInstruction* instruction_; member in art::DisassemblyScope
Dintrinsics_x86.cc87 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
89 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
91 << instruction_->DebugName(); in EmitNativeCode()
92 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
93 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
144 x86_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
/art/compiler/utils/mips/
Dassembler_mips.cc44 : instruction_(0), in DelaySlot()
50 CHECK_EQ(delay_slot_.instruction_, 0u); in DsFsmInstr()
81 delay_slot_.instruction_ = instruction; in DsFsmInstr()
90 CHECK_EQ(delay_slot_.instruction_, 0u); in DsFsmLabel()
110 delay_slot_.instruction_ = 0; in DsFsmLabel()
940 uint32_t last_instruction = delay_slot_.instruction_; in Jalr()
3619 if (delay_slot.instruction_ == 0) { in CanHaveDelayedInstruction()
3745 CHECK_EQ(buffer_.Load<uint32_t>(size), delay_slot_.instruction_); in MoveInstructionToDelaySlot()
3749 branch.SetDelayedInstruction(delay_slot_.instruction_, delay_slot_.patcher_label_); in MoveInstructionToDelaySlot()
4348 return (delay_slot_.instruction_ != 0 && in CanExchangeWithSlt()
[all …]
Dassembler_mips.h1433 uint32_t instruction_; member