Home
last modified time | relevance | path

Searched refs:BECount (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp146 bool runOnLoopBlock(BasicBlock *BB, const SCEV *BECount,
149 bool processLoopStore(StoreInst *SI, const SCEV *BECount);
150 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
156 const SCEV *BECount);
160 const SCEV *BECount);
653 const SCEV *BECount = SE->getBackedgeTakenCount(CurLoop); in runOnCountableLoop() local
654 if (isa<SCEVCouldNotCompute>(BECount)) return false; in runOnCountableLoop()
658 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount)) in runOnCountableLoop()
690 MadeChange |= runOnLoopBlock(*BI, BECount, ExitBlocks); in runOnCountableLoop()
728 bool LoopIdiomRecognize::runOnLoopBlock(BasicBlock *BB, const SCEV *BECount, in runOnLoopBlock() argument
[all …]
DIndVarSimplify.cpp1443 FindLoopCounter(Loop *L, const SCEV *BECount, in FindLoopCounter() argument
1445 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType()); in FindLoopCounter()
1462 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp249 const SCEV *BECount = SE->getBackedgeTakenCount(L); in UnrollRuntimeLoopProlog() local
250 if (isa<SCEVCouldNotCompute>(BECount) || !BECount->getType()->isIntegerTy()) in UnrollRuntimeLoopProlog()
255 SE->getAddExpr(BECount, SE->getConstant(BECount->getType(), 1)); in UnrollRuntimeLoopProlog()
/external/llvm/test/Transforms/IndVarSimplify/
D2011-11-01-lftrptr.ll7 ; that BECount may or may not be a pointer type. A pointer type
8 ; BECount doesn't really make sense, but that's what falls out of
122 ; IV and BECount have two different pointer types here.
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4351 const SCEV *BECount = nullptr; in getExact() local
4357 if (!BECount) in getExact()
4358 BECount = ENT->ExactNotTaken; in getExact()
4359 else if (BECount != ENT->ExactNotTaken) in getExact()
4362 assert(BECount && "Invalid not taken count for loop exit"); in getExact()
4363 return BECount; in getExact()
4609 const SCEV *BECount = getCouldNotCompute(); in ComputeExitLimitFromCond() local
4617 BECount = getCouldNotCompute(); in ComputeExitLimitFromCond()
4619 BECount = getUMinFromMismatchedTypes(EL0.Exact, EL1.Exact); in ComputeExitLimitFromCond()
4634 BECount = EL0.Exact; in ComputeExitLimitFromCond()
[all …]