Home
last modified time | relevance | path

Searched refs:loop_merge_block (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp171 BasicBlock* loop_merge_block = in PerformUnswitch() local
175 if (loop_merge_block) { in PerformUnswitch()
178 context_, loop_merge_block, in PerformUnswitch()
181 builder.SetInsertPoint(&*loop_merge_block->begin()); in PerformUnswitch()
182 cfg.RegisterBlock(loop_merge_block); in PerformUnswitch()
183 def_use_mgr->AnalyzeInstDef(loop_merge_block->GetLabelInst()); in PerformUnswitch()
186 [loop_merge_block, &builder, this](Instruction* phi) { in PerformUnswitch()
191 phi->SetInOperand(1, {loop_merge_block->id()}); in PerformUnswitch()
198 if (pid == loop_merge_block->id()) continue; in PerformUnswitch()
201 [if_merge_block, loop_merge_block](uint32_t* id) { in PerformUnswitch()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp140 BasicBlock* loop_merge_block = in PerformUnswitch() local
144 if (loop_merge_block) { in PerformUnswitch()
147 context_, loop_merge_block, in PerformUnswitch()
150 builder.SetInsertPoint(&*loop_merge_block->begin()); in PerformUnswitch()
151 cfg.RegisterBlock(loop_merge_block); in PerformUnswitch()
152 def_use_mgr->AnalyzeInstDef(loop_merge_block->GetLabelInst()); in PerformUnswitch()
155 [loop_merge_block, &builder, this](Instruction* phi) { in PerformUnswitch()
159 phi->SetInOperand(1, {loop_merge_block->id()}); in PerformUnswitch()
166 if (pid == loop_merge_block->id()) continue; in PerformUnswitch()
169 [if_merge_block, loop_merge_block](uint32_t* id) { in PerformUnswitch()
[all …]