Lines Matching refs:TheLoop
67 const Loop *TheLoop, in emitAnalysis() argument
69 DebugLoc DL = TheLoop->getStartLoc(); in emitAnalysis()
226 Loop *TheLoop, const ValueToValueMap &Strides,
292 ScalarEvolution *SE, Loop *TheLoop, const ValueToValueMap &StridesMap, in canCheckPtrAtRT() argument
327 isStridedPtr(SE, Ptr, TheLoop, StridesMap) == 1)) { in canCheckPtrAtRT()
341 RtCheck.insert(SE, TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap); in canCheckPtrAtRT()
894 if (!TheLoop->empty()) { in canAnalyzeLoop()
900 if (TheLoop->getNumBackEdges() != 1) { in canAnalyzeLoop()
908 if (!TheLoop->getExitingBlock()) { in canAnalyzeLoop()
918 if (TheLoop->getExitingBlock() != TheLoop->getLoopLatch()) { in canAnalyzeLoop()
927 TheLoop->getHeader()->getName() << '\n'); in canAnalyzeLoop()
930 const SCEV *ExitCount = SE->getBackedgeTakenCount(TheLoop); in canAnalyzeLoop()
957 const bool IsAnnotatedParallel = TheLoop->isAnnotatedParallel(); in analyzeLoop()
960 for (Loop::block_iterator bb = TheLoop->block_begin(), in analyzeLoop()
961 be = TheLoop->block_end(); bb != be; ++bb) { in analyzeLoop()
1033 AccessAnalysis Accesses(TheLoop->getHeader()->getModule()->getDataLayout(), in analyzeLoop()
1058 if (blockNeedsPredication(ST->getParent(), TheLoop, DT)) in analyzeLoop()
1085 if (Seen.insert(Ptr).second || !isStridedPtr(SE, Ptr, TheLoop, Strides)) { in analyzeLoop()
1094 if (blockNeedsPredication(LD->getParent(), TheLoop, DT)) in analyzeLoop()
1117 CanDoRT = Accesses.canCheckPtrAtRT(PtrRtCheck, NumComparisons, SE, TheLoop, in analyzeLoop()
1160 TheLoop, Strides, true); in analyzeLoop()
1186 bool LoopAccessInfo::blockNeedsPredication(BasicBlock *BB, Loop *TheLoop, in blockNeedsPredication() argument
1188 assert(TheLoop->contains(BB) && "Unknown block used"); in blockNeedsPredication()
1191 BasicBlock* Latch = TheLoop->getLoopLatch(); in blockNeedsPredication()
1201 return (SE->isLoopInvariant(SE->getSCEV(V), TheLoop)); in isUniform()
1232 if (SE->isLoopInvariant(Sc, TheLoop)) { in addRuntimeCheck()
1307 : DepChecker(SE, L), NumComparisons(0), TheLoop(L), SE(SE), DL(DL), in LoopAccessInfo()