Home
last modified time | relevance | path

Searched refs:true_block (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cfg.cpp131 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()
Dspirv_cross.cpp1436 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 …]
Dspirv_glsl.cpp14127 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 …]
Dspirv_parser.cpp960 current_block->true_block = ops[1]; in parse()
Dspirv_common.hpp809 BlockID true_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.cc461 … 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 …]
Dfunction_block.cc433 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/
Dlp_bld_flow.c416 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()
Dlp_bld_flow.h183 LLVMBasicBlockRef true_block; member
Dlp_bld_coro.c192 LLVMAddIncoming(phi, &alloc_mem, &if_state_coro.true_block, 1); in lp_build_coro_begin_alloc_mem()
/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
2672 instr->br.succ[0] = true_block; in dxil_emit_branch()
Dnir_to_dxil.c3800 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/
Dbuilder.cc3498 auto true_block = result_op(); in GenerateConditionalBlock() local
3499 auto true_block_id = true_block.to_i(); in GenerateConditionalBlock()