Home
last modified time | relevance | path

Searched refs:BECount (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp117 bool runOnLoopBlock(BasicBlock *BB, const SCEV *BECount,
122 bool processLoopStore(StoreInst *SI, const SCEV *BECount);
123 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
128 const SCEV *BECount, bool NegStride);
131 const SCEV *BECount, bool NegStride);
217 const SCEV *BECount = SE->getBackedgeTakenCount(CurLoop); in runOnCountableLoop() local
218 assert(!isa<SCEVCouldNotCompute>(BECount) && in runOnCountableLoop()
224 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount)) in runOnCountableLoop()
242 MadeChange |= runOnLoopBlock(BB, BECount, ExitBlocks); in runOnCountableLoop()
348 BasicBlock *BB, const SCEV *BECount, in runOnLoopBlock() argument
[all …]
DIndVarSimplify.cpp1720 static PHINode *FindLoopCounter(Loop *L, const SCEV *BECount, in FindLoopCounter() argument
1722 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType()); in FindLoopCounter()
1739 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp62 static void ConnectProlog(Loop *L, Value *BECount, unsigned Count, in ConnectProlog() argument
125 B.CreateICmpULT(BECount, ConstantInt::get(BECount->getType(), Count - 1)); in ConnectProlog()
346 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopProlog() local
411 ConnectProlog(L, BECount, Count, LastLoopBB, PEnd, PH, NewPH, VMap, DT, LI, in UnrollRuntimeLoopProlog()
/external/llvm/test/Transforms/IndVarSimplify/
D2011-11-01-lftrptr.ll7 ; that BECount may or may not be a pointer type. A pointer type
8 ; BECount doesn't really make sense, but that's what falls out of
126 ; IV and BECount have two different pointer types here.
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1279 const SCEV *BECount = SE->getBackedgeTakenCount(L); in getPreStartForExtend() local
1281 !isa<SCEVCouldNotCompute>(BECount) && SE->isKnownPositive(BECount)) in getPreStartForExtend()
5097 const SCEV *BECount = nullptr; in getExact() local
5103 if (!BECount) in getExact()
5104 BECount = ENT->ExactNotTaken; in getExact()
5105 else if (BECount != ENT->ExactNotTaken) in getExact()
5108 assert(BECount && "Invalid not taken count for loop exit"); in getExact()
5109 return BECount; in getExact()
5345 const SCEV *BECount = getCouldNotCompute(); in computeExitLimitFromCond() local
5352 BECount = getCouldNotCompute(); in computeExitLimitFromCond()
[all …]