Home
last modified time | relevance | path

Searched refs:if_merge_block (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp167 BasicBlock* if_merge_block = loop_->GetMergeBlock(); in PerformUnswitch() local
172 if_merge_block in PerformUnswitch()
173 ? CreateBasicBlock(FindBasicBlockPosition(if_merge_block)) in PerformUnswitch()
180 builder.AddBranch(if_merge_block->id()); in PerformUnswitch()
185 if_merge_block->ForEachPhiInst( in PerformUnswitch()
196 std::vector<uint32_t> preds = cfg.preds(if_merge_block->id()); in PerformUnswitch()
201 [if_merge_block, loop_merge_block](uint32_t* id) { in PerformUnswitch()
202 if (*id == if_merge_block->id()) *id = loop_merge_block->id(); in PerformUnswitch()
206 cfg.RemoveNonExistingEdges(if_merge_block->id()); in PerformUnswitch()
216 dom_tree->GetOrInsertNode(if_merge_block); in PerformUnswitch()
[all …]
Dloop_peeling.cpp450 BasicBlock* if_merge_block = loop_->GetMergeBlock(); in PeelBefore() local
455 ProtectLoop(loop_, has_remaining_iteration, if_merge_block); in PeelBefore()
457 if_merge_block->ForEachPhiInst( in PeelBefore()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp136 BasicBlock* if_merge_block = loop_->GetMergeBlock(); in PerformUnswitch() local
141 if_merge_block in PerformUnswitch()
142 ? CreateBasicBlock(FindBasicBlockPosition(if_merge_block)) in PerformUnswitch()
149 builder.AddBranch(if_merge_block->id()); in PerformUnswitch()
154 if_merge_block->ForEachPhiInst( in PerformUnswitch()
164 std::vector<uint32_t> preds = cfg.preds(if_merge_block->id()); in PerformUnswitch()
169 [if_merge_block, loop_merge_block](uint32_t* id) { in PerformUnswitch()
170 if (*id == if_merge_block->id()) *id = loop_merge_block->id(); in PerformUnswitch()
174 cfg.RemoveNonExistingEdges(if_merge_block->id()); in PerformUnswitch()
185 dom_tree->GetOrInsertNode(if_merge_block); in PerformUnswitch()
[all …]
Dloop_peeling.cpp450 BasicBlock* if_merge_block = loop_->GetMergeBlock(); in PeelBefore() local
455 ProtectLoop(loop_, has_remaining_iteration, if_merge_block); in PeelBefore()
457 if_merge_block->ForEachPhiInst( in PeelBefore()