Searched refs:BECount (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp146 bool runOnLoopBlock(BasicBlock *BB, const SCEV *BECount,
149 bool processLoopStore(StoreInst *SI, const SCEV *BECount);
150 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
156 const SCEV *BECount);
160 const SCEV *BECount);
653 const SCEV *BECount = SE->getBackedgeTakenCount(CurLoop); local
654 if (isa<SCEVCouldNotCompute>(BECount)) return false;
658 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount))
690 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks);
728 bool LoopIdiomRecognize::runOnLoopBlock(BasicBlock *BB, const SCEV *BECount, argument
772 processLoopStore(StoreInst *SI, const SCEV *BECount) argument
831 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) argument
871 mayLoopAccessLocation(Value *Ptr,AliasAnalysis::ModRefResult Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, Instruction *IgnoredStore) argument
943 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
1064 processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv, const SCEVAddRecExpr *LoadEv, const SCEV *BECount) argument
[all...]
H A DIndVarSimplify.cpp1431 /// BECount may be an i8* pointer type. The pointer difference is already
1437 /// FIXME: Accept -1 stride and set IVLimit = IVInit - BECount
1439 /// FIXME: Accept non-unit stride as long as SCEV can reduce BECount * Stride.
1443 FindLoopCounter(Loop *L, const SCEV *BECount, argument
1445 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
1462 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
1469 // AR may be a pointer type, while BECount is an integer type.
1470 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1532 // finds a valid pointer IV. Sign extend BECount in order to materialize a
1568 // BECount
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp249 const SCEV *BECount = SE->getBackedgeTakenCount(L); local
250 if (isa<SCEVCouldNotCompute>(BECount) || !BECount->getType()->isIntegerTy())
255 SE->getAddExpr(BECount, SE->getConstant(BECount->getType(), 1));
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp4351 const SCEV *BECount = nullptr;
4357 if (!BECount)
4358 BECount = ENT->ExactNotTaken;
4359 else if (BECount != ENT->ExactNotTaken)
4362 assert(BECount && "Invalid not taken count for loop exit");
4363 return BECount;
4609 const SCEV *BECount = getCouldNotCompute();
4617 BECount = getCouldNotCompute();
4619 BECount = getUMinFromMismatchedTypes(EL0.Exact, EL1.Exact);
4634 BECount
[all...]

Completed in 816 milliseconds