Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp560 BasicBlock *LoopLatch = L->getLoopLatch(); in simplifyOneLoop() local
561 if (!LoopLatch) { in simplifyOneLoop()
584 LoopLatch = insertUniqueBackedgeBlock(L, Preheader, DT, LI, MSSAU); in simplifyOneLoop()
585 if (LoopLatch) in simplifyOneLoop()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp901 BasicBlock *LoopLatch = TheLoop->getLoopLatch(); in canVectorizeInstrs() local
902 if (any_of(FixedOrderRecurrences, [LoopLatch, this](const PHINode *Phi) { in canVectorizeInstrs()
904 cast<Instruction>(Phi->getIncomingValueForBlock(LoopLatch)); in canVectorizeInstrs()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp879 BasicBlock *LoopLatch = L->getLoopLatch(); in parseLoopLatchICmp() local
880 if (!LoopLatch) { in parseLoopLatchICmp()
885 auto *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); in parseLoopLatchICmp()
H A DLoopStrengthReduce.cpp6628 BasicBlock *LoopLatch = L->getLoopLatch(); in canFoldTermCondOfLoop() local
6632 BranchInst *BI = cast<BranchInst>(LoopLatch->getTerminator()); in canFoldTermCondOfLoop()
6829 BasicBlock *LoopLatch = L->getLoopLatch(); in ReduceLoopStrength() local
6839 Value *LoopValue = ToHelpFold->getIncomingValueForBlock(LoopLatch); in ReduceLoopStrength()
6859 BranchInst *BI = cast<BranchInst>(LoopLatch->getTerminator()); in ReduceLoopStrength()
6861 IRBuilder<> LatchBuilder(LoopLatch->getTerminator()); in ReduceLoopStrength()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp8137 const BasicBlock *LoopLatch = L->getLoopLatch(); in getConstantMaxTripCountFromArray() local
8138 assert(LoopLatch && "See defination of simplify form loop."); in getConstantMaxTripCountFromArray()
8139 if (L->getExitingBlock() != LoopLatch) in getConstantMaxTripCountFromArray()
8165 if (!DT.dominates(BB, LoopLatch)) in getConstantMaxTripCountFromArray()