/art/libdexfile/dex/ |
D | bytecode_utils.h | 30 : instruction_(instruction), in DexSwitchTable() 64 reinterpret_cast<const int16_t*>(&instruction_)); in GetDexPcForIndex() 85 const Instruction& instruction_;
|
/art/compiler/dex/ |
D | inline_method_analyser.cc | 68 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/ |
D | gvn.cc | 189 : 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
|
D | code_generator_x86_64.cc | 88 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 90 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 93 instruction_, in EmitNativeCode() 94 instruction_->GetDexPc(), in EmitNativeCode() 114 x86_64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 166 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 170 x86_64_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 204 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 207 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 220 DCHECK(instruction_->InputAt(1)->IsArrayLength()); in EmitNativeCode() [all …]
|
D | bounds_check_elimination.cc | 42 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 …]
|
D | code_generator_arm64.cc | 218 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 222 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 224 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 235 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode() 238 arm64_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 258 arm64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 275 DCHECK_EQ(instruction_->IsLoadClass(), cls_ == instruction_); in LoadClassSlowPathARM64() 279 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 281 const uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode() 282 bool must_resolve_type = instruction_->IsLoadClass() && cls_->MustResolveTypeOnSlowPath(); in EmitNativeCode() [all …]
|
D | code_generator_riscv64.cc | 282 if (instruction_ != nullptr) { in EmitNativeCode() 284 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 290 if (instruction_ != nullptr) { in EmitNativeCode() 292 RestoreLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 312 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 316 riscv64_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 352 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 354 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 357 kQuickThrowNullPointer, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 375 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() [all …]
|
D | code_generator_x86.cc | 88 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 90 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 93 instruction_, in EmitNativeCode() 94 instruction_->GetDexPc(), in EmitNativeCode() 114 x86_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 154 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 157 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 170 DCHECK(instruction_->InputAt(1)->IsArrayLength()); in EmitNativeCode() 171 HArrayLength* array_length = instruction_->InputAt(1)->AsArrayLength(); in EmitNativeCode() 213 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode() [all …]
|
D | scheduler.h | 164 instruction_(instr), in SchedulingNode() 212 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction() 246 HInstruction* const instruction_; variable
|
D | code_generator_arm_vixl.cc | 374 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 376 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 379 instruction_, in EmitNativeCode() 380 instruction_->GetDexPc(), in EmitNativeCode() 401 arm_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 421 arm_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode() 458 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 461 if (instruction_->CanThrowIntoCatchBlock()) { in EmitNativeCode() 463 SaveLiveRegisters(codegen, instruction_->GetLocations()); in EmitNativeCode() 475 QuickEntrypointEnum entrypoint = instruction_->AsBoundsCheck()->IsStringCharAt() in EmitNativeCode() [all …]
|
D | code_generator.h | 85 explicit SlowPathCode(HInstruction* instruction) : instruction_(instruction) { in SlowPathCode() 127 return instruction_; in GetInstruction() 131 return instruction_ != nullptr ? instruction_->GetDexPc() : kNoDexPc; in GetDexPc() 138 HInstruction* instruction_; variable
|
D | nodes.h | 1776 HUserRecord() : instruction_(nullptr), before_use_node_() {} in HUserRecord() 1777 explicit HUserRecord(HInstruction* instruction) : instruction_(instruction), before_use_node_() {} in HUserRecord() 1780 : HUserRecord(old_record.instruction_, before_use_node) {} in HUserRecord() 1782 : instruction_(instruction), before_use_node_(before_use_node) { in HUserRecord() 1783 DCHECK(instruction_ != nullptr); in HUserRecord() 1786 HInstruction* GetInstruction() const { return instruction_; } in GetInstruction() 1792 HInstruction* instruction_; 2867 : instruction_(instructions.first_instruction_) { in HInstructionIterator() 2868 next_ = Done() ? nullptr : instruction_->GetNext(); in HInstructionIterator() 2871 bool Done() const { return instruction_ == nullptr; } in Done() [all …]
|
D | ssa_liveness_analysis.h | 228 : instruction_(instruction), in SafepointPosition() 249 return ComputePosition(instruction_); in GetPosition() 257 return instruction_->GetLocations(); in GetLocations() 261 return instruction_; in GetInstruction() 265 HInstruction* const instruction_;
|
D | code_generator.cc | 257 : codegen_(codegen), instruction_(instruction), start_offset_(static_cast<size_t>(-1)) { in DisassemblyScope() 267 instruction_, start_offset_, codegen_.GetAssembler().CodeSize()); in ~DisassemblyScope() 273 HInstruction* instruction_; member in art::DisassemblyScope
|
D | intrinsics_x86.cc | 100 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 102 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode() 104 << instruction_->DebugName(); in EmitNativeCode() 105 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 106 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode() 134 x86_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
|
D | intrinsics_riscv64.cc | 43 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 45 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode() 47 << instruction_->DebugName(); in EmitNativeCode() 48 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 49 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode() 73 codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
|
D | intrinsics_x86_64.cc | 97 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 99 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode() 101 << instruction_->DebugName(); in EmitNativeCode() 102 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 103 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode() 128 x86_64_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
|
D | intrinsics_arm_vixl.cc | 88 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 90 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode() 92 << instruction_->DebugName(); in EmitNativeCode() 93 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 94 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode() 133 arm_codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
|
D | intrinsics_arm64.cc | 102 LocationSummary* locations = instruction_->GetLocations(); in EmitNativeCode() 104 DCHECK(instruction_->IsInvokeStaticOrDirect()) in EmitNativeCode() 106 << instruction_->DebugName(); in EmitNativeCode() 107 DCHECK(instruction_->GetLocations()->Intrinsified()); in EmitNativeCode() 108 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode() 146 codegen->InvokeRuntimeWithoutRecordingPcInfo(entry_point_offset, instruction_, this); in EmitNativeCode()
|