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

/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);
185 const SCEV *BECount = SE->getBackedgeTakenCount(L); local
186 if (isa<SCEVCouldNotCompute>(BECount)) return false;
190 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount))
217 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks);
225 bool LoopIdiomRecognize::runOnLoopBlock(BasicBlock *BB, const SCEV *BECount, argument
269 processLoopStore(StoreInst *SI, const SCEV *BECount) argument
328 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) argument
368 mayLoopAccessLocation(Value *Ptr,AliasAnalysis::ModRefResult Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, Instruction *IgnoredStore) argument
440 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
549 processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv, const SCEVAddRecExpr *LoadEv, const SCEV *BECount) argument
[all...]
H A DIndVarSimplify.cpp1282 /// BECount may be an i8* pointer type. The pointer difference is already
1286 /// FIXME: Accept -1 stride and set IVLimit = IVInit - BECount
1288 /// FIXME: Accept non-unit stride as long as SCEV can reduce BECount * Stride.
1292 FindLoopCounter(Loop *L, const SCEV *BECount, argument
1294 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
1311 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
1318 // AR may be a pointer type, while BECount is an integer type.
1319 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1368 // finds a valid pointer IV. Sign extend BECount in order to materialize a
1398 // BECount
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp246 const SCEV *BECount = SE->getBackedgeTakenCount(L); local
247 if (isa<SCEVCouldNotCompute>(BECount) || !BECount->getType()->isIntegerTy())
252 SE->getAddExpr(BECount, SE->getConstant(BECount->getType(), 1));
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp4197 const SCEV *BECount = 0;
4203 if (!BECount)
4204 BECount = ENT->ExactNotTaken;
4205 else if (BECount != ENT->ExactNotTaken)
4208 assert(BECount && "Invalid not taken count for loop exit");
4209 return BECount;
4381 const SCEV *BECount = getCouldNotCompute();
4388 BECount = getCouldNotCompute();
4390 BECount = getUMinFromMismatchedTypes(EL0.Exact, EL1.Exact);
4404 BECount
[all...]

Completed in 71 milliseconds