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.cpp1375 /// BECount may be an i8* pointer type. The pointer difference is already
1381 /// FIXME: Accept -1 stride and set IVLimit = IVInit - BECount
1383 /// FIXME: Accept non-unit stride as long as SCEV can reduce BECount * Stride.
1387 FindLoopCounter(Loop *L, const SCEV *BECount, argument
1389 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
1406 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
1413 // AR may be a pointer type, while BECount is an integer type.
1414 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1476 // finds a valid pointer IV. Sign extend BECount in order to materialize a
1506 // 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.cpp4249 const SCEV *BECount = 0;
4255 if (!BECount)
4256 BECount = ENT->ExactNotTaken;
4257 else if (BECount != ENT->ExactNotTaken)
4260 assert(BECount && "Invalid not taken count for loop exit");
4261 return BECount;
4462 const SCEV *BECount = getCouldNotCompute();
4469 BECount = getCouldNotCompute();
4471 BECount = getUMinFromMismatchedTypes(EL0.Exact, EL1.Exact);
4485 BECount
[all...]

Completed in 692 milliseconds