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

/freebsd-10.2-release/contrib/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
1065 processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv, const SCEVAddRecExpr *LoadEv, const SCEV *BECount) argument
[all...]
H A DIndVarSimplify.cpp1376 /// BECount may be an i8* pointer type. The pointer difference is already
1382 /// FIXME: Accept -1 stride and set IVLimit = IVInit - BECount
1384 /// FIXME: Accept non-unit stride as long as SCEV can reduce BECount * Stride.
1388 FindLoopCounter(Loop *L, const SCEV *BECount, argument
1390 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
1407 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy())
1414 // AR may be a pointer type, while BECount is an integer type.
1415 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1477 // finds a valid pointer IV. Sign extend BECount in order to materialize a
1513 // BECount
[all...]
/freebsd-10.2-release/contrib/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));
/freebsd-10.2-release/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp4244 const SCEV *BECount = 0;
4250 if (!BECount)
4251 BECount = ENT->ExactNotTaken;
4252 else if (BECount != ENT->ExactNotTaken)
4255 assert(BECount && "Invalid not taken count for loop exit");
4256 return BECount;
4457 const SCEV *BECount = getCouldNotCompute();
4464 BECount = getCouldNotCompute();
4466 BECount = getUMinFromMismatchedTypes(EL0.Exact, EL1.Exact);
4480 BECount
[all...]

Completed in 170 milliseconds