Home
last modified time | relevance | path

Searched refs:ExitCount (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp565 const SCEV *ExitCount = nullptr; in convertToCTRLoop() local
627 ExitCount = EC; in convertToCTRLoop()
655 if (!ExitCount->getType()->isPointerTy() && in convertToCTRLoop()
656 ExitCount->getType() != CountType) in convertToCTRLoop()
657 ExitCount = SE->getZeroExtendExpr(ExitCount, CountType); in convertToCTRLoop()
658 ExitCount = SE->getAddExpr(ExitCount, SE->getOne(CountType)); in convertToCTRLoop()
660 SCEVE.expandCodeFor(ExitCount, CountType, Preheader->getTerminator()); in convertToCTRLoop()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp503 const SCEV *ExitCount = nullptr; in convertToCTRLoop() local
559 ExitCount = EC; in convertToCTRLoop()
587 if (!ExitCount->getType()->isPointerTy() && in convertToCTRLoop()
588 ExitCount->getType() != CountType) in convertToCTRLoop()
589 ExitCount = SE->getZeroExtendExpr(ExitCount, CountType); in convertToCTRLoop()
590 ExitCount = SE->getAddExpr(ExitCount, SE->getOne(CountType)); in convertToCTRLoop()
592 SCEVE.expandCodeFor(ExitCount, CountType, Preheader->getTerminator()); in convertToCTRLoop()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp463 Counter ExitCount = getRegion().getCounter(); in propagateCounts() local
471 return ExitCount; in propagateCounts()
812 Counter ExitCount = getRegionCounter(S); in VisitSwitchStmt() local
814 pushRegion(ExitCount, getStart(S), ExitLoc); in VisitSwitchStmt()
877 Counter ExitCount = getRegionCounter(S); in VisitCXXTryStmt() local
878 pushRegion(ExitCount); in VisitCXXTryStmt()
/external/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp254 const SCEV *ExitCount = SE->getBackedgeTakenCount(CurLoop); in legalLoopStructure() local
255 if (ExitCount == SE->getCouldNotCompute()) { in legalLoopStructure()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopVersioningLICM.cpp287 const SCEV *ExitCount = SE->getBackedgeTakenCount(CurLoop); in legalLoopStructure() local
288 if (ExitCount == SE->getCouldNotCompute()) { in legalLoopStructure()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2038 const SCEV *ExitCount = in generateOverflowCheck() local
2041 assert(ExitCount != SE.getCouldNotCompute() && "Invalid loop count"); in generateOverflowCheck()
2046 unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType()); in generateOverflowCheck()
2056 Value *TripCountVal = expandCodeFor(ExitCount, CountTy, Loc); in generateOverflowCheck()
DLoopAccessAnalysis.cpp1497 const SCEV *ExitCount = PSE->getBackedgeTakenCount(); in canAnalyzeLoop() local
1498 if (ExitCount == PSE->getSE()->getCouldNotCompute()) { in canAnalyzeLoop()
DScalarEvolution.cpp5259 const SCEVConstant *ExitCount = in getSmallConstantTripCount() local
5261 if (!ExitCount) in getSmallConstantTripCount()
5264 ConstantInt *ExitConst = ExitCount->getValue(); in getSmallConstantTripCount()
5300 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple() local
5301 if (ExitCount == getCouldNotCompute()) in getSmallConstantTripMultiple()
5305 const SCEV *TCMul = getAddExpr(ExitCount, getOne(ExitCount->getType())); in getSmallConstantTripMultiple()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2154 const SCEV *ExitCount = in generateOverflowCheck() local
2157 assert(ExitCount != SE.getCouldNotCompute() && "Invalid loop count"); in generateOverflowCheck()
2163 unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType()); in generateOverflowCheck()
2173 Value *TripCountVal = expandCodeFor(ExitCount, CountTy, Loc); in generateOverflowCheck()
DLoopAccessAnalysis.cpp1752 const SCEV *ExitCount = PSE->getBackedgeTakenCount(); in canAnalyzeLoop() local
1753 if (ExitCount == PSE->getSE()->getCouldNotCompute()) { in canAnalyzeLoop()
DScalarEvolution.cpp6494 static unsigned getConstantTripCount(const SCEVConstant *ExitCount) { in getConstantTripCount() argument
6495 if (!ExitCount) in getConstantTripCount()
6498 ConstantInt *ExitConst = ExitCount->getValue(); in getConstantTripCount()
6521 const SCEVConstant *ExitCount = in getSmallConstantTripCount() local
6523 return getConstantTripCount(ExitCount); in getSmallConstantTripCount()
6558 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple() local
6559 if (ExitCount == getCouldNotCompute()) in getSmallConstantTripMultiple()
6563 const SCEV *TCExpr = getAddExpr(ExitCount, getOne(ExitCount->getType())); in getSmallConstantTripMultiple()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp3923 const SCEVConstant *ExitCount = in getSmallConstantTripCount() local
3925 if (!ExitCount) in getSmallConstantTripCount()
3928 ConstantInt *ExitConst = ExitCount->getValue(); in getSmallConstantTripCount()
3949 const SCEV *ExitCount = getExitCount(L, ExitBlock); in getSmallConstantTripMultiple() local
3950 if (ExitCount == getCouldNotCompute()) in getSmallConstantTripMultiple()
3954 const SCEV *TCMul = getAddExpr(ExitCount, in getSmallConstantTripMultiple()
3955 getConstant(ExitCount->getType(), 1)); in getSmallConstantTripMultiple()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2779 const SCEV *ExitCount = SE->getAddExpr( in getOrCreateTripCount() local
2789 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()
4439 const SCEV *ExitCount = PSE.getBackedgeTakenCount(); in canVectorize() local
4440 if (ExitCount == PSE.getSE()->getCouldNotCompute()) { in canVectorize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2617 const SCEV *ExitCount = SE->getAddExpr( in getOrCreateTripCount() local
2627 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()