Searched refs:nir_ssa_scalar_is_const (Results 1 – 13 of 13) sorted by relevance
69 if (address->A.def && nir_ssa_scalar_is_const(address->A)) { in mir_match_constant()74 if (address->B.def && nir_ssa_scalar_is_const(address->B)) { in mir_match_constant()101 if (nir_ssa_scalar_is_const(op1) && in mir_match_iadd()105 } else if (nir_ssa_scalar_is_const(op2) && in mir_match_iadd()109 } else if (!nir_ssa_scalar_is_const(op1) && in mir_match_iadd()110 !nir_ssa_scalar_is_const(op2) && in mir_match_iadd()171 if (!nir_ssa_scalar_is_const(op2)) return; in mir_match_ishl()
1316 if (nir_ssa_scalar_is_const(scalar)) in nir_unsigned_upper_bound()1571 if (nir_ssa_scalar_is_const(src1_scalar)) in nir_unsigned_upper_bound()1579 if (src0 <= 2147483647 && nir_ssa_scalar_is_const(src1_scalar)) in nir_unsigned_upper_bound()1596 if (nir_ssa_scalar_is_const(src1_scalar)) in nir_unsigned_upper_bound()1611 if (nir_ssa_scalar_is_const(src1_scalar)) { in nir_unsigned_upper_bound()1688 if (nir_ssa_scalar_is_const(mul_src0)) in nir_addition_might_overflow()1690 else if (nir_ssa_scalar_is_const(mul_src1)) in nir_addition_might_overflow()1705 if (nir_ssa_scalar_is_const(and_src0)) in nir_addition_might_overflow()1707 else if (nir_ssa_scalar_is_const(and_src1)) in nir_addition_might_overflow()
684 if (nir_ssa_scalar_is_const(src)) { in try_find_limit_of_alu()1010 if (!nir_ssa_scalar_is_alu(iand) || !nir_ssa_scalar_is_const(zero)) { in try_find_trip_count_vars_in_iand()1017 if (!nir_ssa_scalar_is_const(zero)) in try_find_trip_count_vars_in_iand()1044 if (nir_ssa_scalar_is_const(*limit)) in try_find_trip_count_vars_in_iand()1119 if (nir_ssa_scalar_is_const(limit)) { in find_trip_count()1164 if (nir_ssa_scalar_is_const(alu_src)) { in find_trip_count()
529 else if (nir_ssa_scalar_is_const(comp)) { in can_fold_16bit_src()565 else if (nir_ssa_scalar_is_const(comp)) { in fold_16bit_src()
82 if (nir_ssa_scalar_is_const(src[i])) { in try_extract_const_addition()
301 if (op != nir_op_ishl && nir_ssa_scalar_is_const(src0)) { in parse_alu()304 } else if (nir_ssa_scalar_is_const(src1)) { in parse_alu()317 if (nir_ssa_scalar_is_const(*base)) { in parse_offset()
968 if (!nir_ssa_scalar_is_const(val)) in opt_if_phi_is_condition()
2543 nir_ssa_scalar_is_const(nir_ssa_scalar s) in nir_ssa_scalar_is_const() function
42 if (nir_ssa_scalar_is_const(src)) { in try_extract_additions()
265 if (nir_ssa_scalar_is_const(scalar_idx)) { in lower_ssbo_ubo_intrinsic()
198 if (nir_ssa_scalar_is_const(src0)) { in apply_nuw_to_ssa()
6394 (nir_ssa_scalar_is_const(comp) && nir_ssa_scalar_as_uint(comp) == 0)) in visit_image_store()
486 if (!nir_ssa_scalar_is_const(scalar_idx) || in radv_force_primitive_shading_rate()