Searched defs:BECount (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp248 const SCEV *BECount = SE->getBackedgeTakenCount(L); local
249 if (isa<SCEVCouldNotCompute>(BECount) || !BECount->getType()->isIntegerTy())
254 SE->getAddExpr(BECount, SE->getConstant(BECount->getType(), 1));
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp79 bool runOnLoopBlock(BasicBlock *BB, const SCEV *BECount,
82 bool processLoopStore(StoreInst *SI, const SCEV *BECount);
83 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
89 const SCEV *BECount);
93 const SCEV *BECount);
187 const SCEV *BECount = SE->getBackedgeTakenCount(L); local
188 if (isa<SCEVCouldNotCompute>(BECount)) return false;
192 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount))
219 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks);
227 bool LoopIdiomRecognize::runOnLoopBlock(BasicBlock *BB, const SCEV *BECount, argument
271 processLoopStore(StoreInst *SI, const SCEV *BECount) argument
330 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) argument
370 mayLoopAccessLocation(Value *Ptr,AliasAnalysis::ModRefResult Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, Instruction *IgnoredStore) argument
442 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
551 processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv, const SCEVAddRecExpr *LoadEv, const SCEV *BECount) argument
[all...]
H A DIndVarSimplify.cpp1331 /// BECount may be an i8* pointer type. The pointer difference is already
1337 /// FIXME: Accept -1 stride and set IVLimit = IVInit - BECount
1339 /// FIXME: Accept non-unit stride as long as SCEV can reduce BECount * Stride.
1343 FindLoopCounter(Loop *L, const SCEV *BECount, argument
1345 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
1362 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
1369 // AR may be a pointer type, while BECount is an integer type.
1370 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1432 // finds a valid pointer IV. Sign extend BECount in order to materialize a
1462 // BECount
[all...]

Completed in 70 milliseconds