Lines Matching refs:IsConstantValue
120 static bool IsConstantValue(InductionVarRange::Value v) { in IsConstantValue() function
135 return (IsConstantValue(v) && min <= v.b_constant && v.b_constant <= max) in CorrectForType()
492 if (IsConstantValue(min_val) && in IsConstant()
493 IsConstantValue(max_val) && min_val.b_constant <= max_val.b_constant) { in IsConstant()
864 if (IsConstantValue(v1_min) && v1_min.b_constant >= 0) { in GetMul()
865 if (IsConstantValue(v2_min) && v2_min.b_constant >= 0) { in GetMul()
867 } else if (IsConstantValue(v2_max) && v2_max.b_constant <= 0) { in GetMul()
872 if (IsConstantValue(v1_max) && v1_max.b_constant <= 0) { in GetMul()
873 if (IsConstantValue(v2_min) && v2_min.b_constant >= 0) { in GetMul()
875 } else if (IsConstantValue(v2_max) && v2_max.b_constant <= 0) { in GetMul()
899 if (IsConstantValue(v1_min) && v1_min.b_constant >= 0) { in GetDiv()
900 if (IsConstantValue(v2_min) && v2_min.b_constant >= 0) { in GetDiv()
902 } else if (IsConstantValue(v2_max) && v2_max.b_constant <= 0) { in GetDiv()
907 if (IsConstantValue(v1_max) && v1_max.b_constant <= 0) { in GetDiv()
908 if (IsConstantValue(v2_min) && v2_min.b_constant >= 0) { in GetDiv()
910 } else if (IsConstantValue(v2_max) && v2_max.b_constant <= 0) { in GetDiv()
1663 if (IsConstantValue(extreme)) { in GenerateCode()
1693 DCHECK(IsConstantValue(add_val)); in TryGenerateAddWithoutOverflow()
1741 DCHECK(IsConstantValue(sub_val)); in TryGenerateSubWithoutOverflow()