Lines Matching refs:a_constant
89 if (v.is_known && v.a_constant == 1 && v.b_constant <= 0) { in SimplifyMin()
101 if (v.is_known && v.a_constant >= 1) { in SimplifyMax()
107 IsInt64AndGet(v.instruction->InputAt(1), &value) && v.a_constant == value) { in SimplifyMax()
112 if (v.a_constant == 1 && IsMaxAtHint(v.instruction, hint, &suitable)) { in SimplifyMax()
121 return v.is_known && v.a_constant == 0; in IsConstantValue()
985 if (v1.a_constant == 0) { in AddValue()
986 return Value(v2.instruction, v2.a_constant, b); in AddValue()
987 } else if (v2.a_constant == 0) { in AddValue()
988 return Value(v1.instruction, v1.a_constant, b); in AddValue()
989 } else if (v1.instruction == v2.instruction && IsSafeAdd(v1.a_constant, v2.a_constant)) { in AddValue()
990 return Value(v1.instruction, v1.a_constant + v2.a_constant, b); in AddValue()
999 if (v1.a_constant == 0 && IsSafeSub(0, v2.a_constant)) { in SubValue()
1000 return Value(v2.instruction, -v2.a_constant, b); in SubValue()
1001 } else if (v2.a_constant == 0) { in SubValue()
1002 return Value(v1.instruction, v1.a_constant, b); in SubValue()
1003 } else if (v1.instruction == v2.instruction && IsSafeSub(v1.a_constant, v2.a_constant)) { in SubValue()
1004 return Value(v1.instruction, v1.a_constant - v2.a_constant, b); in SubValue()
1012 if (v1.a_constant == 0) { in MulValue()
1013 if (IsSafeMul(v1.b_constant, v2.a_constant) && IsSafeMul(v1.b_constant, v2.b_constant)) { in MulValue()
1014 return Value(v2.instruction, v1.b_constant * v2.a_constant, v1.b_constant * v2.b_constant); in MulValue()
1016 } else if (v2.a_constant == 0) { in MulValue()
1017 if (IsSafeMul(v1.a_constant, v2.b_constant) && IsSafeMul(v1.b_constant, v2.b_constant)) { in MulValue()
1018 return Value(v1.instruction, v1.a_constant * v2.b_constant, v1.b_constant * v2.b_constant); in MulValue()
1026 if (v1.is_known && v2.is_known && v1.a_constant == 0 && v2.a_constant == 0) { in DivValue()
1036 if (v1.instruction == v2.instruction && v1.a_constant == v2.a_constant) { in MergeVal()
1037 return Value(v1.instruction, v1.a_constant, in MergeVal()