Home
last modified time | relevance | path

Searched refs:nir_ssa_scalar_is_const (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_address.c69 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()
/third_party/mesa3d/src/compiler/nir/
Dnir_range_analysis.c1316 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()
Dnir_loop_analyze.c684 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()
Dnir_lower_mediump.c529 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()
Dnir_opt_offsets.c82 if (nir_ssa_scalar_is_const(src[i])) { in try_extract_const_addition()
Dnir_opt_load_store_vectorize.c301 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()
Dnir_opt_if.c968 if (!nir_ssa_scalar_is_const(val)) in opt_if_phi_is_condition()
Dnir.h2543 nir_ssa_scalar_is_const(nir_ssa_scalar s) in nir_ssa_scalar_is_const() function
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_global_access.c42 if (nir_ssa_scalar_is_const(src)) { in try_extract_additions()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c265 if (nir_ssa_scalar_is_const(scalar_idx)) { in lower_ssbo_ubo_intrinsic()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp198 if (nir_ssa_scalar_is_const(src0)) { in apply_nuw_to_ssa()
Daco_instruction_selection.cpp6394 (nir_ssa_scalar_is_const(comp) && nir_ssa_scalar_as_uint(comp) == 0)) in visit_image_store()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c486 if (!nir_ssa_scalar_is_const(scalar_idx) || in radv_force_primitive_shading_rate()