reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
166 JumpAroundTarget = SecondSucc; 169 JumpAroundTarget = FirstSucc; 182 if (!LayoutSucc || (CondBranchTarget != JumpAroundTarget)) { 190 assert(JumpAroundTarget && "jump target is needed to process second basic block"); 194 bool case1 = LayoutSucc->isLayoutSuccessor(JumpAroundTarget); 195 bool case2 = JumpAroundTarget->isSuccessor(UncondTarget) && 196 !JumpAroundTarget->empty() && 197 IsUnconditionalJump(JumpAroundTarget->back().getOpcode()) && 198 JumpAroundTarget->pred_size() == 1 && 199 JumpAroundTarget->succ_size() == 1; 203 MBB->replaceSuccessor(JumpAroundTarget, UncondTarget); 207 LayoutSucc->replaceSuccessor(UncondTarget, JumpAroundTarget); 212 JumpAroundTarget->moveAfter(LayoutSucc); 216 UncondTarget->moveAfter(JumpAroundTarget); 225 JumpAroundTarget->livein_begin(), 226 JumpAroundTarget->livein_end());