Home
last modified time | relevance | path

Searched refs:nir_before_cf_list (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_control_flow.h72 nir_cf_node_insert(nir_before_cf_list(list), node); in nir_cf_node_insert_begin()
161 nir_cf_extract(extracted, nir_before_cf_list(cf_list), in nir_cf_list_extract()
Dnir_lower_shader_calls.c49 nir_instr_insert(nir_before_cf_list(&impl->body), instr); in move_system_values_to_top()
655 b.cursor = nir_before_cf_list(&impl->body); in duplicate_loop_bodies()
686 nir_cf_reinsert(&cf_list, nir_before_cf_list(&_if->then_list)); in duplicate_loop_bodies()
687 nir_cf_reinsert(&clone, nir_before_cf_list(&_if->else_list)); in duplicate_loop_bodies()
878 nir_instr_insert(nir_before_cf_list(&_if->then_list), loop_cursor); in flatten_resume_if_ladder()
941 nir_instr_insert(nir_before_cf_list(&impl->body), resume_instr); in flatten_resume_if_ladder()
994 nir_instr_insert(nir_before_cf_list(&impl->body), cursor); in lower_resume()
Dnir_lower_variable_initializers.c62 b->cursor = nir_before_cf_list(&b->impl->body); in lower_const_initializer()
155 b.cursor = nir_before_cf_list(&b.impl->body); in nir_zero_initialize_shared_memory()
Dnir_lower_returns.c76 nir_cf_reinsert(&list, nir_before_cf_list(&if_stmt->else_list)); in predicate_following()
211 b->cursor = nir_before_cf_list(&b->impl->body); in lower_returns_in_block()
Dnir_lower_point_size_mov.c44 b.cursor = nir_before_cf_list(&impl->body); in lower_impl()
Dnir_lower_is_helper_invocation.c111 b.cursor = nir_before_cf_list(&entrypoint->body); in nir_lower_is_helper_invocation()
Dnir_lower_passthrough_edgeflags.c36 b.cursor = nir_before_cf_list(&impl->body); in lower_impl()
Dnir_lower_alpha_test.c50 b.cursor = nir_before_cf_list(&impl->body); in nir_lower_alpha_test()
Dnir_lower_bitmap.c127 b.cursor = nir_before_cf_list(&impl->body); in lower_bitmap_impl()
Dnir_opt_if.c235 nir_cf_extract(&tmp, nir_before_cf_list(entry_list), in opt_peel_loop_initial_if()
247 nir_cf_extract(&tmp, nir_before_cf_list(continue_list), in opt_peel_loop_initial_if()
926 nir_cf_extract(&tmp, nir_before_cf_list(&nif->else_list), in opt_if_simplification()
928 nir_cf_reinsert(&tmp, nir_before_cf_list(&nif->then_list)); in opt_if_simplification()
1320 nir_cf_extract(&if_cf_list, nir_before_cf_list(list), in simple_merge_if()
Dnir_lower_texcoord_replace.c69 b.cursor = nir_before_cf_list(&impl->body); in nir_lower_texcoord_replace_impl()
Dnir_phi_builder.c212 nir_instr_insert(nir_before_cf_list(&val->builder->impl->body), in nir_phi_builder_value_get_block_def()
Dnir_lower_gs_intrinsics.c381 b.cursor = nir_before_cf_list(&impl->body); in nir_lower_gs_intrinsics()
Dnir_lower_clip.c423 b.cursor = nir_before_cf_list(&impl->body); in lower_clip_fs()
Dnir_builder.h169 build->cursor = nir_before_cf_list(&nif->then_list); in nir_push_if_src()
188 build->cursor = nir_before_cf_list(&nif->else_list); in nir_push_else()
229 build->cursor = nir_before_cf_list(&loop->body); in nir_push_loop()
253 nir_instr_insert(nir_before_cf_list(&build->impl->body), &undef->instr); in nir_ssa_undef()
Dnir_opt_gcm.c682 nir_instr_insert(nir_before_cf_list(&state->impl->body), &undef->instr); in gcm_replace_def_with_undef()
Dnir_lower_goto_ifs.c941 nir_cf_extract(&cf_list, nir_before_cf_list(&impl->body), in nir_lower_goto_ifs_impl()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c292 b.cursor = nir_before_cf_list(&impl->body); in ir3_nir_lower_to_explicit_output()
368 b.cursor = nir_before_cf_list(&impl->body); in ir3_nir_lower_to_explicit_input()
669 b.cursor = nir_before_cf_list(&impl->body); in ir3_nir_lower_tess_ctrl()
683 b.cursor = nir_before_cf_list(&impl->body); in ir3_nir_lower_tess_ctrl()
697 nir_cf_extract(&body, nir_before_cf_list(&impl->body), in ir3_nir_lower_tess_ctrl()
925 b.cursor = nir_before_cf_list(&impl->body); in ir3_nir_lower_gs()
972 b.cursor = nir_before_cf_list(&impl->body); in ir3_nir_lower_gs()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_intersection_shader.c62 b->cursor = nir_before_cf_list(&impl->body); in lower_any_hit_for_intersection()
152 b->cursor = nir_before_cf_list(&impl->body); in brw_nir_lower_intersection_shader()
Dbrw_nir_rt.c84 b.cursor = nir_before_cf_list(&impl->body); in lower_rt_io_derefs()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c198 b.cursor = nir_before_cf_list(&entrypoint->body); in anv_nir_lower_multiview()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1063 b->cursor = nir_before_cf_list(&impl->body); in add_deferred_attribute_culling()
1320 nir_cf_extract(&extracted, nir_before_cf_list(&impl->body), nir_after_cf_list(&impl->body)); in ac_nir_lower_ngg_nogs()
1321 b->cursor = nir_before_cf_list(&impl->body); in ac_nir_lower_ngg_nogs()
1886 nir_cf_extract(&extracted, nir_before_cf_list(&impl->body), nir_after_cf_list(&impl->body)); in ac_nir_lower_ngg_gs()
1891 b->cursor = nir_before_cf_list(&impl->body); in ac_nir_lower_ngg_gs()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c210 b->nb.cursor = nir_before_cf_list(&impl->body); in vtn_cfg_handle_prepass_instruction()
1161 b->nb.cursor = nir_before_cf_list(&loop->body); in vtn_emit_cf_list_structured()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c553 b.cursor = nir_before_cf_list(&impl->body); in d3d12_add_missing_dual_src_target()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c786 b.cursor = nir_before_cf_list(&impl->body); in lower_rt_derefs()
923 b->cursor = nir_before_cf_list(&impl->body); in lower_any_hit_for_intersection()
1019 b->cursor = nir_before_cf_list(&impl->body); in nir_lower_intersection_shader()

12