Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp142 BasicBlock *LoopLatch = L->getLoopLatch(); in fixPhiNodes() local
144 getOrCreateVPOperand(Phi->getIncomingValueForBlock(LoopLatch)), in fixPhiNodes()
145 BB2VPBB[LoopLatch]); in fixPhiNodes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp559 BasicBlock *LoopLatch = L->getLoopLatch(); in simplifyOneLoop() local
560 if (!LoopLatch) { in simplifyOneLoop()
583 LoopLatch = insertUniqueBackedgeBlock(L, Preheader, DT, LI, MSSAU); in simplifyOneLoop()
584 if (LoopLatch) in simplifyOneLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp811 BasicBlock *LoopLatch = L->getLoopLatch(); in widenGuardConditions()
812 if (!LoopLatch) { in widenGuardConditions()
817 auto *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); in widenGuardConditions()
893 BasicBlock *LoopLatch = L->getLoopLatch(); parseLoopLatchICmp() local
H A DLoopStrengthReduce.cpp7083 BasicBlock *LoopLatch = L->getLoopLatch(); in canFoldTermCondOfLoop() local
7084 BranchInst *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); in canFoldTermCondOfLoop()
7119 if (!isAlmostDeadIV(ToFold, LoopLatch, TermCond)) in canFoldTermCondOfLoop()
7193 if (!mustExecuteUBIfPoisonOnPathTo(&PN, LoopLatch->getTerminator(), &DT)) { in canFoldTermCondOfLoop()
7205 cast<Instruction>(PN.getIncomingValueForBlock(LoopLatch)); in canFoldTermCondOfLoop()
7206 if (!mustExecuteUBIfPoisonOnPathTo(PostIncV, LoopLatch->getTerminator(), in canFoldTermCondOfLoop()
7325 BasicBlock *LoopLatch = L->getLoopLatch(); in ReduceLoopStrength() local
7335 Value *LoopValue = ToHelpFold->getIncomingValueForBlock(LoopLatch); in ReduceLoopStrength()
7358 BranchInst *BI = cast<BranchInst>(LoopLatch->getTerminator()); in ReduceLoopStrength()
7360 IRBuilder<> LatchBuilder(LoopLatch->getTerminator()); in ReduceLoopStrength()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp1542 MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch(); in normalizeInfiniteLoopExit() local
1544 if (!LoopHeader || !LoopLatch) in normalizeInfiniteLoopExit()
1546 MachineInstr *BranchMI = getLoopendBlockBranchInstr(LoopLatch); in normalizeInfiniteLoopExit()