Home
last modified time | relevance | path

Searched refs:InputAt (Results 1 – 25 of 42) sorted by relevance

12

/art/compiler/optimizing/
Dinduction_var_range_test.cc573 range_.GetInductionRange(condition_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
580 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
600 range_.GetInductionRange(condition_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
607 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
628 range_.GetInductionRange(condition_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
635 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
652 condition_, condition_->InputAt(0), &needs_finite_test, &needs_taken_test)); in TEST_F()
654 increment_, condition_->InputAt(0), &needs_finite_test, &needs_taken_test)); in TEST_F()
660 increment_, condition_->InputAt(0), graph_, loop_preheader_, &lower, &upper); in TEST_F()
665 ASSERT_TRUE(lower->InputAt(0)->IsIntConstant()); in TEST_F()
[all …]
Dload_store_elimination.cc57 (user->IsInstanceFieldSet() && (reference_ == user->InputAt(1))) || in ReferenceInfo()
58 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user->InputAt(1))) || in ReferenceInfo()
59 (user->IsStaticFieldSet() && (reference_ == user->InputAt(1))) || in ReferenceInfo()
60 (user->IsUnresolvedStaticFieldSet() && (reference_ == user->InputAt(0))) || in ReferenceInfo()
61 (user->IsArraySet() && (reference_ == user->InputAt(2)))) { in ReferenceInfo()
68 if ((user->IsUnresolvedInstanceFieldGet() && (reference_ == user->InputAt(0))) || in ReferenceInfo()
69 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user->InputAt(0)))) { in ReferenceInfo()
179 ref = ref->InputAt(0); in HuntForOriginalReference()
416 VisitFieldAccess(instruction->InputAt(0), instruction->GetFieldInfo()); in VisitInstanceFieldGet()
421 HeapLocation* location = VisitFieldAccess(instruction->InputAt(0), instruction->GetFieldInfo()); in VisitInstanceFieldSet()
[all …]
Dinstruction_simplifier_arm64.cc97 left = use->InputAt(0); in TryMergeIntoShifterOperand()
98 right = use->InputAt(1); in TryMergeIntoShifterOperand()
101 right = use->AsNeg()->InputAt(0); in TryMergeIntoShifterOperand()
138 bitfield_op->InputAt(0), in TryMergeIntoShifterOperand()
218 if (instruction->InputAt(1)->IsConstant()) { in VisitShl()
224 if (instruction->InputAt(1)->IsConstant()) { in VisitShr()
244 if (instruction->InputAt(1)->IsConstant()) { in VisitUShr()
Dselect_generator.cc62 if (phi->InputAt(index1) != phi->InputAt(index2)) { in GetSingleChangedPhi()
116 HInstruction* true_value = phi->InputAt(predecessor_index_true); in Run()
117 HInstruction* false_value = phi->InputAt(predecessor_index_false); in Run()
120 HSelect* select = new (graph_->GetArena()) HSelect(if_instruction->InputAt(0), in Run()
Dinduction_var_analysis.cc156 low = std::min(low, VisitDescendant(loop, instruction->InputAt(i))); in VisitNode()
215 info = TransferAddSub(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial()
216 LookupInfo(loop, instruction->InputAt(1)), kAdd); in ClassifyTrivial()
218 info = TransferAddSub(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial()
219 LookupInfo(loop, instruction->InputAt(1)), kSub); in ClassifyTrivial()
221 info = TransferMul(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial()
222 LookupInfo(loop, instruction->InputAt(1))); in ClassifyTrivial()
224 info = TransferShl(LookupInfo(loop, instruction->InputAt(0)), in ClassifyTrivial()
225 LookupInfo(loop, instruction->InputAt(1)), in ClassifyTrivial()
226 instruction->InputAt(0)->GetType()); in ClassifyTrivial()
[all …]
Dreference_type_propagation.cc146 DCHECK(instr->GetReferenceTypeInfo().IsEqual(instr->InputAt(0)->GetReferenceTypeInfo())) in ValidateTypes()
148 << "Input(0) " << instr->InputAt(0)->GetReferenceTypeInfo(); in ValidateTypes()
240 HInstruction* ifInput = ifInstruction->InputAt(0); in BoundTypeForIfNotNull()
244 HInstruction* input0 = ifInput->InputAt(0); in BoundTypeForIfNotNull()
245 HInstruction* input1 = ifInput->InputAt(1); in BoundTypeForIfNotNull()
315 HInstruction* input = ifInstruction->InputAt(0); in MatchIfInstanceOf()
357 HInstruction* not_input = input->InputAt(0); in MatchIfInstanceOf()
386 HLoadClass* load_class = instanceOf->InputAt(1)->AsLoadClass(); in BoundTypeForIfInstanceOf()
398 HInstruction* obj = instanceOf->InputAt(0); in BoundTypeForIfInstanceOf()
577 instr->SetReferenceTypeInfo(instr->InputAt(0)->GetReferenceTypeInfo()); in VisitClinitCheck()
[all …]
Dinduction_var_analysis_test.cc235 EXPECT_STREQ("((1) * i + (0)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); in TEST_F()
239 EXPECT_FALSE(HaveSameInduction(store->InputAt(1), increment_[0])); in TEST_F()
298 GetInductionInfo(store1->InputAt(1), 0).c_str()); in TEST_F()
300 GetInductionInfo(store2->InputAt(1), 0).c_str()); in TEST_F()
332 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); in TEST_F()
335 EXPECT_TRUE(HaveSameInduction(store->InputAt(1), inc1)); in TEST_F()
336 EXPECT_TRUE(HaveSameInduction(store->InputAt(1), inc2)); in TEST_F()
363 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); in TEST_F()
384 GetInductionInfo(store->InputAt(1), 0).c_str()); in TEST_F()
410 GetInductionInfo(store->InputAt(1), 0).c_str()); in TEST_F()
[all …]
Dinstruction_simplifier.cc201 HInstruction* src_left = left->InputAt(0); in TryDeMorganNegationFactoring()
202 HInstruction* src_right = right->InputAt(0); in TryDeMorganNegationFactoring()
359 if (neg->InputAt(0) == (neg_is_left ? ushr->GetRight() : shl->GetRight())) { in TryReplaceWithRotateRegisterNegPattern()
397 HInstruction* obj = null_check->InputAt(0); in VisitNullCheck()
458 HInstruction* object = check_cast->InputAt(0); in VisitCheckCast()
459 HLoadClass* load_class = check_cast->InputAt(1)->AsLoadClass(); in VisitCheckCast()
496 HInstruction* object = instruction->InputAt(0); in VisitInstanceOf()
497 HLoadClass* load_class = instruction->InputAt(1)->AsLoadClass(); in VisitInstanceOf()
558 HInstruction *lhs = cond->InputAt(0); in GetOppositeConditionSwapOps()
559 HInstruction *rhs = cond->InputAt(1); in GetOppositeConditionSwapOps()
[all …]
Dprepare_for_register_allocation.cc34 check->ReplaceWith(check->InputAt(0)); in VisitNullCheck()
38 check->ReplaceWith(check->InputAt(0)); in VisitDivZeroCheck()
42 check->ReplaceWith(check->InputAt(0)); in VisitBoundsCheck()
46 bound_type->ReplaceWith(bound_type->InputAt(0)); in VisitBoundType()
122 HLoadClass* load_class = instruction->InputAt(0)->AsLoadClass(); in VisitNewInstance()
177 HLoadClass* last_input = invoke->InputAt(last_input_index)->AsLoadClass(); in VisitInvokeStaticOrDirect()
Dnodes_x86.h46 return InputAt(0)->AsX86ComputeBaseMethodAddress(); in GetBaseMethodAddress()
50 return InputAt(1)->AsConstant(); in GetConstant()
100 return InputAt(1)->AsX86ComputeBaseMethodAddress(); in GetBaseMethodAddress()
Dpc_relative_fixups_x86.cc65 HConstant* value = ret->InputAt(0)->AsConstant(); in VisitReturn()
93 HConstant* rhs = bin->InputAt(1)->AsConstant(); in BinaryFP()
131 neg->InputAt(0), in VisitNeg()
151 switch_insn->InputAt(0), in VisitPackedSwitch()
206 HConstant* input = invoke->InputAt(i)->AsConstant(); in HandleInvoke()
Dcommon_arm64.h76 instr->InputAt(input_index)->GetType()); in InputRegisterAt()
100 instr->InputAt(input_index)->GetType()); in InputFPRegisterAt()
115 return Primitive::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt()
142 instr->InputAt(input_index)->GetType()); in InputOperandAt()
302 return (instruction->IsShl() && instruction->AsShl()->InputAt(1)->IsIntConstant()) || in CanFitInShifterOperand()
303 (instruction->IsShr() && instruction->AsShr()->InputAt(1)->IsIntConstant()) || in CanFitInShifterOperand()
304 (instruction->IsUShr() && instruction->AsUShr()->InputAt(1)->IsIntConstant()); in CanFitInShifterOperand()
Dconstant_folding_test.cc134 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
195 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
256 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
335 HInstruction* inst1 = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
406 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
469 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
533 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
633 HInstruction* inst1 = graph->GetBlocks()[4]->GetFirstInstruction()->InputAt(0); in TEST_F()
718 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); in TEST_F()
Dbounds_check_elimination.cc166 instruction = instruction->InputAt(0); in HuntForDeclaration()
808 HInstruction* index = bounds_check->InputAt(0); in VisitBoundsCheck()
809 HInstruction* array_length = bounds_check->InputAt(1); in VisitBoundsCheck()
895 HInstruction* input1 = phi->InputAt(1); in HasSameInputAtBackEdges()
901 if (input1 != phi->InputAt(i)) { in HasSameInputAtBackEdges()
912 HInstruction* instruction = phi->InputAt(1); in VisitPhi()
917 HInstruction* initial_value = phi->InputAt(0); in VisitPhi()
956 if (instruction->InputAt(0)->IsCondition()) { in VisitIf()
957 HCondition* cond = instruction->InputAt(0)->AsCondition(); in VisitIf()
1112 HInstruction* len = new_array->InputAt(0); in VisitNewArray()
[all …]
Dgraph_checker.cc367 if ((use_index >= user->InputCount()) || (user->InputAt(use_index) != instruction)) { in VisitInstruction()
494 HInstruction* last_input = invoke->InputAt(last_input_index); in VisitInvokeStaticOrDirect()
535 HInstruction* input = check->InputAt(1); in VisitCheckCast()
547 HInstruction* input = instruction->InputAt(1); in VisitInstanceOf()
685 if (!IsConstantEquivalent(insn1->InputAt(i), insn2->InputAt(i), visited)) { in IsConstantEquivalent()
701 if (phi->InputAt(0) == phi) { in VisitPhi()
709 HInstruction* input = phi->InputAt(i); in VisitPhi()
766 HInstruction* input = phi->InputAt(i); in VisitPhi()
838 HInstruction* input = instruction->InputAt(input_index); in HandleBooleanInput()
900 HInstruction* lhs = op->InputAt(0); in VisitCondition()
[all …]
Dnodes_arm64.h112 HInstruction* GetBaseAddress() const { return InputAt(0); } in GetBaseAddress()
113 HInstruction* GetOffset() const { return InputAt(1); } in GetOffset()
Dssa_builder.cc34 HInstruction* left = equality_instr->InputAt(0); in FixNullConstantType()
35 HInstruction* right = equality_instr->InputAt(1); in FixNullConstantType()
173 HInstruction* input = phi->InputAt(i); in TypeInputsOfPhi()
187 HInstruction* input = phi->InputAt(i); in TypeInputsOfPhi()
455 HInstruction* input = new_instance->InputAt(0); in RemoveRedundantUninitializedStrings()
463 load_class = input->InputAt(0)->AsLoadClass(); in RemoveRedundantUninitializedStrings()
622 new_phi->SetRawInputAt(i, phi->InputAt(i)); in GetFloatDoubleOrReferenceEquivalentOfPhi()
Dinduction_var_range.cc69 v.instruction->InputAt(0)->IsArrayLength() && in SimplifyMax()
70 IsIntAndGet(v.instruction->InputAt(1), &value) && v.a_constant == value) { in SimplifyMax()
71 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
358 if (IsIntAndGet(instruction->InputAt(0), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
360 GetFetch(instruction->InputAt(1), trip, in_body, is_min)); in GetFetch()
361 } else if (IsIntAndGet(instruction->InputAt(1), &value) && CanLongValueFitIntoInt(value)) { in GetFetch()
362 return AddValue(GetFetch(instruction->InputAt(0), trip, in_body, is_min), in GetFetch()
365 } else if (instruction->IsArrayLength() && instruction->InputAt(0)->IsNewArray()) { in GetFetch()
366 return GetFetch(instruction->InputAt(0)->InputAt(0), trip, in_body, is_min); in GetFetch()
371 return GetFetch(instruction->InputAt(0), trip, in_body, is_min); in GetFetch()
Dcode_generator_x86.cc1284 HX86LoadFromConstantTable* const_area = insn->InputAt(1)->AsX86LoadFromConstantTable(); in GenerateFPCompare()
1328 Primitive::Type type = condition->InputAt(0)->GetType(); in GenerateCompareTestAndBranch()
1360 cond->InputAt(0)->GetType() != Primitive::kPrimLong && in AreEflagsSetFrom()
1361 !Primitive::IsFloatingPointType(cond->InputAt(0)->GetType()); in AreEflagsSetFrom()
1369 HInstruction* cond = instruction->InputAt(condition_input_index); in GenerateTestAndBranch()
1425 Primitive::Type type = condition->InputAt(0)->GetType(); in GenerateTestAndBranch()
1458 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
1476 if (IsBooleanValueOrMaterializedCondition(deoptimize->InputAt(0))) { in VisitDeoptimize()
1499 Primitive::Type compare_type = condition->InputAt(0)->GetType(); in SelectCanUseCMOV()
1518 if (select->InputAt(1)->IsConstant()) { in VisitSelect()
[all …]
Dintrinsics_arm64.cc374 DCHECK_EQ(Primitive::PrimitiveKind(instr->InputAt(0)->GetType()), type); in GenBitCount()
1189 DCHECK(!invoke->CanDoImplicitNullCheckOn(invoke->InputAt(0))); in VisitStringCompareTo()
1240 DCHECK(!invoke->CanDoImplicitNullCheckOn(invoke->InputAt(0))); in VisitStringEquals()
1308 DCHECK(!invoke->CanDoImplicitNullCheckOn(invoke->InputAt(0))); in GenerateVisitStringIndexOf()
1313 if (invoke->InputAt(1)->IsIntConstant()) { in GenerateVisitStringIndexOf()
1314 if (static_cast<uint32_t>(invoke->InputAt(1)->AsIntConstant()->GetValue()) > 0xFFFFU) { in GenerateVisitStringIndexOf()
1473 DCHECK(Primitive::IsFloatingPointType(invoke->InputAt(0)->GetType())); in CreateFPToFPCallLocations()
1487 DCHECK(Primitive::IsFloatingPointType(invoke->InputAt(0)->GetType())); in CreateFPFPToFPCallLocations()
1488 DCHECK(Primitive::IsFloatingPointType(invoke->InputAt(1)->GetType())); in CreateFPFPToFPCallLocations()
1727 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in VisitSystemArrayCopyChar()
[all …]
Ddead_code_elimination.cc42 HInstruction* condition = if_instruction->InputAt(0); in MarkReachableBlocks()
55 HInstruction* switch_input = switch_instruction->InputAt(0); in MarkReachableBlocks()
Dssa_liveness_analysis.cc181 HInstruction* input = current->InputAt(i); in RecursivelyProcessInputs()
235 HInstruction* input = phi->InputAt(phi_input_index); in ComputeLiveRanges()
437 HInstruction* input = user->InputAt(i); in FindFirstRegisterHint()
475 HInstruction* input = defined_by_->InputAt(i); in FindHintAtDefinition()
494 GetDefinedBy()->InputAt(0)->GetLiveInterval()->GetSiblingAt(GetStart() - 1); in FindHintAtDefinition()
Dcode_generator.cc114 DCHECK(CheckType(instruction->InputAt(i)->GetType(), locations->InAt(i))) in CheckTypeConsistency()
115 << instruction->InputAt(i)->GetType() in CheckTypeConsistency()
306 HInstruction* input = invoke->InputAt(i); in CreateCommonInvokeLocationSummary()
1080 && first_next_not_move->CanDoImplicitNullCheckOn(null_check->InputAt(0)); in CanMoveNullCheckToUser()
1091 if (!instr->CanDoImplicitNullCheckOn(instr->InputAt(0))) { in MaybeRecordImplicitNullCheck()
1251 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); in CreateSystemArrayCopyLocationSummary()
1252 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); in CreateSystemArrayCopyLocationSummary()
1262 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); in CreateSystemArrayCopyLocationSummary()
1291 locations->SetInAt(1, Location::RegisterOrConstant(invoke->InputAt(1))); in CreateSystemArrayCopyLocationSummary()
1293 locations->SetInAt(3, Location::RegisterOrConstant(invoke->InputAt(3))); in CreateSystemArrayCopyLocationSummary()
[all …]
Dinliner.cc127 HInstruction* receiver = invoke->InputAt(0); in FindVirtualOrInterfaceTarget()
131 receiver = receiver->InputAt(0); in FindVirtualOrInterfaceTarget()
392 HInstruction* receiver = invoke_instruction->InputAt(0); in TryInlineMonomorphicCall()
493 HInstruction* receiver = invoke_instruction->InputAt(0); in TryInlinePolymorphicCall()
675 HInstruction* receiver = invoke_instruction->InputAt(0); in TryInlinePolymorphicCallToSameTarget()
848 if (Primitive::Is64BitType(invoke_instruction->InputAt(input_index)->GetType())) { in GetInvokeInputForArgVRegIndex()
854 return invoke_instruction->InputAt(input_index); in GetInvokeInputForArgVRegIndex()
1056 bool is_super_invocation = invoke_instruction->InputAt(0)->IsParameterValue() in TryBuildAndInlineHelper()
1057 && invoke_instruction->InputAt(0)->AsParameterValue()->IsThis(); in TryBuildAndInlineHelper()
1124 HInstruction* argument = invoke_instruction->InputAt(parameter_index++); in TryBuildAndInlineHelper()
Dssa_phi_elimination.cc163 HInstruction* input = phi->InputAt(j); in Run()
185 HInstruction* input = current->InputAt(j); in Run()

12