Lines Matching refs:TheLoop

835       : TheLoop(L), PSE(PSE), LI(LI), Legal(Legal), TTI(TTI), TLI(TLI), DB(DB),  in LoopVectorizationCostModel()
1218 RemarkName, TheLoop); in createMissedAnalysis()
1300 Loop *TheLoop; member in llvm::LoopVectorizationCostModel
4206 !TheLoop->isLoopInvariant(V); in collectLoopScalars()
4251 for (auto *BB : TheLoop->blocks()) in collectLoopScalars()
4271 auto *Latch = TheLoop->getLoopLatch(); in collectLoopScalars()
4304 return !TheLoop->contains(J) || Worklist.count(J) || in collectLoopScalars()
4331 return I == IndUpdate || !TheLoop->contains(I) || Worklist.count(I); in collectLoopScalars()
4341 return I == Ind || !TheLoop->contains(I) || Worklist.count(I); in collectLoopScalars()
4468 return (!I || !TheLoop->contains(I)); in collectLoopUniforms()
4472 BasicBlock *Latch = TheLoop->getLoopLatch(); in collectLoopUniforms()
4478 if (Cmp && TheLoop->contains(Cmp) && Cmp->hasOneUse()) { in collectLoopUniforms()
4509 for (auto *BB : TheLoop->blocks()) in collectLoopUniforms()
4596 return I == IndUpdate || !TheLoop->contains(I) || Worklist.count(I) || in collectLoopUniforms()
4607 return I == Ind || !TheLoop->contains(I) || Worklist.count(I) || in collectLoopUniforms()
4638 unsigned TC = PSE.getSE()->getSmallConstantTripCount(TheLoop); in computeMaxVF()
4730 MinBWs = computeMinimumValueSizes(TheLoop->getBlocks(), *DB, &TTI); in computeFeasibleMaxVF()
4858 for (BasicBlock *BB : TheLoop->blocks()) { in getSmallestAndWidestTypes()
4933 unsigned TC = PSE.getSE()->getSmallConstantTripCount(TheLoop); in selectInterleaveCount()
5030 if (!Legal->getReductionVars()->empty() && TheLoop->getLoopDepth() > 1) { in selectInterleaveCount()
5079 LoopBlocksDFS DFS(TheLoop); in calculateRegisterUsage()
5112 if (!TheLoop->contains(Instr)) { in calculateRegisterUsage()
5250 for (BasicBlock *BB : TheLoop->blocks()) { in collectInstsToScalarize()
5323 return TheLoop->contains(I) && !isScalarAfterVectorization(I, VF); in computePredInstDiscount()
5387 for (BasicBlock *BB : TheLoop->blocks()) { in expectedCost()
5435 const Loop *TheLoop) { in getAddressAccessSCEV() argument
5447 if (!SE->isLoopInvariant(SE->getSCEV(Opd), TheLoop) && in getAddressAccessSCEV()
5474 const SCEV *PtrSCEV = getAddressAccessSCEV(Ptr, Legal, PSE, TheLoop); in getMemInstScalarizationCost()
5643 for (BasicBlock *BB : TheLoop->blocks()) { in setCostBasedWideningDecision()
5743 for (BasicBlock *BB : TheLoop->blocks()) in setCostBasedWideningDecision()
5747 if (PtrDef && TheLoop->contains(PtrDef) && in setCostBasedWideningDecision()
5827 } else if (I->getParent() == TheLoop->getLoopLatch() || VF == 1) in getInstructionCost()
5849 if (VF > 1 && Phi->getParent() != TheLoop->getHeader()) in getInstructionCost()
5922 bool ScalarCond = (SE->isLoopInvariant(CondSCEV, TheLoop)); in getInstructionCost()
6051 CodeMetrics::collectEphemeralValues(TheLoop, AC, ValuesToIgnore); in collectValuesToIgnore()