Home
last modified time | relevance | path

Searched refs:Exits (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DUnifyLoopExits.cpp150 SetVector<BasicBlock *> Exits; in unifyLoopExits() local
163 Exits.insert(S); in unifyLoopExits()
169 for (auto Exit : Exits) { in unifyLoopExits()
180 if (Exits.size() <= 1) { in unifyLoopExits()
188 CreateControlFlowHub(&DTU, GuardBlocks, ExitingBlocks, Exits, "loop.exit", in unifyLoopExits()
H A DLoopPeel.cpp90 SmallVector<BasicBlock *, 4> Exits; in canPeel() local
91 L->getUniqueNonLatchExitBlocks(Exits); in canPeel()
100 return llvm::all_of(Exits, IsBlockFollowedByDeoptOrUnreachable); in canPeel()
286 SmallVector<BasicBlock *, 4> Exits; in peelToTurnInvariantLoadsDerefencebale() local
287 L.getUniqueNonLatchExitBlocks(Exits); in peelToTurnInvariantLoadsDerefencebale()
288 if (any_of(Exits, [](const BasicBlock *BB) { in peelToTurnInvariantLoadsDerefencebale()
H A DLoopRotationUtils.cpp254 SmallVector<BasicBlock *, 4> Exits; in canRotateDeoptimizingLatchExit() local
255 L->getUniqueExitBlocks(Exits); in canRotateDeoptimizingLatchExit()
256 if (!Exits.empty()) { in canRotateDeoptimizingLatchExit()
269 return any_of(Exits, [](const BasicBlock *BB) { in canRotateDeoptimizingLatchExit()
H A DCodeExtractor.cpp748 const SmallPtrSetImpl<BasicBlock *> &Exits) { in severSplitPHINodesOfExits() argument
749 for (BasicBlock *ExitBB : Exits) { in severSplitPHINodesOfExits()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp260 int SccNum, SmallVectorImpl<BasicBlock *> &Exits) const { in getSccExitBlocks()
266 Exits.push_back(const_cast<BasicBlock *>(Succ)); in getSccExitBlocks()
366 const LoopBlock &LB, SmallVectorImpl<BasicBlock *> &Exits) const { in getLoopExitBlocks()
368 LB.getLoop()->getExitBlocks(Exits); in getLoopExitBlocks()
371 SccI->getSccExitBlocks(LB.getSccNum(), Exits); in getLoopExitBlocks()
835 SmallVector<BasicBlock *, 4> Exits; in computeEestimateBlockWeight() local
836 getLoopExitBlocks(LoopBB, Exits); in computeEestimateBlockWeight()
838 LoopBB, make_range(Exits.begin(), Exits.end())); in computeEestimateBlockWeight()
H A DBlockFrequencyInfoImpl.cpp377 for (const auto &I : Loop.Exits) in addLoopSuccessorsToDist()
428 Loop->Exits.clear(); in packageLoop()
477 OuterLoop->Exits.push_back(std::make_pair(W.TargetNode, Taken)); in distributeMass()
817 OuterLoop.Exits.clear(); in updateLoopWithIrreducible()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericUniformityImpl.h714 SmallVector<BlockT *> Exits; in computeJoinPoints() local
715 Cycle->getExitBlocks(Exits); in computeJoinPoints()
718 for (const auto *Exit : Exits) { in computeJoinPoints()
836 SmallVector<BlockT *> Exits; in analyzeCycleExitDivergence() local
837 DefCycle.getExitBlocks(Exits); in analyzeCycleExitDivergence()
838 for (auto *Exit : Exits) { in analyzeCycleExitDivergence()
847 if (!llvm::any_of(Exits, in analyzeCycleExitDivergence()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h266 SmallVectorImpl<BasicBlock *> &Exits) const;
370 SmallVectorImpl<BasicBlock *> &Exits) const;
H A DBlockFrequencyInfoImpl.h232 ExitMap Exits; ///< Successor edges (and weights). member
687 for (const auto &I : Working.Loop->Exits)
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h252 void severSplitPHINodesOfExits(const SmallPtrSetImpl<BasicBlock *> &Exits);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp1036 SmallPtrSet<BasicBlock *, 1> &Exits, in outputHasNonPHI() argument
1049 return any_of(V->users(), [&Exits, &BlocksInRegion](User *U) { in outputHasNonPHI()
1071 if (!Exits.contains(Parent)) in outputHasNonPHI()
1285 SmallPtrSet<BasicBlock *, 1> Exits; in findExtractedOutputToOverallOutputMapping() local
1289 Exits.insert(Succ); in findExtractedOutputToOverallOutputMapping()
1296 for (BasicBlock *ExitBB : Exits) in findExtractedOutputToOverallOutputMapping()
1297 analyzeExitPHIsForOutputUses(ExitBB, Exits, BlocksInRegion, Outputs, in findExtractedOutputToOverallOutputMapping()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h373 const SmallVectorImpl<MachineBasicBlock *> &Exits) const override;
H A DSIISelLowering.cpp2694 const SmallVectorImpl<MachineBasicBlock *> &Exits) const { in insertCopiesSplitCSR()
2720 for (auto *Exit : Exits) in insertCopiesSplitCSR()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h904 const SmallVectorImpl<MachineBasicBlock *> &Exits) const override;
H A DARMISelLowering.cpp22044 const SmallVectorImpl<MachineBasicBlock *> &Exits) const { in insertCopiesSplitCSR()
22076 for (auto *Exit : Exits) in insertCopiesSplitCSR()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp415 SmallVector<BasicBlock *, 4> Exits; in hoistLoopToNewParent() local
416 L.getExitBlocks(Exits); in hoistLoopToNewParent()
418 for (auto *ExitBB : Exits) in hoistLoopToNewParent()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1715 const SmallVectorImpl<MachineBasicBlock *> &Exits) const override;
H A DX86ISelLowering.cpp57598 const SmallVectorImpl<MachineBasicBlock *> &Exits) const { in insertCopiesSplitCSR()
57628 for (auto *Exit : Exits) in insertCopiesSplitCSR()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h903 const SmallVectorImpl<MachineBasicBlock *> &Exits) const override;
H A DAArch64ISelLowering.cpp25423 const SmallVectorImpl<MachineBasicBlock *> &Exits) const { in insertCopiesSplitCSR()
25455 for (auto *Exit : Exits) in insertCopiesSplitCSR()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h4263 const SmallVectorImpl<MachineBasicBlock *> &Exits) const { in insertCopiesSplitCSR() argument
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.ok1448 G. V. Bochmann Multiple Exits from a Loop Without the
H A Dfunstack.in10753 title = "Multiple Exits from a Loop Without the {GOTO}",