Lines Matching refs:a_constant

88   if (v.is_known && v.a_constant == 1 && v.b_constant <= 0) {  in SimplifyMin()
100 if (v.is_known && v.a_constant >= 1) { in SimplifyMax()
106 IsInt64AndGet(v.instruction->InputAt(1), &value) && v.a_constant == value) { in SimplifyMax()
111 if (v.a_constant == 1 && IsMaxAtHint(v.instruction, hint, &suitable)) { in SimplifyMax()
120 return v.is_known && v.a_constant == 0; in IsConstantValue()
888 if (v1.a_constant == 0) { in AddValue()
889 return Value(v2.instruction, v2.a_constant, b); in AddValue()
890 } else if (v2.a_constant == 0) { in AddValue()
891 return Value(v1.instruction, v1.a_constant, b); in AddValue()
892 } else if (v1.instruction == v2.instruction && IsSafeAdd(v1.a_constant, v2.a_constant)) { in AddValue()
893 return Value(v1.instruction, v1.a_constant + v2.a_constant, b); in AddValue()
902 if (v1.a_constant == 0 && IsSafeSub(0, v2.a_constant)) { in SubValue()
903 return Value(v2.instruction, -v2.a_constant, b); in SubValue()
904 } else if (v2.a_constant == 0) { in SubValue()
905 return Value(v1.instruction, v1.a_constant, b); in SubValue()
906 } else if (v1.instruction == v2.instruction && IsSafeSub(v1.a_constant, v2.a_constant)) { in SubValue()
907 return Value(v1.instruction, v1.a_constant - v2.a_constant, b); in SubValue()
915 if (v1.a_constant == 0) { in MulValue()
916 if (IsSafeMul(v1.b_constant, v2.a_constant) && IsSafeMul(v1.b_constant, v2.b_constant)) { in MulValue()
917 return Value(v2.instruction, v1.b_constant * v2.a_constant, v1.b_constant * v2.b_constant); in MulValue()
919 } else if (v2.a_constant == 0) { in MulValue()
920 if (IsSafeMul(v1.a_constant, v2.b_constant) && IsSafeMul(v1.b_constant, v2.b_constant)) { in MulValue()
921 return Value(v1.instruction, v1.a_constant * v2.b_constant, v1.b_constant * v2.b_constant); in MulValue()
929 if (v1.is_known && v2.is_known && v1.a_constant == 0 && v2.a_constant == 0) { in DivValue()
939 if (v1.instruction == v2.instruction && v1.a_constant == v2.a_constant) { in MergeVal()
940 return Value(v1.instruction, v1.a_constant, in MergeVal()