Lines Matching defs:BasePtrSCEV
324 rewriteForBase(Loop *L, const SCEVAddRecExpr *BasePtrSCEV,
567 const SCEVAddRecExpr *BasePtrSCEV = cast<SCEVAddRecExpr>(BaseSCEV);
570 if (!SCEVE.isSafeToExpand(BasePtrSCEV->getStart()))
573 assert(BasePtrSCEV->isAffine() &&
577 L, BasePtrSCEV, Bucket.Elements[BaseElemIdx].Instr,
634 // Rewrite the new base according to BasePtrSCEV.
647 PPCLoopInstrFormPrep::rewriteForBase(Loop *L, const SCEVAddRecExpr *BasePtrSCEV,
652 LLVM_DEBUG(dbgs() << "PIP: Transforming: " << *BasePtrSCEV << "\n");
654 assert(BasePtrSCEV->getLoop() == L && "AddRec for the wrong loop?");
665 const SCEV *BasePtrIncSCEV = BasePtrSCEV->getStepRecurrence(*SE);
690 BasePtrStartSCEV = SE->getMinusSCEV(BasePtrSCEV->getStart(),
694 BasePtrStartSCEV = BasePtrSCEV->getStart();
1020 const SCEVAddRecExpr *BasePtrSCEV =
1022 if (!BasePtrSCEV->isAffine())
1028 if (!SCEVE.isSafeToExpand(BasePtrSCEV->getStart()))
1038 isa<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE)) &&
1039 !cast<SCEVConstant>(BasePtrSCEV->getStepRecurrence(*SE))
1045 rewriteForBase(L, BasePtrSCEV, BucketChain.Elements.begin()->Instr,