Lines Matching refs:TheLoop
74 const Loop *TheLoop, in emitAnalysis() argument
76 DebugLoc DL = TheLoop->getStartLoc(); in emitAnalysis()
454 Loop *TheLoop, const ValueToValueMap &Strides,
535 ScalarEvolution *SE, Loop *TheLoop, in canCheckPtrAtRT() argument
569 if (hasComputableBounds(PSE, StridesMap, Ptr, TheLoop) && in canCheckPtrAtRT()
573 isStridedPtr(PSE, Ptr, TheLoop, StridesMap) == 1)) { in canCheckPtrAtRT()
587 RtCheck.insert(TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap, PSE); in canCheckPtrAtRT()
1308 TheLoop->getHeader()->getName() << '\n'); in canAnalyzeLoop()
1311 if (!TheLoop->empty()) { in canAnalyzeLoop()
1318 if (TheLoop->getNumBackEdges() != 1) { in canAnalyzeLoop()
1327 if (!TheLoop->getExitingBlock()) { in canAnalyzeLoop()
1338 if (TheLoop->getExitingBlock() != TheLoop->getLoopLatch()) { in canAnalyzeLoop()
1347 const SCEV *ExitCount = PSE.getSE()->getBackedgeTakenCount(TheLoop); in canAnalyzeLoop()
1374 const bool IsAnnotatedParallel = TheLoop->isAnnotatedParallel(); in analyzeLoop()
1377 for (Loop::block_iterator bb = TheLoop->block_begin(), in analyzeLoop()
1378 be = TheLoop->block_end(); bb != be; ++bb) { in analyzeLoop()
1450 AccessAnalysis Accesses(TheLoop->getHeader()->getModule()->getDataLayout(), in analyzeLoop()
1475 if (blockNeedsPredication(ST->getParent(), TheLoop, DT)) in analyzeLoop()
1502 if (Seen.insert(Ptr).second || !isStridedPtr(PSE, Ptr, TheLoop, Strides)) { in analyzeLoop()
1511 if (blockNeedsPredication(LD->getParent(), TheLoop, DT)) in analyzeLoop()
1532 Accesses.canCheckPtrAtRT(PtrRtChecking, PSE.getSE(), TheLoop, Strides); in analyzeLoop()
1561 Accesses.canCheckPtrAtRT(PtrRtChecking, SE, TheLoop, Strides, true); in analyzeLoop()
1587 bool LoopAccessInfo::blockNeedsPredication(BasicBlock *BB, Loop *TheLoop, in blockNeedsPredication() argument
1589 assert(TheLoop->contains(BB) && "Unknown block used"); in blockNeedsPredication()
1592 BasicBlock* Latch = TheLoop->getLoopLatch(); in blockNeedsPredication()
1602 return (PSE.getSE()->isLoopInvariant(PSE.getSE()->getSCEV(V), TheLoop)); in isUniform()
1630 expandBounds(const RuntimePointerChecking::CheckingPtrGroup *CG, Loop *TheLoop, in expandBounds() argument
1636 if (SE->isLoopInvariant(Sc, TheLoop)) { in expandBounds()
1686 expandBounds(PointerChecks, TheLoop, Loc, SE, Exp, PtrRtChecking); in addRuntimeChecks()
1753 : PSE(*SE), PtrRtChecking(SE), DepChecker(PSE, L), TheLoop(L), DL(DL), in LoopAccessInfo()