Home
last modified time | relevance | path

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

/external/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.cpp82 bblock_t *if_block = jump_block->prev(); in opt_predicated_break() local
88 bblock_t *earlier_block = if_block; in opt_predicated_break()
89 if (if_block->start_ip == if_block->end_ip) { in opt_predicated_break()
90 earlier_block = if_block->prev(); in opt_predicated_break()
93 if_inst->remove(if_block); in opt_predicated_break()
/external/deqp-deps/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()
/external/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_opselect_with_conditional_branch.cpp147 uint32_t if_block = in Apply() local
155 assert(if_block != else_block && in Apply()
165 {SPV_OPERAND_TYPE_ID, {if_block}}, in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_opselect_with_conditional_branch.cpp147 uint32_t if_block = in Apply() local
155 assert(if_block != else_block && in Apply()
165 {SPV_OPERAND_TYPE_ID, {if_block}}, in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc315 if_data.if_block = b->GetInsertBlock(); in EmitIfThenElse()
323 if (if_data.if_block->getTerminator() == nullptr) { in EmitIfThenElse()
324 b->SetInsertPoint(if_data.if_block); in EmitIfThenElse()
329 if_data.after_block = if_data.if_block->splitBasicBlock( in EmitIfThenElse()
335 if_data.if_block->getTerminator()->eraseFromParent(); in EmitIfThenElse()
337 b->SetInsertPoint(if_data.if_block); in EmitIfThenElse()
Dllvm_util.h188 llvm::BasicBlock* if_block; member
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
Djsilver.sablecc335 | {if} if_block
336 {->if_block.command}
401 if_block {->command}
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c3171 LLVMBasicBlockRef if_block; in ac_build_ifcc() local
3173 if_block = append_basic_block(ctx, "IF"); in ac_build_ifcc()
3175 set_basicblock_name(if_block, "if", label_id); in ac_build_ifcc()
3176 LLVMBuildCondBr(ctx->builder, cond, if_block, flow->next_block); in ac_build_ifcc()
3177 LLVMPositionBuilderAtEnd(ctx->builder, if_block); in ac_build_ifcc()
/external/curl/packages/vms/
Dconfig_h.com246 $if_block = 0
/external/toybox/kconfig/
Dzconf.tab.c_shipped520 "if_entry", "if_end", "if_stmt", "if_block", "menu", "menu_entry",