HomeSort by relevance Sort by last modified time
    Searched refs:if_stmt (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /external/mesa3d/src/compiler/nir/
nir_opt_conditional_discard.c 42 nir_if *if_stmt = nir_cf_node_as_if(prev_node);
43 nir_block *then_block = nir_if_first_then_block(if_stmt);
44 nir_block *else_block = nir_if_first_else_block(if_stmt);
47 if (nir_if_last_else_block(if_stmt) != else_block)
53 if (nir_if_last_then_block(if_stmt) != then_block)
62 nir_block *after = nir_cf_node_as_block(nir_cf_node_next(&if_stmt->cf_node));
91 cond = if_stmt->condition;
94 nir_ssa_for_src(b, if_stmt->condition, 1),
103 nir_cf_node_remove(&if_stmt->cf_node);
nir_loop_analyze.h 50 nir_if *if_stmt = nir_cf_node_as_if(node); local
52 foreach_list_typed_safe(nir_cf_node, node, node, &if_stmt->then_list) {
57 foreach_list_typed_safe(nir_cf_node, node, node, &if_stmt->else_list) {
nir_lower_returns.c 56 nir_if *if_stmt = nir_if_create(b->shader); local
57 if_stmt->condition = nir_src_for_ssa(nir_load_var(b, state->return_flag));
58 nir_cf_node_insert(b->cursor, &if_stmt->cf_node);
66 nir_instr_insert(nir_before_cf_list(&if_stmt->then_list), &brk->instr);
72 nir_cf_extract(&list, nir_after_cf_node(&if_stmt->cf_node),
75 nir_cf_reinsert(&list, nir_before_cf_list(&if_stmt->else_list));
101 lower_returns_in_if(nir_if *if_stmt, struct lower_returns_state *state)
108 then_progress = lower_returns_in_cf_list(&if_stmt->then_list, state);
109 else_progress = lower_returns_in_cf_list(&if_stmt->else_list, state);
124 predicate_following(&if_stmt->cf_node, state)
    [all...]
nir_opt_dead_cf.c 84 opt_constant_if(nir_if *if_stmt, bool condition)
89 nir_block *after = nir_cf_node_as_block(nir_cf_node_next(&if_stmt->cf_node));
90 nir_block *last_block = condition ? nir_if_last_then_block(if_stmt)
91 : nir_if_last_else_block(if_stmt);
122 remove_after_cf_node(&if_stmt->cf_node);
126 struct exec_list *cf_list = condition ? &if_stmt->then_list
127 : &if_stmt->else_list;
131 nir_cf_reinsert(&list, nir_after_cf_node(&if_stmt->cf_node));
132 nir_cf_node_remove(&if_stmt->cf_node);
298 nir_if *if_stmt = nir_cf_node_as_if(cur) local
    [all...]
nir_opt_peephole_select.c 160 nir_if *if_stmt = nir_cf_node_as_if(prev_node);
161 nir_block *then_block = nir_if_first_then_block(if_stmt);
162 nir_block *else_block = nir_if_first_else_block(if_stmt);
165 if (nir_if_last_then_block(if_stmt) != then_block ||
166 nir_if_last_else_block(if_stmt) != else_block)
208 nir_src_copy(&sel->src[0].src, &if_stmt->condition, sel);
233 nir_cf_node_remove(&if_stmt->cf_node);
nir_lower_indirect_derefs.c 58 nir_if *if_stmt = nir_if_create(b->shader); local
59 if_stmt->condition = nir_src_for_ssa(nir_ilt(b, arr->indirect.ssa,
61 nir_cf_node_insert(b->cursor, &if_stmt->cf_node);
63 b->cursor = nir_after_cf_list(&if_stmt->then_list);
67 b->cursor = nir_after_cf_list(&if_stmt->else_list);
71 b->cursor = nir_after_cf_node(&if_stmt->cf_node);
81 src0->pred = nir_if_last_then_block(if_stmt);
86 src1->pred = nir_if_last_else_block(if_stmt);
nir_opt_global_to_local.c 62 nir_if *if_stmt = use_src->parent_if; local
63 nir_function_impl *if_impl = nir_cf_node_get_function(&if_stmt->cf_node);
nir_control_flow.c 115 nir_if *if_stmt = nir_cf_node_as_if(node); local
117 nir_block *last_then_block = nir_if_last_then_block(if_stmt);
118 nir_block *last_else_block = nir_if_last_else_block(if_stmt);
143 nir_if *if_stmt = nir_cf_node_as_if(node); local
145 nir_block *first_then_block = nir_if_first_then_block(if_stmt);
146 nir_block *first_else_block = nir_if_first_else_block(if_stmt);
529 nir_if *if_stmt = nir_cf_node_as_if(node);
531 if_stmt->condition.parent_if = if_stmt;
532 if (if_stmt->condition.is_ssa)
636 nir_if *if_stmt = nir_cf_node_as_if(node); local
    [all...]
nir_lower_gs_intrinsics.c 87 nir_if *if_stmt = nir_if_create(b->shader); local
88 if_stmt->condition = nir_src_for_ssa(nir_ilt(b, count, max_vertices));
89 nir_builder_cf_insert(b, &if_stmt->cf_node);
92 b->cursor = nir_after_cf_list(&if_stmt->then_list);
nir_opt_copy_propagate.c 238 copy_prop_if(nir_if *if_stmt)
240 return copy_prop_src(&if_stmt->condition, NULL, if_stmt);
254 nir_if *if_stmt = nir_block_get_following_if(block); local
255 if (if_stmt && copy_prop_if(if_stmt))
nir_to_lcssa.c 167 nir_if *if_stmt = nir_cf_node_as_if(cf_node); local
168 foreach_list_typed(nir_cf_node, nested_node, node, &if_stmt->then_list)
170 foreach_list_typed(nir_cf_node, nested_node, node, &if_stmt->else_list)
nir_validate.c 79 nir_if *if_stmt; member in struct:__anon27483
145 validate_assert(state, state->if_stmt);
187 validate_assert(state, state->if_stmt);
200 validate_assert(state, src->parent_if == state->if_stmt);
751 nir_if *if_stmt = nir_cf_node_as_if(next); local
753 nir_if_first_then_block(if_stmt));
755 nir_if_first_else_block(if_stmt));
768 validate_if(nir_if *if_stmt, validate_state *state)
770 state->if_stmt = if_stmt;
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/ir3/
ir3_nir_lower_if_else.c 226 nir_if *if_stmt = nir_cf_node_as_if(prev_node);
227 nir_block *then_block = nir_if_first_then_block(if_stmt);
228 nir_block *else_block = nir_if_first_else_block(if_stmt);
231 if (nir_if_last_then_block(if_stmt) != then_block ||
232 nir_if_last_else_block(if_stmt) != else_block)
241 if (!if_stmt->condition.is_ssa)
258 if_stmt->condition.ssa, false);
260 if_stmt->condition.ssa, true);
268 nir_src_copy(&sel->src[0].src, &if_stmt->condition, mem_ctx);
292 nir_cf_node_remove(&if_stmt->cf_node)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_nir_tcs_workarounds.c 103 nir_if *if_stmt = nir_if_create(b->shader); local
104 if_stmt->condition = nir_src_for_ssa(any_greater_than_1);
105 nir_builder_cf_insert(b, &if_stmt->cf_node);
108 b->cursor = nir_after_cf_list(&if_stmt->then_list);
  /external/mesa3d/src/intel/vulkan/
anv_nir_apply_dynamic_offsets.c 96 nir_if *if_stmt = nir_if_create(b->shader); local
97 if_stmt->condition = nir_src_for_ssa(pred);
98 nir_cf_node_insert(b->cursor, &if_stmt->cf_node);
101 nir_instr_insert_after_cf_list(&if_stmt->then_list, &intrin->instr);
111 struct exec_node *tnode = exec_list_get_tail(&if_stmt->then_list);
116 b->cursor = nir_after_cf_list(&if_stmt->else_list);
122 struct exec_node *enode = exec_list_get_tail(&if_stmt->else_list);
131 nir_instr_insert_after_cf(&if_stmt->cf_node, &phi->instr);
  /external/mesa3d/src/compiler/spirv/
vtn_cfg.c 336 struct vtn_if *if_stmt = ralloc(b, struct vtn_if); local
338 if_stmt->node.type = vtn_cf_node_type_if;
339 if_stmt->condition = block->branch[1];
340 list_inithead(&if_stmt->then_body);
341 list_inithead(&if_stmt->else_body);
343 list_addtail(&if_stmt->node.link, cf_list);
347 if_stmt->control = block->merge[2];
350 if_stmt->then_type = vtn_get_branch_type(then_block,
353 if_stmt->else_type = vtn_get_branch_type(else_block,
357 if (if_stmt->then_type == vtn_branch_type_none &
614 nir_if *if_stmt = nir_if_create(b->shader); local
    [all...]
  /external/mesa3d/src/compiler/glsl/
loop_analysis.cpp 136 loop_variable_state::insert(ir_if *if_stmt)
141 t->ir = if_stmt;
296 ir_if *if_stmt = ((ir_instruction *) node)->as_if(); local
298 if ((if_stmt != NULL) && is_loop_terminator(if_stmt))
299 ls->insert(if_stmt);
399 ir_if *if_stmt = t->ir; local
404 ir_expression *cond = if_stmt->condition->as_expression();
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
graminit.h 40 #define if_stmt 293 macro
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
graminit.h 40 #define if_stmt 293 macro
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
symbol.py 50 if_stmt = 293 variable
  /external/python/cpython2/Include/
graminit.h 40 #define if_stmt 293 macro
  /external/python/cpython2/Lib/
symbol.py 50 if_stmt = 293 variable
  /prebuilts/gdb/darwin-x86/include/python2.7/
graminit.h 40 #define if_stmt 293 macro
  /prebuilts/gdb/darwin-x86/lib/python2.7/
symbol.py 50 if_stmt = 293 variable
  /prebuilts/gdb/linux-x86/include/python2.7/
graminit.h 40 #define if_stmt 293 macro

Completed in 674 milliseconds

1 2 3 4