Lines Matching refs:BasePtrSCEV
326 rewriteForBase(Loop *L, const SCEVAddRecExpr *BasePtrSCEV,
569 const SCEVAddRecExpr *BasePtrSCEV = cast<SCEVAddRecExpr>(BaseSCEV); in rewriteLoadStoresForCommoningChains() local
572 if (!SCEVE.isSafeToExpand(BasePtrSCEV->getStart())) in rewriteLoadStoresForCommoningChains()
575 assert(BasePtrSCEV->isAffine() && in rewriteLoadStoresForCommoningChains()
579 L, BasePtrSCEV, Bucket.Elements[BaseElemIdx].Instr, in rewriteLoadStoresForCommoningChains()
649 PPCLoopInstrFormPrep::rewriteForBase(Loop *L, const SCEVAddRecExpr *BasePtrSCEV, in rewriteForBase() argument
654 LLVM_DEBUG(dbgs() << "PIP: Transforming: " << *BasePtrSCEV << "\n"); in rewriteForBase()
656 assert(BasePtrSCEV->getLoop() == L && "AddRec for the wrong loop?"); in rewriteForBase()
667 const SCEV *BasePtrIncSCEV = BasePtrSCEV->getStepRecurrence(*SE); in rewriteForBase()
692 BasePtrStartSCEV = SE->getMinusSCEV(BasePtrSCEV->getStart(), in rewriteForBase()
696 BasePtrStartSCEV = BasePtrSCEV->getStart(); in rewriteForBase()
1022 const SCEVAddRecExpr *BasePtrSCEV = in rewriteLoadStores() local
1024 if (!BasePtrSCEV->isAffine()) in rewriteLoadStores()
1030 if (!SCEVE.isSafeToExpand(BasePtrSCEV->getStart())) in rewriteLoadStores()
1040 isa<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE)) && in rewriteLoadStores()
1041 !cast<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE)) in rewriteLoadStores()
1047 rewriteForBase(L, BasePtrSCEV, BucketChain.Elements.begin()->Instr, in rewriteLoadStores()