Home
last modified time | relevance | path

Searched refs:range_ht (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_range_analysis.c1086 nir_analyze_range(struct hash_table *range_ht, in nir_analyze_range() argument
1089 return analyze_expression(instr, src, range_ht, in nir_analyze_range()
1155 nir_unsigned_upper_bound(nir_shader *shader, struct hash_table *range_ht, in nir_unsigned_upper_bound() argument
1166 struct hash_entry *he = _mesa_hash_table_search(range_ht, key); in nir_unsigned_upper_bound()
1243 … res = nir_unsigned_upper_bound(shader, range_ht, (nir_ssa_scalar){intrin->src[0].ssa, 0}, config); in nir_unsigned_upper_bound()
1258 … res = nir_unsigned_upper_bound(shader, range_ht, (nir_ssa_scalar){intrin->src[0].ssa, 0}, config); in nir_unsigned_upper_bound()
1261 …uint32_t src0 = nir_unsigned_upper_bound(shader, range_ht, (nir_ssa_scalar){intrin->src[0].ssa, 0}… in nir_unsigned_upper_bound()
1262 …uint32_t src1 = nir_unsigned_upper_bound(shader, range_ht, (nir_ssa_scalar){intrin->src[1].ssa, 0}… in nir_unsigned_upper_bound()
1270 _mesa_hash_table_insert(range_ht, key, (void*)(uintptr_t)res); in nir_unsigned_upper_bound()
1285 _mesa_hash_table_insert(range_ht, key, (void*)(uintptr_t)max); in nir_unsigned_upper_bound()
[all …]
Dnir_search.c48 struct hash_table *range_ht; member
316 if (var->cond && !var->cond(state->range_ht, instr, in match_value()
688 struct hash_table *range_ht, in nir_replace_instr() argument
705 state.range_ht = range_ht; in nir_replace_instr()
860 struct hash_table *range_ht, in nir_algebraic_instr() argument
889 nir_replace_instr(build, alu, range_ht, states, pass_op_table, in nir_algebraic_instr()
891 _mesa_hash_table_clear(range_ht, NULL); in nir_algebraic_instr()
922 struct hash_table *range_ht = _mesa_pointer_hash_table_create(NULL); in nir_algebraic_impl() local
953 range_ht, condition_flags, in nir_algebraic_impl()
959 ralloc_free(range_ht); in nir_algebraic_impl()
Dnir_search.h98 bool (*cond)(struct hash_table *range_ht, nir_alu_instr *instr, unsigned src,
202 struct hash_table *range_ht,
Dnir_range_analysis.h45 nir_analyze_range(struct hash_table *range_ht,
Dnir.h5175 nir_unsigned_upper_bound(nir_shader *shader, struct hash_table *range_ht,
5180 nir_addition_might_overflow(nir_shader *shader, struct hash_table *range_ht,
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.h88 struct hash_table *range_ht; member
Daco_instruction_selection_setup.cpp275 uint32_t src1_ub = nir_unsigned_upper_bound(ctx->shader, ctx->range_ht, in apply_nuw_to_ssa()
278 !nir_addition_might_overflow(ctx->shader, ctx->range_ht, src0, src1_ub, in apply_nuw_to_ssa()
582 ctx->range_ht =_mesa_pointer_hash_table_create(NULL); in init_context()
1020 _mesa_hash_table_destroy(ctx->range_ht, NULL); in cleanup_context()
Daco_instruction_selection.cpp707 return nir_unsigned_upper_bound(ctx->shader, ctx->range_ht, scalar, &ctx->ub_config); in get_alu_src_ub()