Searched refs:ExitCount (Results 1 – 10 of 10) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 190 ExitCount(Info.ExitCount), in HardwareLoop() 205 const SCEV *ExitCount = nullptr; member in __anon430a08060111::HardwareLoop 298 (HWLoopInfo.ExitBlock && HWLoopInfo.ExitBranch && HWLoopInfo.ExitCount) && in TryConvertLoop() 383 if (!ExitCount->getType()->isPointerTy() && in InitLoopCount() 384 ExitCount->getType() != CountType) in InitLoopCount() 385 ExitCount = SE.getZeroExtendExpr(ExitCount, CountType); in InitLoopCount() 387 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount() 393 if (SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_NE, ExitCount, in InitLoopCount() 394 SE.getZero(ExitCount->getType()))) { in InitLoopCount() 405 if (!isSafeToExpandAt(ExitCount, BB->getTerminator(), SE)) { in InitLoopCount() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 164 const SCEV *ExitCount, 652 const SCEV *ExitCount = SE->getExitCount(L, PN->getIncomingBlock(i)); in rewriteLoopExitValues() local 653 if (isa<SCEVCouldNotCompute>(ExitCount)) in rewriteLoopExitValues() 657 ExitValue = AddRec->evaluateAtIteration(ExitCount, *SE); in rewriteLoopExitValues() 2333 const SCEV *ExitCount, bool UsePostInc, Loop *L, in genLoopLimit() argument 2344 !ExitCount->getType()->isPointerTy()) { in genLoopLimit() 2352 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(ExitCount, OfsTy); in genLoopLimit() 2392 > SE->getTypeSizeInBits(ExitCount->getType())) { in genLoopLimit() 2393 if (isa<SCEVConstant>(IVInit) && isa<SCEVConstant>(ExitCount)) in genLoopLimit() 2394 ExitCount = SE->getZeroExtendExpr(ExitCount, IVInit->getType()); in genLoopLimit() [all …]
|
D | LoopPredication.cpp | 1010 const SCEV *ExitCount = SE.getExitCount(L, ExitingBB); in getMinAnalyzeableBackedgeTakenCount() local 1011 if (isa<SCEVCouldNotCompute>(ExitCount)) in getMinAnalyzeableBackedgeTakenCount() 1016 ExitCounts.push_back(ExitCount); in getMinAnalyzeableBackedgeTakenCount() 1145 const SCEV *ExitCount = SE->getExitCount(L, ExitingBB); in predicateLoopExits() local 1146 if (isa<SCEVCouldNotCompute>(ExitCount) || in predicateLoopExits() 1147 ExitCount->getType()->isPointerTy() || in predicateLoopExits() 1148 !isSafeToExpandAt(ExitCount, WidenableBR, *SE)) in predicateLoopExits() 1161 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
|
D | LoopVersioningLICM.cpp | 256 const SCEV *ExitCount = SE->getBackedgeTakenCount(CurLoop); in legalLoopStructure() local 257 if (ExitCount == SE->getCouldNotCompute()) { in legalLoopStructure()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2244 const SCEV *ExitCount = in generateOverflowCheck() local 2247 assert(ExitCount != SE.getCouldNotCompute() && "Invalid loop count"); in generateOverflowCheck() 2253 unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType()); in generateOverflowCheck() 2263 Value *TripCountVal = expandCodeFor(ExitCount, CountTy, Loc); in generateOverflowCheck()
|
D | LoopAccessAnalysis.cpp | 1779 const SCEV *ExitCount = PSE->getBackedgeTakenCount(); in canAnalyzeLoop() local 1780 if (ExitCount == PSE->getSE()->getCouldNotCompute()) { in canAnalyzeLoop()
|
D | ScalarEvolution.cpp | 6553 static unsigned getConstantTripCount(const SCEVConstant *ExitCount) { in getConstantTripCount() argument 6554 if (!ExitCount) in getConstantTripCount() 6557 ConstantInt *ExitConst = ExitCount->getValue(); in getConstantTripCount() 6580 const SCEVConstant *ExitCount = in getSmallConstantTripCount() local 6582 return getConstantTripCount(ExitCount); in getSmallConstantTripCount() 6617 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple() local 6618 if (ExitCount == getCouldNotCompute()) in getSmallConstantTripMultiple() 6622 const SCEV *TCExpr = getAddExpr(ExitCount, getOne(ExitCount->getType())); in getSmallConstantTripMultiple()
|
D | TargetTransformInfo.cpp | 127 ExitCount = EC; in isHardwareLoopCandidate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 92 const SCEV *ExitCount = nullptr; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2587 const SCEV *ExitCount = SE->getAddExpr( in getOrCreateTripCount() local 2597 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()
|