Lines Matching refs:JumpAroundTarget
152 MachineBasicBlock* JumpAroundTarget = nullptr; in runOnMachineFunction() local
156 JumpAroundTarget = SecondSucc; in runOnMachineFunction()
159 JumpAroundTarget = FirstSucc; in runOnMachineFunction()
172 if (!LayoutSucc || (CondBranchTarget != JumpAroundTarget)) { in runOnMachineFunction()
181 assert(JumpAroundTarget && "jump target is needed to process second basic block"); in runOnMachineFunction()
185 bool case1 = LayoutSucc->isLayoutSuccessor(JumpAroundTarget); in runOnMachineFunction()
186 bool case2 = JumpAroundTarget->isSuccessor(UncondTarget) && in runOnMachineFunction()
187 JumpAroundTarget->size() >= 1 && in runOnMachineFunction()
188 IsUnconditionalJump(JumpAroundTarget->back().getOpcode()) && in runOnMachineFunction()
189 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
190 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
194 MBB->replaceSuccessor(JumpAroundTarget, UncondTarget); in runOnMachineFunction()
198 LayoutSucc->replaceSuccessor(UncondTarget, JumpAroundTarget); in runOnMachineFunction()
203 JumpAroundTarget->moveAfter(LayoutSucc); in runOnMachineFunction()
207 UncondTarget->moveAfter(JumpAroundTarget); in runOnMachineFunction()
219 JumpAroundTarget->livein_begin(), in runOnMachineFunction()
220 JumpAroundTarget->livein_end()); in runOnMachineFunction()