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

/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp147 bool runOnLoopBlock(BasicBlock *BB, const SCEV *BECount,
150 bool processLoopStore(StoreInst *SI, const SCEV *BECount);
151 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
157 const SCEV *BECount);
161 const SCEV *BECount);
657 const SCEV *BECount = SE->getBackedgeTakenCount(CurLoop); local
658 if (isa<SCEVCouldNotCompute>(BECount)) return false;
662 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount))
694 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks);
729 bool LoopIdiomRecognize::runOnLoopBlock(BasicBlock *BB, const SCEV *BECount, argument
773 processLoopStore(StoreInst *SI, const SCEV *BECount) argument
832 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) argument
872 mayLoopAccessLocation(Value *Ptr,AliasAnalysis::ModRefResult Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, Instruction *IgnoredStore) argument
944 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
1053 processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv, const SCEVAddRecExpr *LoadEv, const SCEV *BECount) argument
[all...]
H A DIndVarSimplify.cpp1336 /// BECount may be an i8* pointer type. The pointer difference is already
1342 /// FIXME: Accept -1 stride and set IVLimit = IVInit - BECount
1344 /// FIXME: Accept non-unit stride as long as SCEV can reduce BECount * Stride.
1348 FindLoopCounter(Loop *L, const SCEV *BECount, argument
1350 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
1367 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
1374 // AR may be a pointer type, while BECount is an integer type.
1375 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1437 // finds a valid pointer IV. Sign extend BECount in order to materialize a
1467 // BECount
[all...]
/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/Analysis/
H A DScalarEvolution.cpp4199 const SCEV *BECount = 0;
4205 if (!BECount)
4206 BECount = ENT->ExactNotTaken;
4207 else if (BECount != ENT->ExactNotTaken)
4210 assert(BECount && "Invalid not taken count for loop exit");
4211 return BECount;
4383 const SCEV *BECount = getCouldNotCompute();
4390 BECount = getCouldNotCompute();
4392 BECount = getUMinFromMismatchedTypes(EL0.Exact, EL1.Exact);
4406 BECount
[all...]

Completed in 234 milliseconds