Home
last modified time | relevance | path

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

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp235 BasicBlock* loop_pre_header = in PerformUnswitch() local
238 context_, loop_pre_header, in PerformUnswitch()
242 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
246 ploop->AddBasicBlock(loop_pre_header); in PerformUnswitch()
247 loop_desc_.SetBasicBlockToLoop(loop_pre_header->id(), ploop); in PerformUnswitch()
251 cfg.RegisterBlock(loop_pre_header); in PerformUnswitch()
252 def_use_mgr->AnalyzeInstDef(loop_pre_header->GetLabelInst()); 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()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp204 BasicBlock* loop_pre_header = in PerformUnswitch() local
207 context_, loop_pre_header, in PerformUnswitch()
211 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
215 ploop->AddBasicBlock(loop_pre_header); in PerformUnswitch()
216 loop_desc_.SetBasicBlockToLoop(loop_pre_header->id(), ploop); in PerformUnswitch()
220 cfg.RegisterBlock(loop_pre_header); in PerformUnswitch()
221 def_use_mgr->AnalyzeInstDef(loop_pre_header->GetLabelInst()); in PerformUnswitch()
222 cfg.AddEdge(if_block->id(), loop_pre_header->id()); in PerformUnswitch()
226 [loop_pre_header, if_block](Instruction* phi) { in PerformUnswitch()
227 phi->ForEachInId([loop_pre_header, if_block](uint32_t* id) { in PerformUnswitch()
[all …]