Lines Matching refs:LoopEnd
312 void wireFlow(bool ExitUseAllowed, BasicBlock *LoopEnd);
314 void handleLoops(bool ExitUseAllowed, BasicBlock *LoopEnd);
939 BasicBlock *LoopEnd) { in wireFlow() argument
965 while (!Order.empty() && !Visited.count(LoopEnd) && in wireFlow()
967 handleLoops(false, LoopEnd); in wireFlow()
976 BasicBlock *LoopEnd) { in handleLoops() argument
981 wireFlow(ExitUseAllowed, LoopEnd); in handleLoops()
988 LoopEnd = Loops[Node->getEntry()]; in handleLoops()
989 wireFlow(false, LoopEnd); in handleLoops()
990 while (!Visited.count(LoopEnd)) { in handleLoops()
991 handleLoops(false, LoopEnd); in handleLoops()
997 LoopEnd = needPrefix(false); in handleLoops()
998 BasicBlock *Next = needPostfix(LoopEnd, ExitUseAllowed); in handleLoops()
999 BranchInst *Br = BranchInst::Create(Next, LoopStart, BoolPoison, LoopEnd); in handleLoops()
1000 Br->setDebugLoc(TermDL[LoopEnd]); in handleLoops()
1002 addPhiValues(LoopEnd, LoopStart); in handleLoops()