/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SpeculativeExecution.cpp | 177 BasicBlock &Succ1 = *BI->getSuccessor(1); in runOnBasicBlock() local 179 if (&B == &Succ0 || &B == &Succ1 || &Succ0 == &Succ1) { in runOnBasicBlock() 185 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock() 190 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock() 191 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock() 192 return considerHoistingFromTo(Succ1, B); in runOnBasicBlock() 198 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock() 199 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock() 200 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock() 204 if (Succ1.size() == 1) // equivalent to if-then in runOnBasicBlock() [all …]
|
H A D | MergedLoadStoreMotion.cpp | 148 BasicBlock *Succ1 = BI->getSuccessor(1); in isDiamondHead() local 152 if (!Succ1->getSinglePredecessor()) in isDiamondHead() 156 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | PartialInlining.cpp | 586 if (IsReturnBlock(Succ1)) in computeOutliningInfo() 587 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo() 589 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo() 595 auto GetCommonSucc = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument 596 if (IsSuccessor(Succ1, Succ2)) in computeOutliningInfo() 597 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo() 598 if (IsSuccessor(Succ2, Succ1)) in computeOutliningInfo() 599 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo() 619 BasicBlock *Succ1 = *succ_begin(CurrEntry); in computeOutliningInfo() local 634 std::tie(CommSucc, OtherSucc) = GetCommonSucc(Succ1, Succ2); in computeOutliningInfo() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | BasicBlockUtils.cpp | 1609 BasicBlock *Succ1 = nullptr; in redirectToHub() local 1616 Succ1 = Branch->getSuccessor(1); in redirectToHub() 1617 Succ1 = Outgoing.count(Succ1) ? Succ1 : nullptr; in redirectToHub() 1618 assert(Succ0 || Succ1); in redirectToHub() 1619 if (Succ0 && !Succ1) { in redirectToHub() 1621 } else if (Succ1 && !Succ0) { in redirectToHub() 1629 assert(Succ0 || Succ1); in redirectToHub() 1666 BasicBlock *Succ1; in convertToGuardPredicates() local 1667 std::tie(Condition, Succ0, Succ1) = in convertToGuardPredicates() 1681 if (Out != Succ0 && Out != Succ1) { in convertToGuardPredicates() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | EarlyIfConversion.cpp | 441 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvertIf() local 445 std::swap(Succ0, Succ1); in canConvertIf() 453 if (Tail != Succ1) { in canConvertIf() 455 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf() 456 Succ1->succ_begin()[0] != Tail) in canConvertIf() 460 << printMBBReference(*Succ1) << " -> " in canConvertIf() 504 FBB = TBB == Succ0 ? Succ1 : Succ0; in canConvertIf()
|
H A D | MachineBlockPlacement.cpp | 1079 MachineBasicBlock *Succ1 = BestA.Dest; in getBestTrellisSuccessor() local 1084 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor() 1352 const MachineBasicBlock *Succ1 = *BB->succ_begin(); in getLayoutSuccessorProbThreshold() local 1354 if (Succ1->isSuccessor(Succ2) || Succ2->isSuccessor(Succ1)) { in getLayoutSuccessorProbThreshold()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | MustExecute.cpp | 551 const BasicBlock *Succ1 = Worklist[1]; in findForwardJoinPoint() local 553 const BasicBlock *Succ1UniqueSucc = Succ1->getUniqueSuccessor(); in findForwardJoinPoint() 557 JoinBB = Succ1; in findForwardJoinPoint() 566 } else if (Succ1 == Succ0UniqueSucc) { in findForwardJoinPoint() 569 JoinBB = Succ1; in findForwardJoinPoint()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionalCompares.cpp | 445 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvert() local 449 std::swap(Succ0, Succ1); in canConvert() 456 Tail = Succ1; in canConvert()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 157 BasicBlock *Succ1 = Br->getSuccessor(1); in getUnrollingPreferences() local 159 (L->contains(Succ1) && L->isLoopExiting(Succ1))) in getUnrollingPreferences()
|