/external/mesa3d/src/compiler/nir/ |
D | nir_opt_conditional_discard.c | 43 nir_block *then_block = nir_if_first_then_block(if_stmt); in nir_opt_conditional_discard_block() local 53 if (nir_if_last_then_block(if_stmt) != then_block) in nir_opt_conditional_discard_block() 55 if (exec_list_is_empty(&then_block->instr_list)) in nir_opt_conditional_discard_block() 57 if (exec_list_length(&then_block->instr_list) > 1) in nir_opt_conditional_discard_block() 69 if (phi_src->pred == then_block || in nir_opt_conditional_discard_block() 78 nir_instr *instr = nir_block_first_instr(then_block); in nir_opt_conditional_discard_block()
|
D | nir_opt_peephole_select.c | 161 nir_block *then_block = nir_if_first_then_block(if_stmt); in nir_opt_peephole_select_block() local 165 if (nir_if_last_then_block(if_stmt) != then_block || in nir_opt_peephole_select_block() 171 if (!block_check_for_allowed_instrs(then_block, &count, limit != 0) || in nir_opt_peephole_select_block() 190 nir_foreach_instr_safe(instr, then_block) { in nir_opt_peephole_select_block() 214 assert(src->pred == then_block || src->pred == else_block); in nir_opt_peephole_select_block() 217 unsigned idx = src->pred == then_block ? 1 : 2; in nir_opt_peephole_select_block()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_sel_peephole.cpp | 67 bblock_t *then_block, bblock_t *else_block) in count_movs_from_if() argument 70 foreach_inst_in_block(fs_inst, inst, then_block) { in count_movs_from_if() 142 bblock_t *then_block = block->next(); in opt_peephole_sel() local 145 if (child->block != then_block) { in opt_peephole_sel() 155 int movs = count_movs_from_if(then_mov, else_mov, then_block, else_block); in opt_peephole_sel() 189 const fs_builder ibld = fs_builder(this, then_block, then_mov[i]) in opt_peephole_sel() 211 then_mov[i]->remove(then_block); in opt_peephole_sel()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_nir_lower_if_else.c | 227 nir_block *then_block = nir_if_first_then_block(if_stmt); in lower_if_else_block() local 231 if (nir_if_last_then_block(if_stmt) != then_block || in lower_if_else_block() 236 if (!block_check_for_allowed_instrs(then_block) || in lower_if_else_block() 257 flatten_block(b, then_block, prev_block, in lower_if_else_block() 274 assert(src->pred == then_block || src->pred == else_block); in lower_if_else_block() 277 unsigned idx = src->pred == then_block ? 1 : 2; in lower_if_else_block()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | if_conversion.cpp | 68 BasicBlock* then_block = GetBlock(branch->GetSingleWordInOperand(1u)); in Process() local 71 if ((then_block == &block && inc0 == common) || in Process() 72 dominators->Dominates(then_block, inc0)) { in Process()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | if_conversion.cpp | 68 BasicBlock* then_block = GetBlock(branch->GetSingleWordInOperand(1u)); in Process() local 71 if ((then_block == &block && inc0 == common) || in Process() 72 dominators->Dominates(then_block, inc0)) { in Process()
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_cfg.c | 410 struct vtn_block *then_block = in vtn_cfg_walk_blocks() local 429 if_stmt->then_type = vtn_get_branch_type(b, then_block, in vtn_cfg_walk_blocks() 436 if (then_block == else_block) { in vtn_cfg_walk_blocks() 439 block = then_block; in vtn_cfg_walk_blocks() 451 vtn_cfg_walk_blocks(b, &if_stmt->then_body, then_block, in vtn_cfg_walk_blocks() 478 block = then_block; in vtn_cfg_walk_blocks()
|
/external/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 1613 struct qblock *then_block = vir_new_block(c); in ntq_emit_if() local 1645 vir_link_blocks(c->cur_block, then_block); in ntq_emit_if() 1648 vir_set_emit_block(c, then_block); in ntq_emit_if()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 1922 struct qblock *then_block = qir_new_block(c); in ntq_emit_if() local 1952 qir_link_blocks(c->cur_block, then_block); in ntq_emit_if() 1955 qir_set_emit_block(c, then_block); in ntq_emit_if()
|
/external/v8/src/parsing/ |
D | parser.cc | 4129 Block* then_block = factory()->NewBlock(2, false); in BuildIteratorCloseForCompletion() local 4130 then_block->statements()->Add(check_return_callable, zone()); in BuildIteratorCloseForCompletion() 4131 then_block->statements()->Add(try_call_return, zone()); in BuildIteratorCloseForCompletion() 4133 call_return_carefully = factory()->NewIfStatement(condition, then_block, in BuildIteratorCloseForCompletion()
|
/external/mesa3d/src/amd/common/ |
D | ac_nir_to_llvm.c | 5284 nir_block *then_block = in visit_if() local 5287 ac_build_uif(&ctx->ac, value, then_block->index); in visit_if() 5299 ac_build_endif(&ctx->ac, then_block->index); in visit_if() 6914 LLVMBasicBlockRef then_block = LLVMAppendBasicBlockInContext(ctx.ac.context, fn, ""); in ac_translate_nir_to_llvm() local 6923 LLVMBuildCondBr(ctx.ac.builder, cond, then_block, merge_block); in ac_translate_nir_to_llvm() 6925 LLVMPositionBuilderAtEnd(ctx.ac.builder, then_block); in ac_translate_nir_to_llvm()
|