Searched refs:Succ0 (Results 1 – 8 of 8) sorted by relevance
170 BasicBlock &Succ0 = *BI->getSuccessor(0); in runOnBasicBlock() local173 if (&B == &Succ0 || &B == &Succ1 || &Succ0 == &Succ1) { in runOnBasicBlock()178 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()179 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()180 return considerHoistingFromTo(Succ0, B); in runOnBasicBlock()185 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()191 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()195 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()199 return considerHoistingFromTo(Succ0, B); in runOnBasicBlock()200 if (Succ0.size() == 1) // equivalent to if-else in runOnBasicBlock()
175 BasicBlock *Succ0 = BI->getSuccessor(0); in isDiamondHead() local178 if (!Succ0->getSinglePredecessor()) in isDiamondHead()183 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead()326 BasicBlock *Succ0 = BI->getSuccessor(0); in mergeLoads() local331 for (BasicBlock::iterator BBI = Succ0->begin(), BBE = Succ0->end(); in mergeLoads()338 if (!L0 || !L0->isSimple() || L0->isUsedOutsideOfBlock(Succ0)) in mergeLoads()
175 BasicBlock &Succ0 = *BI->getSuccessor(0); in runOnBasicBlock() local178 if (&B == &Succ0 || &B == &Succ1 || &Succ0 == &Succ1) { in runOnBasicBlock()183 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()184 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()185 return considerHoistingFromTo(Succ0, B); in runOnBasicBlock()190 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()196 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()200 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()204 return considerHoistingFromTo(Succ0, B); in runOnBasicBlock()205 if (Succ0.size() == 1) // equivalent to if-else in runOnBasicBlock()
141 BasicBlock *Succ0 = BI->getSuccessor(0); in isDiamondHead() local144 if (!Succ0->getSinglePredecessor()) in isDiamondHead()149 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead()
347 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvertIf() local351 if (Succ0->pred_size() != 1) in canConvertIf()352 std::swap(Succ0, Succ1); in canConvertIf()354 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf()357 Tail = Succ0->succ_begin()[0]; in canConvertIf()366 << printMBBReference(*Succ0) << "/" in canConvertIf()377 << printMBBReference(*Succ0) << " -> " in canConvertIf()403 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
346 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvertIf() local350 if (Succ0->pred_size() != 1) in canConvertIf()351 std::swap(Succ0, Succ1); in canConvertIf()353 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf()356 Tail = Succ0->succ_begin()[0]; in canConvertIf()365 << " -> BB#" << Succ0->getNumber() in canConvertIf()376 << " -> BB#" << Succ0->getNumber() in canConvertIf()402 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
439 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvert() local443 if (Succ0->pred_size() != 1) in canConvert()444 std::swap(Succ0, Succ1); in canConvert()447 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()450 CmpBB = Succ0; in canConvert()
445 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvert() local449 if (Succ0->pred_size() != 1) in canConvert()450 std::swap(Succ0, Succ1); in canConvert()453 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()456 CmpBB = Succ0; in canConvert()