/third_party/mesa3d/src/compiler/nir/tests/ |
D | comparison_pre_tests.cpp | 101 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 153 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 206 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 258 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 311 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 364 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 418 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 471 nir_if *nif = nir_push_if(&bld, flt); in TEST_F() 510 nir_if *nif = nir_push_if(&bld, &flt->dest.dest.ssa); in TEST_F() 567 nir_if *nif = nir_push_if(&bld, &flt->dest.dest.ssa); in TEST_F()
|
D | opt_if_tests.cpp | 73 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F() 110 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_if.c | 159 nir_if *nif = nir_cf_node_as_if(if_node); in opt_peel_loop_initial_if() 776 nir_if *nif = NULL; in opt_if_loop_last_continue() 841 rewrite_phi_predecessor_blocks(nir_if *nif, in rewrite_phi_predecessor_blocks() 882 opt_if_simplification(nir_builder *b, nir_if *nif) in opt_if_simplification() 955 opt_if_loop_terminator(nir_if *nif) in opt_if_loop_terminator() 1006 evaluate_if_condition(nir_if *nif, nir_cursor cursor, bool *value) in evaluate_if_condition() 1096 propagate_condition_eval(nir_builder *b, nir_if *nif, nir_src *use_src, in propagate_condition_eval() 1148 evaluate_condition_use(nir_builder *b, nir_if *nif, nir_src *use_src, in evaluate_condition_use() 1185 opt_if_evaluate_condition_use(nir_builder *b, nir_if *nif) in opt_if_evaluate_condition_use() 1204 rewrite_comp_uses_within_if(nir_builder *b, nir_if *nif, bool invert, in rewrite_comp_uses_within_if() [all …]
|
D | nir_loop_analyze.h | 51 nir_if *if_stmt = nir_cf_node_as_if(node); in contains_other_jump() 80 nir_is_trivial_loop_if(nir_if *nif, nir_block *break_block) in nir_is_trivial_loop_if()
|
D | nir_opt_trivial_continues.c | 44 nir_if *prev_if = nir_cf_node_as_if(prev_node); in lower_trivial_continues_block() 86 nir_if *nif = nir_cf_node_as_if(cf_node); in lower_trivial_continues_list()
|
D | nir_opt_dead_cf.c | 84 opt_constant_if(nir_if *if_stmt, bool condition) in opt_constant_if() 287 nir_if *following_if = nir_block_get_following_if(block); in dead_cf_block() 351 nir_if *if_stmt = nir_cf_node_as_if(cur); in dead_cf_list()
|
D | nir_control_flow.c | 108 nir_if *if_stmt = nir_cf_node_as_if(node); in link_non_block_to_block() 136 nir_if *if_stmt = nir_cf_node_as_if(node); in link_block_to_non_block() 302 nir_if *next_if = nir_cf_node_as_if(next); in block_add_normal_succs() 534 nir_if *if_stmt = nir_cf_node_as_if(node); in update_if_uses() 643 nir_if *if_stmt = nir_cf_node_as_if(node); in cleanup_cf_node() 756 nir_if *if_stmt = nir_cf_node_as_if(node); in relink_jump_halt_cf_node()
|
D | nir_opt_peephole_select.c | 270 nir_opt_collapse_if(nir_if *if_stmt, nir_shader *shader, unsigned limit, in nir_opt_collapse_if() 277 nir_if *parent_if = nir_cf_node_as_if(if_stmt->cf_node.parent); in nir_opt_collapse_if() 395 nir_if *if_stmt = nir_cf_node_as_if(prev_node); in nir_opt_peephole_select_block()
|
D | nir_liveness.c | 183 nir_if *following_if = nir_block_get_following_if(block); in nir_live_ssa_defs_impl() 294 nir_if *following_if = nir_block_get_following_if(start->block); in search_for_use_after_instr() 400 nir_if *nif = nir_block_get_following_if(block); in nir_live_ssa_defs_per_instr()
|
D | nir_lower_returns.c | 58 nir_if *if_stmt = nir_push_if(b, nir_load_var(b, state->return_flag)); in predicate_following() 104 lower_returns_in_if(nir_if *if_stmt, struct lower_returns_state *state) in lower_returns_in_if()
|
D | nir_lower_memory_model.c | 206 nir_if *nif = nir_cf_node_as_if(cf_node); in lower_make_visible() 245 nir_if *nif = nir_cf_node_as_if(cf_node); in lower_make_available()
|
D | nir_lower_regs_to_ssa.c | 68 rewrite_if_condition(nir_if *nif, struct regs_to_ssa_state *state) in rewrite_if_condition() 269 nir_if *following_if = nir_block_get_following_if(block); in nir_lower_regs_to_ssa_impl()
|
D | nir_opt_loop_unroll.c | 228 nir_if *if_stmt = nir_cf_node_as_if(node); in get_complex_unroll_insert_location() 374 nir_if *limit_if = limiting_term->nif; in complex_unroll() 736 nir_if *nif = nir_block_get_following_if(nir_loop_first_block(new_loop)); in partial_unroll() 925 nir_if *if_stmt = nir_cf_node_as_if(cf_node); in process_loops()
|
D | nir_opt_move.c | 109 nir_if *iff = nir_block_get_following_if(block); in move()
|
D | nir_opt_gcm.c | 110 nir_if *if_stmt = nir_cf_node_as_if(node); in get_loop_instr_count() 144 nir_if *if_stmt = nir_cf_node_as_if(node); in gcm_build_block_info() 595 nir_if *if_stmt = use_src->parent_if; in gcm_schedule_late_def()
|
D | nir_opt_conditional_discard.c | 45 nir_if *if_stmt = nir_cf_node_as_if(prev_node); in nir_opt_conditional_discard_block()
|
D | nir_lower_shader_calls.c | 578 nir_if *following_if = nir_block_get_following_if(block); in spill_ssa_defs_and_lower_shader_calls() 676 nir_if *_if = nir_if_create(impl->function->shader); in duplicate_loop_bodies() 840 nir_if *_if = nir_cf_node_as_if(child); in flatten_resume_if_ladder() 871 nir_if *_if = nir_cf_node_as_if(nir_cf_node_next(&header->cf_node)); in flatten_resume_if_ladder()
|
D | nir_to_lcssa.c | 153 nir_if *if_node = nir_cf_node_as_if(prev); in phi_is_invariant() 303 nir_if *if_stmt = nir_cf_node_as_if(cf_node); in convert_to_lcssa()
|
D | nir_opt_uniform_atomics.c | 211 nir_if *nif = nir_push_if(b, cond); in optimize_atomic() 238 nir_if *helper_nif = NULL; in optimize_and_rewrite_atomic()
|
D | nir.h | 862 struct nir_if; 868 struct nir_if *parent_if; 3004 typedef struct nir_if { struct 3011 } nir_if; typedef 3014 nir_if *nif; 3275 NIR_DEFINE_CAST(nir_cf_node_as_if, nir_cf_node, nir_if, cf_node, in NIR_DEFINE_CAST() 3283 nir_if_first_then_block(nir_if *if_stmt) in NIR_DEFINE_CAST() 3290 nir_if_last_then_block(nir_if *if_stmt) in nir_if_last_then_block() 3297 nir_if_first_else_block(nir_if *if_stmt) in nir_if_first_else_block() 3304 nir_if_last_else_block(nir_if *if_stmt) in nir_if_last_else_block() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_legalize_image_load_store.cpp | 52 nir_if *if_exists = nir_push_if(b, image_exists); in r600_legalize_image_load_store_impl() 54 nir_if *load_if = nullptr; in r600_legalize_image_load_store_impl() 119 nir_if *load_else = nir_push_else(b, load_if); in r600_legalize_image_load_store_impl() 129 nir_if *else_exists = nir_push_else(b, if_exists); in r600_legalize_image_load_store_impl()
|
D | sfn_nir.h | 97 bool process_if(nir_if *node);
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 247 nir_if *if_first_lane = nir_push_if(b, nir_build_elect(b, 1)); in repack_invocations_in_workgroup() 355 nir_if *if_gs_thread = nir_push_if(b, gs_thread); in emit_ngg_nogs_prim_export() 692 nir_if *if_es_accepted = nir_push_if(b, nir_load_var(b, es_accepted_var)); in compact_vertices_after_culling() 721 nir_if *if_packed_es_thread = nir_push_if(b, es_survived); in compact_vertices_after_culling() 741 nir_if *if_gs_accepted = nir_push_if(b, nir_load_var(b, gs_accepted_var)); in compact_vertices_after_culling() 1066 nir_if *if_es_thread = nir_push_if(b, es_thread); in add_deferred_attribute_culling() 1112 nir_if *if_cull_en = nir_push_if(b, nir_build_load_cull_any_enabled_amd(b)); in add_deferred_attribute_culling() 1140 nir_if *if_gs_thread = nir_push_if(b, nir_build_has_input_primitive_amd(b)); in add_deferred_attribute_culling() 1168 nir_if *if_gs_accepted = nir_push_if(b, accepted); in add_deferred_attribute_culling() 1205 … nir_if *if_wave_0 = nir_push_if(b, nir_ieq(b, nir_build_load_subgroup_id(b), nir_imm_int(b, 0))); in add_deferred_attribute_culling() [all …]
|
D | ac_nir_cull.c | 94 nir_if *if_cull_bbox = nir_push_if(b, try_cull_bbox); in cull_bbox() 117 … nir_if *if_cull_small_prims = nir_push_if(b, nir_build_load_cull_small_primitives_enabled_amd(b)); in cull_bbox()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_lower_int_cubemap_to_array.c | 168 nir_if *use_face_x_if = nir_push_if(b, use_face_x); in lower_cube_sample() 170 nir_if *use_face_x_else = nir_push_else(b, use_face_x_if); in lower_cube_sample() 176 nir_if *use_face_y_if = nir_push_if(b, use_face_y); in lower_cube_sample() 178 nir_if *use_face_y_else = nir_push_else(b, use_face_y_if); in lower_cube_sample()
|