Lines Matching refs:BasePtrSCEV
325 rewriteForBase(Loop *L, const SCEVAddRecExpr *BasePtrSCEV,
568 const SCEVAddRecExpr *BasePtrSCEV = cast<SCEVAddRecExpr>(BaseSCEV); in rewriteLoadStoresForCommoningChains() local
571 if (!SCEVE.isSafeToExpand(BasePtrSCEV->getStart())) in rewriteLoadStoresForCommoningChains()
574 assert(BasePtrSCEV->isAffine() && in rewriteLoadStoresForCommoningChains()
578 L, BasePtrSCEV, Bucket.Elements[BaseElemIdx].Instr, in rewriteLoadStoresForCommoningChains()
648 PPCLoopInstrFormPrep::rewriteForBase(Loop *L, const SCEVAddRecExpr *BasePtrSCEV, in rewriteForBase() argument
653 LLVM_DEBUG(dbgs() << "PIP: Transforming: " << *BasePtrSCEV << "\n"); in rewriteForBase()
655 assert(BasePtrSCEV->getLoop() == L && "AddRec for the wrong loop?"); in rewriteForBase()
666 const SCEV *BasePtrIncSCEV = BasePtrSCEV->getStepRecurrence(*SE); in rewriteForBase()
691 BasePtrStartSCEV = SE->getMinusSCEV(BasePtrSCEV->getStart(), in rewriteForBase()
695 BasePtrStartSCEV = BasePtrSCEV->getStart(); in rewriteForBase()
1016 const SCEVAddRecExpr *BasePtrSCEV = in rewriteLoadStores() local
1018 if (!BasePtrSCEV->isAffine()) in rewriteLoadStores()
1024 if (!SCEVE.isSafeToExpand(BasePtrSCEV->getStart())) in rewriteLoadStores()
1034 isa<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE)) && in rewriteLoadStores()
1035 !cast<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE)) in rewriteLoadStores()
1041 rewriteForBase(L, BasePtrSCEV, BucketChain.Elements.begin()->Instr, in rewriteLoadStores()