Home
last modified time | relevance | path

Searched refs:false_block (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cfg.cpp133 if (post_order_visit(block.false_block)) in post_order_visit()
134 add_branch(block_id, block.false_block); in post_order_visit()
310 auto &false_block = compiler.get<SPIRBlock>(dom.false_block); in node_terminates_control_flow_in_sub_graph() local
313 false_path_ignore = compiler.execution_is_branchless(false_block, ignore_block); in node_terminates_control_flow_in_sub_graph()
320 (dom.terminator == SPIRBlock::Select && dom.false_block == to && true_path_ignore)) in node_terminates_control_flow_in_sub_graph()
383 if (cfg.get_visit_order(block.false_block) > post_order) in lift_continue_block_dominator()
Dspirv_cross.cpp1435 const auto *false_block = maybe_get<SPIRBlock>(block.false_block); in block_is_loop_candidate() local
1439 bool false_block_is_merge = block.false_block == block.merge_block || in block_is_loop_candidate()
1440 … (false_block && merge_block && execution_is_noop(*false_block, *merge_block)); in block_is_loop_candidate()
1449 … block.false_block != block.merge_block && block.false_block != block.self && true_block_is_merge; in block_is_loop_candidate()
1457 ret = block.false_block == block.continue_block; in block_is_loop_candidate()
1487 const auto *false_block = maybe_get<SPIRBlock>(child.false_block); in block_is_loop_candidate() local
1491 bool false_block_is_merge = child.false_block == block.merge_block || in block_is_loop_candidate()
1492 … (false_block && merge_block && execution_is_noop(*false_block, *merge_block)); in block_is_loop_candidate()
1501 … child.false_block != block.merge_block && child.false_block != block.self && true_block_is_merge; in block_is_loop_candidate()
1522 if (phi.parent == block.self || phi.parent == child.false_block) in block_is_loop_candidate()
[all …]
Dspirv_glsl.cpp14127 void CompilerGLSL::branch(BlockID from, uint32_t cond, BlockID true_block, BlockID false_block) in branch() argument
14134 bool false_block_needs_code = false_block != merge_block || flush_phi_required(from, false_block); in branch()
14155 branch(from, false_block); in branch()
14164 branch(from, false_block); in branch()
14204 else if (block->false_block && follow_false_block) in emit_continue_block()
14206 flush_phi(continue_block, block->false_block); in emit_continue_block()
14207 block = &get<SPIRBlock>(block->false_block); in emit_continue_block()
14450 target_block = child.false_block; in attempt_emit_loop_header()
14469 target_block = child.false_block; in attempt_emit_loop_header()
14714 assert(block.false_block == block.continue_block); in emit_block_chain()
[all …]
Dspirv_parser.cpp961 current_block->false_block = ops[2]; in parse()
Dspirv_common.hpp810 BlockID false_block = 0; member
Dspirv_glsl.hpp619 void branch(BlockID from, uint32_t cond, BlockID true_block, BlockID false_block);
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc462 const FunctionBlockPtr &false_block) { in MakeConditionBlocks() argument
464 MS_EXCEPTION_IF_NULL(false_block); in MakeConditionBlocks()
468 false_block->AddPrevBlock(pre_block); in MakeConditionBlocks()
469 false_block->Mature(); in MakeConditionBlocks()
853 FunctionBlockPtr false_block = nullptr; in ProcessBoolOpValueList() local
861 false_block = MakeFunctionBlock(*this); in ProcessBoolOpValueList()
863 MakeConditionBlocks(block, true_block, false_block); in ProcessBoolOpValueList()
870 b2 = false_block; in ProcessBoolOpValueList()
873 b1 = false_block; in ProcessBoolOpValueList()
886 NewValueNode(false_block->func_graph())}); in ProcessBoolOpValueList()
[all …]
Dfunction_block.cc434 const FunctionBlockPtr &false_block, bool) { in ConditionalJump() argument
436 MS_EXCEPTION_IF_NULL(false_block); in ConditionalJump()
443 NewValueNode(false_block->func_graph())}); in ConditionalJump()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c438 ifthen->false_block = in lp_build_else()
444 LLVMPositionBuilderAtEnd(builder, ifthen->false_block); in lp_build_else()
465 if (ifthen->false_block) { in lp_build_endif()
468 ifthen->true_block, ifthen->false_block); in lp_build_endif()
Dlp_bld_flow.h184 LLVMBasicBlockRef false_block; member
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_module.h408 unsigned true_block, unsigned false_block);
Ddxil_module.c2662 unsigned true_block, unsigned false_block) in dxil_emit_branch() argument
2673 instr->br.succ[1] = false_block; in dxil_emit_branch()
Dnir_to_dxil.c3800 int true_block, int false_block) in emit_cond_branch() argument
3804 assert(false_block >= 0); in emit_cond_branch()
3805 return dxil_emit_branch(&ctx->mod, cond, true_block, false_block); in emit_cond_branch()