Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/
Dframe_states.cpp594 auto currentLoop = GetLoopInfoByLoopBody(bb); in TryInsertLoopExit() local
595 if (currentLoop != nullptr && !currentLoop->loopBodys->TestBit(bbNext.id)) { in TryInsertLoopExit()
599 while (currentLoop != nullptr && !currentLoop->loopBodys->TestBit(bbNext.id)) { in TryInsertLoopExit()
600 ASSERT(currentLoop->loopExits != nullptr); in TryInsertLoopExit()
603 for (auto current : *currentLoop->loopExits) { in TryInsertLoopExit()
611 NewLoopExit(bbNext, currentLoop->loopAssignment); in TryInsertLoopExit()
612 currentLoop = currentLoop->parentInfo; in TryInsertLoopExit()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dinlining.cpp1358 auto currentLoop = callBb->GetLoop(); in UpdateControlflow() local
1370 currentLoop->AppendInnerLoop(loop); in UpdateControlflow()
1371 loop->SetOuterLoop(currentLoop); in UpdateControlflow()
1374 bb->SetLoop(currentLoop); in UpdateControlflow()
1375 currentLoop->AppendBlock(bb); in UpdateControlflow()