Searched refs:nir_ssa_scalar_is_const (Results 1 – 6 of 6) sorted by relevance
67 if (address->A.def && nir_ssa_scalar_is_const(address->A)) { in mir_match_constant()72 if (address->B.def && nir_ssa_scalar_is_const(address->B)) { in mir_match_constant()96 if (nir_ssa_scalar_is_const(op1)) { in mir_match_iadd()99 } else if (nir_ssa_scalar_is_const(op2)) { in mir_match_iadd()143 if (!nir_ssa_scalar_is_const(op2)) return; in mir_match_ishl()
1161 if (nir_ssa_scalar_is_const(scalar)) in nir_unsigned_upper_bound()1372 if (nir_ssa_scalar_is_const(src1_scalar)) in nir_unsigned_upper_bound()1380 if (src0 <= 2147483647 && nir_ssa_scalar_is_const(src1_scalar)) in nir_unsigned_upper_bound()1397 if (nir_ssa_scalar_is_const(src1_scalar)) in nir_unsigned_upper_bound()1412 if (nir_ssa_scalar_is_const(src1_scalar)) { in nir_unsigned_upper_bound()1467 if (nir_ssa_scalar_is_const(mul_src0)) in nir_addition_might_overflow()1469 else if (nir_ssa_scalar_is_const(mul_src1)) in nir_addition_might_overflow()1484 if (nir_ssa_scalar_is_const(and_src0)) in nir_addition_might_overflow()1486 else if (nir_ssa_scalar_is_const(and_src1)) in nir_addition_might_overflow()
574 if (nir_ssa_scalar_is_const(src)) { in try_find_limit_of_alu()912 if (!nir_ssa_scalar_is_alu(iand) || !nir_ssa_scalar_is_const(zero)) { in try_find_trip_count_vars_in_iand()919 if (!nir_ssa_scalar_is_const(zero)) in try_find_trip_count_vars_in_iand()946 if (nir_ssa_scalar_is_const(*limit)) in try_find_trip_count_vars_in_iand()1019 if (nir_ssa_scalar_is_const(limit)) { in find_trip_count()1063 if (nir_ssa_scalar_is_const(alu_src)) { in find_trip_count()
284 if (op != nir_op_ishl && nir_ssa_scalar_is_const(src0) && src1.comp == 0) { in parse_alu()287 } else if (nir_ssa_scalar_is_const(src1) && src0.comp == 0) { in parse_alu()
2657 nir_ssa_scalar_is_const(nir_ssa_scalar s) in nir_ssa_scalar_is_const() function
269 if (nir_ssa_scalar_is_const(src0)) { in apply_nuw_to_ssa()