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