Home
last modified time | relevance | path

Searched refs:instruction_ (Results 1 – 17 of 17) 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::__anonab18f0a00111::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/
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()
208 if (instruction_->IsDeoptimize()) { in GetSideEffects()
211 return instruction_->GetSideEffects(); in GetSideEffects()
216 HInstruction* const instruction_; member in art::ValueSet::Node
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.cc80 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
82 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
85 instruction_, in EmitNativeCode()
86 instruction_->GetDexPc(), in EmitNativeCode()
106 x86_64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
158 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
162 x86_64_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
196 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
199 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
201 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
[all …]
Dcode_generator_x86.cc81 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
83 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
86 instruction_, in EmitNativeCode()
87 instruction_->GetDexPc(), in EmitNativeCode()
107 x86_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
147 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
152 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
154 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
158 HInstruction* array_length = instruction_->InputAt(1); in EmitNativeCode()
185 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
[all …]
Dcode_generator_arm64.cc253 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
257 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
259 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
270 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode()
273 arm64_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
293 arm64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
310 DCHECK_EQ(instruction_->IsLoadClass(), cls_ == instruction_); in LoadClassSlowPathARM64()
314 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
316 const uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode()
317 bool must_resolve_type = instruction_->IsLoadClass() && cls_->MustResolveTypeOnSlowPath(); in EmitNativeCode()
[all …]
Dscheduler.h163 instruction_(instr), in SchedulingNode()
211 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction()
245 HInstruction* const instruction_; variable
Dcode_generator_arm_vixl.cc391 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
393 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
396 instruction_, in EmitNativeCode()
397 instruction_->GetDexPc(), in EmitNativeCode()
418 arm_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
438 arm_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
475 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
478 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode()
480 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode()
492 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.h1683 HUserRecord() : instruction_(nullptr), before_use_node_() {} in HUserRecord()
1684 explicit HUserRecord(HInstruction* instruction) : instruction_(instruction), before_use_node_() {} in HUserRecord()
1687 : HUserRecord(old_record.instruction_, before_use_node) {} in HUserRecord()
1689 : instruction_(instruction), before_use_node_(before_use_node) { in HUserRecord()
1690 DCHECK(instruction_ != nullptr); in HUserRecord()
1693 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction()
1699 HInstruction* instruction_;
2657 : instruction_(instructions.first_instruction_) { in HInstructionIterator()
2658 next_ = Done() ? nullptr : instruction_->GetNext(); in HInstructionIterator()
2661 bool Done() const { return instruction_ == nullptr; } in Done()
[all …]
Dintrinsics_arm_vixl.cc129 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
131 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
133 << instruction_->DebugName(); in EmitNativeCode()
134 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
135 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
140 vixl32::Register dest = InputRegisterAt(instruction_, 2); in EmitNativeCode()
178 arm_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
929 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
930 vixl32::Register base = InputRegisterAt(instruction_, 1); // Object pointer. in EmitNativeCode()
932 vixl32::Register expected = InputRegisterAt(instruction_, 3); // Expected. in EmitNativeCode()
[all …]
Dintrinsics_x86_64.cc80 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
82 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
84 << instruction_->DebugName(); in EmitNativeCode()
85 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
86 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
106 x86_64_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
Dintrinsics_arm64.cc94 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
96 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
98 << instruction_->DebugName(); in EmitNativeCode()
99 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
100 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
137 codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
952 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
Dintrinsics_x86.cc82 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode()
84 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode()
86 << instruction_->DebugName(); in EmitNativeCode()
87 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode()
88 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
139 x86_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
Dcode_generator.cc332 : codegen_(codegen), instruction_(instruction), start_offset_(static_cast<size_t>(-1)) { in DisassemblyScope()
342 instruction_, start_offset_, codegen_.GetAssembler().CodeSize()); in ~DisassemblyScope()
348 HInstruction* instruction_; member in art::DisassemblyScope