| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | LoopIdiomRecognize.cpp | 202 bool runOnLoopBlock(BasicBlock *BB, const SCEV *BECount, 208 bool processLoopStores(SmallVectorImpl<StoreInst *> &SL, const SCEV *BECount, 215 const SCEV *BECount); 216 bool processLoopMemCpy(MemCpyInst *MCI, const SCEV *BECount); 217 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount); 223 const SCEVAddRecExpr *Ev, const SCEV *BECount, 225 bool processLoopStoreOfLoopLoad(StoreInst *SI, const SCEV *BECount); 232 const SCEV *BECount); 388 const SCEV *BECount = SE->getBackedgeTakenCount(CurLoop); in runOnCountableLoop() local 389 assert(!isa<SCEVCouldNotCompute>(BECount) && in runOnCountableLoop() [all …]
|
| D | IndVarSimplify.cpp | 895 const SCEV *BECount, in FindLoopCounter() argument 897 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType()); in FindLoopCounter() 914 if (BECount->getType()->isPointerTy() && !Phi->getType()->isPointerTy()) in FindLoopCounter()
|
| D | LoopStrengthReduce.cpp | 6697 const SCEV *BECount = SE.getBackedgeTakenCount(L); in canFoldTermCondOfLoop() local 6704 SE.getAddExpr(BECount, SE.getOne(BECount->getType())), in canFoldTermCondOfLoop()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | LoopUnrollRuntime.cpp | 72 static void ConnectProlog(Loop *L, Value *BECount, unsigned Count, in ConnectProlog() argument 166 B.CreateICmpULT(BECount, ConstantInt::get(BECount->getType(), Count - 1)); in ConnectProlog() 498 static Value *CreateTripRemainder(IRBuilder<> &B, Value *BECount, in CreateTripRemainder() argument 515 Constant *CountC = ConstantInt::get(BECount->getType(), Count); in CreateTripRemainder() 516 Value *ModValTmp = B.CreateURem(BECount, CountC); in CreateTripRemainder() 749 Value *BECount; in UnrollRuntimeLoopRemainder() local 759 BECount = in UnrollRuntimeLoopRemainder() 764 BECount = in UnrollRuntimeLoopRemainder() 768 Value * const ModVal = CreateTripRemainder(B, BECount, TripCount, Count); in UnrollRuntimeLoopRemainder() 771 UseEpilogRemainder ? B.CreateICmpULT(BECount, in UnrollRuntimeLoopRemainder() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| D | HexagonLoopIdiomRecognition.cpp | 135 bool processCopyingStore(Loop *CurLoop, StoreInst *SI, const SCEV *BECount); 137 bool runOnLoopBlock(Loop *CurLoop, BasicBlock *BB, const SCEV *BECount, 1983 const SCEV *BECount, unsigned StoreSize, in mayLoopAccessLocation() argument 1993 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount)) in mayLoopAccessLocation() 2022 StoreInst *SI, const SCEV *BECount) { in processCopyingStore() argument 2062 Type *BECountTy = BECount->getType(); in processCopyingStore() 2085 if (mayLoopAccessLocation(StoreBasePtr, ModRefInfo::ModRef, CurLoop, BECount, in processCopyingStore() 2090 BECount, StoreSize, *AA, Ignore1)) { in processCopyingStore() 2132 if (mayLoopAccessLocation(LoadBasePtr, ModRefInfo::Mod, CurLoop, BECount, in processCopyingStore() 2158 BECount = SE->getTruncateOrZeroExtend(BECount, IntPtrTy); in processCopyingStore() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | ScalarEvolution.cpp | 1424 const SCEV *BECount = SE->getBackedgeTakenCount(L); in getPreStartForExtend() local 1426 !isa<SCEVCouldNotCompute>(BECount) && SE->isKnownPositive(BECount)) in getPreStartForExtend() 8610 const SCEV *BECount = ENT.ExactNotTaken; in getExact() local 8611 assert(BECount != SE->getCouldNotCompute() && "Bad exit SCEV!"); in getExact() 8616 Ops.push_back(BECount); in getExact() 9050 const SCEV *BECount = getCouldNotCompute(); in computeExitLimitFromCondFromBinOp() local 9059 BECount = getUMinFromMismatchedTypes(EL0.ExactNotTaken, EL1.ExactNotTaken, in computeExitLimitFromCondFromBinOp() 9080 BECount = EL0.ExactNotTaken; in computeExitLimitFromCondFromBinOp() 9090 !isa<SCEVCouldNotCompute>(BECount)) in computeExitLimitFromCondFromBinOp() 9091 ConstantMaxBECount = getConstant(getUnsignedRangeMax(BECount)); in computeExitLimitFromCondFromBinOp() [all …]
|
| D | DependenceAnalysis.cpp | 1113 const SCEV *BECount = SE->getBackedgeTakenCount(AddRec->getLoop()); in isKnownLessThan() local 1114 if (!isa<SCEVCouldNotCompute>(BECount)) { in isKnownLessThan() 1115 const SCEV *Limit = AddRec->evaluateAtIteration(BECount, *SE); in isKnownLessThan()
|