Home
last modified time | relevance | path

Searched refs:LoopLatch (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp566 BasicBlock *LoopLatch = L->getLoopLatch(); in simplifyOneLoop() local
567 if (!LoopLatch) { in simplifyOneLoop()
590 LoopLatch = insertUniqueBackedgeBlock(L, Preheader, DT, LI, MSSAU); in simplifyOneLoop()
591 if (LoopLatch) in simplifyOneLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp862 BasicBlock *LoopLatch = TheLoop->getLoopLatch(); in canVectorizeInstrs() local
863 if (any_of(FirstOrderRecurrences, [LoopLatch, this](const PHINode *Phi) { in canVectorizeInstrs()
865 cast<Instruction>(Phi->getIncomingValueForBlock(LoopLatch)); in canVectorizeInstrs()
H A DLoopVectorize.cpp4806 BasicBlock *LoopLatch = LI->getLoopFor(LoopVectorBody)->getLoopLatch(); in widenPHIInstruction() local
4807 Instruction *InductionLoc = LoopLatch->getTerminator(); in widenPHIInstruction()
4819 NewPointerPhi->addIncoming(InductionGEP, LoopLatch); in widenPHIInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp849 BasicBlock *LoopLatch = L->getLoopLatch(); in parseLoopLatchICmp() local
850 if (!LoopLatch) { in parseLoopLatchICmp()
855 auto *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); in parseLoopLatchICmp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDILCFGStructurizer.cpp1554 MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch(); in normalizeInfiniteLoopExit() local
1556 if (!LoopHeader || !LoopLatch) in normalizeInfiniteLoopExit()
1558 MachineInstr *BranchMI = getLoopendBlockBranchInstr(LoopLatch); in normalizeInfiniteLoopExit()