/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cfg.cpp | 131 if (post_order_visit(block.true_block)) in post_order_visit() 132 add_branch(block_id, block.true_block); in post_order_visit() 309 auto &true_block = compiler.get<SPIRBlock>(dom.true_block); in node_terminates_control_flow_in_sub_graph() local 312 true_path_ignore = compiler.execution_is_branchless(true_block, ignore_block); in node_terminates_control_flow_in_sub_graph() 319 (dom.terminator == SPIRBlock::Select && dom.true_block == to && false_path_ignore) || in node_terminates_control_flow_in_sub_graph() 381 if (cfg.get_visit_order(block.true_block) > post_order) in lift_continue_block_dominator()
|
D | spirv_cross.cpp | 1436 const auto *true_block = maybe_get<SPIRBlock>(block.true_block); in block_is_loop_candidate() local 1442 bool true_block_is_merge = block.true_block == block.merge_block || in block_is_loop_candidate() 1443 … (true_block && merge_block && execution_is_noop(*true_block, *merge_block)); in block_is_loop_candidate() 1446 … block.true_block != block.merge_block && block.true_block != block.self && false_block_is_merge; in block_is_loop_candidate() 1455 ret = block.true_block == block.continue_block; in block_is_loop_candidate() 1488 const auto *true_block = maybe_get<SPIRBlock>(child.true_block); in block_is_loop_candidate() local 1494 bool true_block_is_merge = child.true_block == block.merge_block || in block_is_loop_candidate() 1495 … (true_block && merge_block && execution_is_noop(*true_block, *merge_block)); in block_is_loop_candidate() 1498 … child.true_block != block.merge_block && child.true_block != block.self && false_block_is_merge; in block_is_loop_candidate() 1602 const auto *true_block = maybe_get<SPIRBlock>(block.true_block); in continue_block_type() local [all …]
|
D | spirv_glsl.cpp | 14127 void CompilerGLSL::branch(BlockID from, uint32_t cond, BlockID true_block, BlockID false_block) in branch() argument 14133 bool true_block_needs_code = true_block != merge_block || flush_phi_required(from, true_block); in branch() 14148 branch(from, true_block); in branch() 14199 else if (block->true_block && follow_true_block) in emit_continue_block() 14201 flush_phi(continue_block, block->true_block); in emit_continue_block() 14202 block = &get<SPIRBlock>(block->true_block); in emit_continue_block() 14369 if (execution_is_noop(get<SPIRBlock>(block.true_block), get<SPIRBlock>(block.merge_block))) in attempt_emit_loop_header() 14392 if (execution_is_noop(get<SPIRBlock>(block.true_block), get<SPIRBlock>(block.merge_block))) in attempt_emit_loop_header() 14435 uint32_t target_block = child.true_block; in attempt_emit_loop_header() 14447 if (execution_is_noop(get<SPIRBlock>(child.true_block), get<SPIRBlock>(block.merge_block))) in attempt_emit_loop_header() [all …]
|
D | spirv_parser.cpp | 960 current_block->true_block = ops[1]; in parse()
|
D | spirv_common.hpp | 809 BlockID true_block = 0; member
|
D | spirv_glsl.hpp | 619 void branch(BlockID from, uint32_t cond, BlockID true_block, BlockID false_block);
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | parse.cc | 461 … Parser::MakeConditionBlocks(const FunctionBlockPtr &pre_block, const FunctionBlockPtr &true_block, in MakeConditionBlocks() argument 463 MS_EXCEPTION_IF_NULL(true_block); in MakeConditionBlocks() 465 true_block->AddPrevBlock(pre_block); in MakeConditionBlocks() 466 true_block->Mature(); in MakeConditionBlocks() 852 FunctionBlockPtr true_block = nullptr; in ProcessBoolOpValueList() local 857 true_block = MakeFunctionBlock(*this); in ProcessBoolOpValueList() 863 MakeConditionBlocks(block, true_block, false_block); in ProcessBoolOpValueList() 869 b1 = true_block; in ProcessBoolOpValueList() 872 b2 = true_block; in ProcessBoolOpValueList() 885 …ewCNodeInOrder({NewValueNode(prim::kPrimSwitch), cond_node, NewValueNode(true_block->func_graph()), in ProcessBoolOpValueList() [all …]
|
D | function_block.cc | 433 void FunctionBlock::ConditionalJump(AnfNodePtr condNode, const FunctionBlockPtr &true_block, in ConditionalJump() argument 435 MS_EXCEPTION_IF_NULL(true_block); in ConditionalJump() 442 …NewCNodeInOrder({NewValueNode(prim::kPrimSwitch), condNode, NewValueNode(true_block->func_graph()), in ConditionalJump()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_flow.c | 416 ifthen->true_block = in lp_build_if() 422 LLVMPositionBuilderAtEnd(gallivm->builder, ifthen->true_block); in lp_build_if() 468 ifthen->true_block, ifthen->false_block); in lp_build_endif() 473 ifthen->true_block, ifthen->merge_block); in lp_build_endif()
|
D | lp_bld_flow.h | 183 LLVMBasicBlockRef true_block; member
|
D | lp_bld_coro.c | 192 LLVMAddIncoming(phi, &alloc_mem, &if_state_coro.true_block, 1); in lp_build_coro_begin_alloc_mem()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_module.h | 408 unsigned true_block, unsigned false_block);
|
D | dxil_module.c | 2662 unsigned true_block, unsigned false_block) in dxil_emit_branch() argument 2672 instr->br.succ[0] = true_block; in dxil_emit_branch()
|
D | nir_to_dxil.c | 3800 int true_block, int false_block) in emit_cond_branch() argument 3803 assert(true_block >= 0); in emit_cond_branch() 3805 return dxil_emit_branch(&ctx->mod, cond, true_block, false_block); in emit_cond_branch()
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder.cc | 3498 auto true_block = result_op(); in GenerateConditionalBlock() local 3499 auto true_block_id = true_block.to_i(); in GenerateConditionalBlock()
|