Searched refs:InductionVariable (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/compiler/ |
D | loop-variable-optimizer.cc | 77 void InductionVariable::AddUpperBound(Node* bound, in AddUpperBound() 78 InductionVariable::ConstraintKind kind) { in AddUpperBound() 87 void InductionVariable::AddLowerBound(Node* bound, in AddLowerBound() 88 InductionVariable::ConstraintKind kind) { in AddLowerBound() 162 AddCmpToLimits(&limits, cond, InductionVariable::kStrict, polarity); in VisitIf() 165 AddCmpToLimits(&limits, cond, InductionVariable::kNonStrict, !polarity); in VisitIf() 169 AddCmpToLimits(&limits, cond, InductionVariable::kNonStrict, polarity); in VisitIf() 172 AddCmpToLimits(&limits, cond, InductionVariable::kStrict, !polarity); in VisitIf() 181 VariableLimits* limits, Node* node, InductionVariable::ConstraintKind kind, in AddCmpToLimits() 189 kind = (kind == InductionVariable::kStrict) in AddCmpToLimits() [all …]
|
D | loop-variable-optimizer.h | 20 class InductionVariable : public ZoneObject { 45 InductionVariable(Node* phi, Node* effect_phi, Node* arith, Node* increment, in InductionVariable() function 76 const ZoneMap<int, InductionVariable*>& induction_variables() { in induction_variables() 89 InductionVariable::ConstraintKind kind; 109 InductionVariable::ConstraintKind kind, bool polarity); 112 const InductionVariable* FindInductionVariable(Node* node); 113 InductionVariable* TryGetInductionVariable(Node* phi); 126 ZoneMap<int, InductionVariable*> induction_vars_;
|
D | typer.cc | 774 InductionVariable* induction_var = res->second; in TypeInductionVariablePhi() 776 InductionVariable::ArithmeticType arithmetic_type = induction_var->Type(); in TypeInductionVariablePhi() 783 if (arithmetic_type == InductionVariable::ArithmeticType::kAddition) { in TypeInductionVariablePhi() 787 DCHECK_EQ(InductionVariable::ArithmeticType::kSubtraction, arithmetic_type); in TypeInductionVariablePhi() 805 if (bound.kind == InductionVariable::kStrict) { in TypeInductionVariablePhi() 825 if (bound.kind == InductionVariable::kStrict) { in TypeInductionVariablePhi() 842 InductionVariable::ArithmeticType::kAddition in TypeInductionVariablePhi()
|