Lines Matching refs:constant

31   ValueBound(HInstruction* instruction, int32_t constant) {  in ValueBound()  argument
35 if (!WouldAddOverflowOrUnderflow(instr_const, constant)) { in ValueBound()
37 constant_ = instr_const + constant; in ValueBound()
42 constant_ = constant; in ValueBound()
460 ValueRange* Add(int32_t constant) const { in Add()
462 ValueBound lower = lower_.Add(constant, &overflow, &underflow); in Add()
468 ValueBound upper = upper_.Add(constant, &overflow, &underflow); in Add()
619 int32_t constant = range->GetLower().GetConstant(); in Narrow() local
620 if (constant >= INT_MIN - increment_) { in Narrow()
731 bool CanAddDeoptimizationConstant(HInstruction* value, int32_t constant, bool* is_proven) { in CanAddDeoptimizationConstant() argument
740 if (value->AsIntConstant()->GetValue() >= constant) { in CanAddDeoptimizationConstant()
841 int32_t constant, in AddDeoptimizationConstant() argument
858 HIntConstant* const_instr = graph->GetIntConstant(constant); in AddDeoptimizationConstant()
1406 int32_t constant = index->AsIntConstant()->GetValue(); in VisitBoundsCheck() local
1407 if (constant < 0) { in VisitBoundsCheck()
1412 if (constant < array_length->AsIntConstant()->GetValue()) { in VisitBoundsCheck()
1423 if (constant < lower.GetConstant()) { in VisitBoundsCheck()
1449 if (constant == INT_MAX) { in VisitBoundsCheck()
1453 ValueBound lower = ValueBound(nullptr, constant + 1); in VisitBoundsCheck()
1703 int32_t constant = instruction->GetRight()->AsIntConstant()->GetValue(); in VisitAnd() local
1704 if (constant > 0) { in VisitAnd()
1710 ValueBound(nullptr, constant)); in VisitAnd()
1746 HInstruction* constant = less_than_or_equal->InputAt(1); in VisitDeoptimize() local
1747 DCHECK(constant->IsIntConstant()); in VisitDeoptimize()
1748 DCHECK(constant->AsIntConstant()->GetValue() <= kMaxConstantForAddingDeoptimize); in VisitDeoptimize()
1749 ValueBound lower = ValueBound(nullptr, constant->AsIntConstant()->GetValue() + 1); in VisitDeoptimize()