Lines Matching refs:InductionInfo

211   InductionInfo* info = nullptr;  in ClassifyTrivial()
261 InductionInfo* initial = LookupInfo(loop, phi->InputAt(0)); in ClassifyNonTrivial()
268 InductionInfo* update = TransferPhi(loop, phi, /* input_index */ 1); in ClassifyNonTrivial()
279 InductionInfo* update = nullptr; in ClassifyNonTrivial()
298 InductionInfo* induction = SolvePhi(phi, /* input_index */ 1); in ClassifyNonTrivial()
325 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::RotatePeriodicInduction( in RotatePeriodicInduction()
326 InductionInfo* induction, in RotatePeriodicInduction()
327 InductionInfo* last) { in RotatePeriodicInduction()
340 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferPhi(HLoopInformation* loop, in TransferPhi()
346 InductionInfo* a = LookupInfo(loop, phi->InputAt(input_index)); in TransferPhi()
348 InductionInfo* b = LookupInfo(loop, phi->InputAt(i)); in TransferPhi()
356 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferAddSub(InductionInfo* a, in TransferAddSub()
357 InductionInfo* b, in TransferAddSub()
371 InductionInfo* new_a = b->op_a; in TransferAddSub()
372 InductionInfo* new_b = TransferAddSub(a, b->op_b, op); in TransferAddSub()
381 InductionInfo* new_a = a->op_a; in TransferAddSub()
382 InductionInfo* new_b = TransferAddSub(a->op_b, b, op); in TransferAddSub()
393 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferMul(InductionInfo* a, in TransferMul()
394 InductionInfo* b) { in TransferMul()
416 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferShl(InductionInfo* a, in TransferShl()
417 InductionInfo* b, in TransferShl()
435 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferNeg(InductionInfo* a) { in TransferNeg()
447 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferCnv(InductionInfo* a, in TransferCnv()
464 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::SolvePhi(HInstruction* phi, in SolvePhi()
483 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::SolvePhiAllInputs( in SolvePhiAllInputs()
488 InductionInfo* match = SolvePhi(phi, /* input_index */ 0); in SolvePhiAllInputs()
497 InductionInfo* a = LookupInfo(loop, phi->InputAt(0)); in SolvePhiAllInputs()
500 InductionInfo* initial = LookupInfo(loop, entry_phi->InputAt(0)); in SolvePhiAllInputs()
503 InductionInfo* b = SolvePhi(phi, /* input_index */ 1); in SolvePhiAllInputs()
512 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::SolveAddSub(HLoopInformation* loop, in SolveAddSub()
521 InductionInfo* b = LookupInfo(loop, y); in SolveAddSub()
528 InductionInfo* a = it->second; in SolveAddSub()
545 InductionInfo* a = LookupInfo(loop, x); in SolveAddSub()
547 InductionInfo* initial = LookupInfo(loop, entry_phi->InputAt(0)); in SolveAddSub()
556 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::SolveCnv(HTypeConversion* conversion) { in SolveCnv()
583 InductionInfo* a = LookupInfo(loop, condition->InputAt(0)); in VisitControl()
584 InductionInfo* b = LookupInfo(loop, condition->InputAt(1)); in VisitControl()
600 InductionInfo* a, in VisitCondition()
601 InductionInfo* b, in VisitCondition()
616 InductionInfo* lower_expr = a->op_b; in VisitCondition()
617 InductionInfo* upper_expr = b; in VisitCondition()
618 InductionInfo* stride_expr = a->op_a; in VisitCondition()
650 InductionInfo* lower_expr, in VisitTripCount()
651 InductionInfo* upper_expr, in VisitTripCount()
652 InductionInfo* stride_expr, in VisitTripCount()
682 InductionInfo* trip_count = upper_expr; in VisitTripCount()
717 InductionInfo* taken_test = CreateInvariantOp(op, lower_expr, upper_expr); in VisitTripCount()
723 bool HInductionVarAnalysis::IsTaken(InductionInfo* lower_expr, in IsTaken()
724 InductionInfo* upper_expr, in IsTaken()
751 bool HInductionVarAnalysis::IsFinite(InductionInfo* upper_expr, in IsFinite()
776 bool HInductionVarAnalysis::FitsNarrowerControl(InductionInfo* lower_expr, in FitsNarrowerControl()
777 InductionInfo* upper_expr, in FitsNarrowerControl()
803 InductionInfo* info) { in AssignInfo()
807 ArenaSafeMap<HInstruction*, InductionInfo*>( in AssignInfo()
814 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::LookupInfo(HLoopInformation* loop, in LookupInfo()
824 InductionInfo* info = CreateInvariantFetch(instruction); in LookupInfo()
831 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::CreateConstant(int64_t value, in CreateConstant()
840 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::CreateSimplifiedInvariant( in CreateSimplifiedInvariant()
842 InductionInfo* a, in CreateSimplifiedInvariant()
843 InductionInfo* b) { in CreateSimplifiedInvariant()
897 return new (graph_->GetArena()) InductionInfo(kInvariant, op, a, b, nullptr, b->type); in CreateSimplifiedInvariant()
900 bool HInductionVarAnalysis::IsExact(InductionInfo* info, int64_t* value) { in IsExact()
904 bool HInductionVarAnalysis::IsAtMost(InductionInfo* info, int64_t* value) { in IsAtMost()
908 bool HInductionVarAnalysis::IsAtLeast(InductionInfo* info, int64_t* value) { in IsAtLeast()
912 bool HInductionVarAnalysis::InductionEqual(InductionInfo* info1, in InductionEqual()
913 InductionInfo* info2) { in InductionEqual()
928 std::string HInductionVarAnalysis::InductionToString(InductionInfo* info) { in InductionToString()