Home
last modified time | relevance | path

Searched refs:if_block (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_dead_control_flow.cpp67 bblock_t *const if_block = prev_block; in dead_control_flow_eliminate() local
73 if (if_block->start_ip == if_block->end_ip) { in dead_control_flow_eliminate()
74 earlier_block = if_block->prev(); in dead_control_flow_eliminate()
76 earlier_block = if_block; in dead_control_flow_eliminate()
78 if_inst->remove(if_block); in dead_control_flow_eliminate()
Dbrw_predicated_break.cpp142 bblock_t *if_block = jump_block->prev(); in opt_predicated_break() local
148 bblock_t *earlier_block = if_block; in opt_predicated_break()
149 if (if_block->start_ip == if_block->end_ip) { in opt_predicated_break()
150 earlier_block = if_block->prev(); in opt_predicated_break()
153 if_inst->remove(if_block); in opt_predicated_break()
/third_party/boost/boost/wave/util/
Dcpp_ifblock.hpp29 class if_block class
32 if_block() : in if_block() function in boost::wave::util::if_block
37 if_block(bool status_, bool enclosing_status_) : in if_block() function in boost::wave::util::if_block
67 : private std::stack<if_block>
70 typedef std::stack<if_block>::size_type size_type;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp232 BasicBlock* if_block = loop_->GetPreHeaderBlock(); in PerformUnswitch() local
236 CreateBasicBlock(++FindBasicBlockPosition(if_block)); in PerformUnswitch()
242 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
245 if (Loop* ploop = loop_desc_[if_block]) { in PerformUnswitch()
253 cfg.AddEdge(if_block->id(), loop_pre_header->id()); in PerformUnswitch()
257 [loop_pre_header, if_block](Instruction* phi) { in PerformUnswitch()
258 phi->ForEachInId([loop_pre_header, if_block](uint32_t* id) { in PerformUnswitch()
259 if (*id == if_block->id()) { in PerformUnswitch()
269 DominatorTreeNode* if_block_dtn = dom_tree->GetTreeNode(if_block); in PerformUnswitch()
390 ++FindBasicBlockPosition(if_block)); in PerformUnswitch()
[all …]
Dloop_peeling.cpp397 BasicBlock* if_block = loop->GetOrCreatePreHeaderBlock(); in ProtectLoop() local
401 context_->KillInst(&*if_block->tail()); in ProtectLoop()
404 context_, if_block, in ProtectLoop()
410 return if_block; in ProtectLoop()
453 BasicBlock* if_block = in PeelBefore() local
457 [&clone_results, if_block, this](Instruction* phi) { in PeelBefore()
466 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {if_block->id()}}); in PeelBefore()
522 BasicBlock* if_block = ProtectLoop(cloned_loop_, has_remaining_iteration, in PeelAfter() local
532 [&clone_results, if_block, this](Instruction* phi) { in PeelAfter()
555 cloned_preheader_value, if_block->id()}); in PeelAfter()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_unswitch_pass.cpp232 BasicBlock* if_block = loop_->GetPreHeaderBlock(); in PerformUnswitch() local
236 CreateBasicBlock(++FindBasicBlockPosition(if_block)); in PerformUnswitch()
242 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
245 if (Loop* ploop = loop_desc_[if_block]) { in PerformUnswitch()
253 cfg.AddEdge(if_block->id(), loop_pre_header->id()); in PerformUnswitch()
257 [loop_pre_header, if_block](Instruction* phi) { in PerformUnswitch()
258 phi->ForEachInId([loop_pre_header, if_block](uint32_t* id) { in PerformUnswitch()
259 if (*id == if_block->id()) { in PerformUnswitch()
269 DominatorTreeNode* if_block_dtn = dom_tree->GetTreeNode(if_block); in PerformUnswitch()
390 ++FindBasicBlockPosition(if_block)); in PerformUnswitch()
[all …]
Dloop_peeling.cpp397 BasicBlock* if_block = loop->GetOrCreatePreHeaderBlock(); in ProtectLoop() local
401 context_->KillInst(&*if_block->tail()); in ProtectLoop()
404 context_, if_block, in ProtectLoop()
410 return if_block; in ProtectLoop()
453 BasicBlock* if_block = in PeelBefore() local
457 [&clone_results, if_block, this](Instruction* phi) { in PeelBefore()
466 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {if_block->id()}}); in PeelBefore()
522 BasicBlock* if_block = ProtectLoop(cloned_loop_, has_remaining_iteration, in PeelAfter() local
532 [&clone_results, if_block, this](Instruction* phi) { in PeelAfter()
555 cloned_preheader_value, if_block->id()}); in PeelAfter()
/third_party/spirv-tools/source/opt/
Dloop_unswitch_pass.cpp232 BasicBlock* if_block = loop_->GetPreHeaderBlock(); in PerformUnswitch() local
236 CreateBasicBlock(++FindBasicBlockPosition(if_block)); in PerformUnswitch()
242 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
245 if (Loop* ploop = loop_desc_[if_block]) { in PerformUnswitch()
253 cfg.AddEdge(if_block->id(), loop_pre_header->id()); in PerformUnswitch()
257 [loop_pre_header, if_block](Instruction* phi) { in PerformUnswitch()
258 phi->ForEachInId([loop_pre_header, if_block](uint32_t* id) { in PerformUnswitch()
259 if (*id == if_block->id()) { in PerformUnswitch()
269 DominatorTreeNode* if_block_dtn = dom_tree->GetTreeNode(if_block); in PerformUnswitch()
390 ++FindBasicBlockPosition(if_block)); in PerformUnswitch()
[all …]
Dloop_peeling.cpp397 BasicBlock* if_block = loop->GetOrCreatePreHeaderBlock(); in ProtectLoop() local
401 context_->KillInst(&*if_block->tail()); in ProtectLoop()
404 context_, if_block, in ProtectLoop()
410 return if_block; in ProtectLoop()
453 BasicBlock* if_block = in PeelBefore() local
457 [&clone_results, if_block, this](Instruction* phi) { in PeelBefore()
466 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {if_block->id()}}); in PeelBefore()
522 BasicBlock* if_block = ProtectLoop(cloned_loop_, has_remaining_iteration, in PeelAfter() local
532 [&clone_results, if_block, this](Instruction* phi) { in PeelAfter()
555 cloned_preheader_value, if_block->id()}); in PeelAfter()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_replace_opselect_with_conditional_branch.cpp146 uint32_t if_block = in Apply() local
154 assert(if_block != else_block && in Apply()
164 {SPV_OPERAND_TYPE_ID, {if_block}}, in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_replace_opselect_with_conditional_branch.cpp146 uint32_t if_block = in Apply() local
154 assert(if_block != else_block && in Apply()
164 {SPV_OPERAND_TYPE_ID, {if_block}}, in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_opselect_with_conditional_branch.cpp146 uint32_t if_block = in Apply() local
154 assert(if_block != else_block && in Apply()
164 {SPV_OPERAND_TYPE_ID, {if_block}}, in Apply()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c958 agx_block *if_block = emit_cf_list(ctx, &nif->then_list); in emit_if() local
971 agx_block_add_successor(first_block, if_block); in emit_if()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c3231 LLVMBasicBlockRef if_block; in ac_build_ifcc() local
3233 if_block = append_basic_block(ctx, "IF"); in ac_build_ifcc()
3235 set_basicblock_name(if_block, "if", label_id); in ac_build_ifcc()
3236 LLVMBuildCondBr(ctx->builder, cond, if_block, flow->next_block); in ac_build_ifcc()
3237 LLVMPositionBuilderAtEnd(ctx->builder, if_block); in ac_build_ifcc()
/third_party/curl/packages/vms/
Dconfig_h.com246 $if_block = 0
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc3339 auto* if_block = create<ast::BlockStatement>(Source{}, if_stmts); in MakeSimpleIf() local
3341 create<ast::IfStatement>(Source{}, condition, if_block, else_stmts); in MakeSimpleIf()
/third_party/toybox/kconfig/
Dzconf.tab.c_shipped520 "if_entry", "if_end", "if_stmt", "if_block", "menu", "menu_entry",