Home
last modified time | relevance | path

Searched refs:SCEVAddRecExpr (Results 1 – 15 of 15) sorted by relevance

/trueos/contrib/llvm/lib/Analysis/
HDIVUsers.cpp52 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in isInteresting()
321 static const SCEVAddRecExpr *findAddRecForLoop(const SCEV *S, const Loop *L) { in findAddRecForLoop()
322 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in findAddRecForLoop()
331 if (const SCEVAddRecExpr *AR = findAddRecForLoop(*I, L)) in findAddRecForLoop()
340 if (const SCEVAddRecExpr *AR = findAddRecForLoop(getExpr(IU), L)) in getStride()
HDScalarEvolution.cpp165 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(this); in print()
552 const SCEVAddRecExpr *LA = cast<SCEVAddRecExpr>(LHS); in compare()
553 const SCEVAddRecExpr *RA = cast<SCEVAddRecExpr>(RHS); in compare()
802 const SCEV *SCEVAddRecExpr::evaluateAtIteration(const SCEV *It, in evaluateAtIteration()
885 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) { in getTruncateExpr()
944 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Op)) in getZeroExtendExpr()
991 const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNUW); in getZeroExtendExpr()
1006 const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNW); in getZeroExtendExpr()
1026 const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNUW); in getZeroExtendExpr()
1041 const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNW); in getZeroExtendExpr()
[all …]
HDScalarEvolutionExpander.cpp284 if (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(S)) { in FactorOutConstant()
310 for (unsigned i = Ops.size(); i > 0 && isa<SCEVAddRecExpr>(Ops[i-1]); --i) in SimplifyAddOperands()
341 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Ops[i])) { in SplitAddRecs()
647 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) in getRelevantLoop()
836 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Base)) { in ExposePointerBase()
1023 SCEVExpander::getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized, in getAddRecExprPHILiterally()
1150 Value *SCEVExpander::expandAddRecExprLiterally(const SCEVAddRecExpr *S) { in expandAddRecExprLiterally()
1157 const SCEVAddRecExpr *Normalized = S; in expandAddRecExprLiterally()
1162 cast<SCEVAddRecExpr>(TransformForPostIncUse(Normalize, S, 0, 0, in expandAddRecExprLiterally()
1172 Normalized = cast<SCEVAddRecExpr>( in expandAddRecExprLiterally()
[all …]
HDDependenceAnalysis.cpp810 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Src); in checkSrcSubscript()
828 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Dst); in checkDstSubscript()
2047 const SCEVAddRecExpr *SrcAddRec = dyn_cast<SCEVAddRecExpr>(Src); in testSIV()
2048 const SCEVAddRecExpr *DstAddRec = dyn_cast<SCEVAddRecExpr>(Dst); in testSIV()
2125 const SCEVAddRecExpr *SrcAddRec = dyn_cast<SCEVAddRecExpr>(Src); in testRDIV()
2126 const SCEVAddRecExpr *DstAddRec = dyn_cast<SCEVAddRecExpr>(Dst); in testRDIV()
2136 if (const SCEVAddRecExpr *tmpAddRec = in testRDIV()
2137 dyn_cast<SCEVAddRecExpr>(SrcAddRec->getStart())) { in testRDIV()
2149 if (const SCEVAddRecExpr *tmpAddRec = in testRDIV()
2150 dyn_cast<SCEVAddRecExpr>(DstAddRec->getStart())) { in testRDIV()
[all …]
HDScalarEvolutionNormalization.cpp107 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in TransformImpl()
161 Result = cast<SCEVAddRecExpr>(Result)->getPostIncExpr(SE); in TransformImpl()
HDDelinearization.cpp97 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(AccessFn); in print()
HDScalarEvolutionAliasAnalysis.cpp91 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in GetBaseValue()
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDIndVarSimplify.cpp749 const SCEVAddRecExpr *GetWideRecurrence(Instruction *NarrowUse);
751 const SCEVAddRecExpr* GetExtendedOperandRecurrence(NarrowIVDefUse DU);
833 const SCEVAddRecExpr* WidenIV::GetExtendedOperandRecurrence(NarrowIVDefUse DU) { in GetExtendedOperandRecurrence()
860 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>( in GetExtendedOperandRecurrence()
873 const SCEVAddRecExpr *WidenIV::GetWideRecurrence(Instruction *NarrowUse) { in GetWideRecurrence()
888 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); in GetWideRecurrence()
942 const SCEVAddRecExpr *WideAddRec = GetWideRecurrence(DU.NarrowUse); in WidenIVUse()
1014 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(OrigPhi)); in CreateWideIV()
1027 AddRec = dyn_cast<SCEVAddRecExpr>(WideIVExpr); in CreateWideIV()
1410 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Phi)); in FindLoopCounter()
[all …]
HDLoopIdiomRecognize.cpp156 const SCEVAddRecExpr *Ev,
159 const SCEVAddRecExpr *StoreEv,
160 const SCEVAddRecExpr *LoadEv,
787 const SCEVAddRecExpr *StoreEv = in processLoopStore()
788 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); in processLoopStore()
818 const SCEVAddRecExpr *LoadEv = in processLoopStore()
819 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LI->getOperand(0))); in processLoopStore()
845 const SCEVAddRecExpr *Ev = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Pointer)); in processLoopMemSet()
946 Instruction *TheStore, const SCEVAddRecExpr *Ev, in processLoopStridedStore()
1066 const SCEVAddRecExpr *StoreEv, in processLoopStoreOfLoopLoad()
[all …]
HDLoopRerollPass.cpp378 if (const SCEVAddRecExpr *PHISCEV = in collectPossibleIVs()
379 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(I))) { in collectPossibleIVs()
561 const SCEVAddRecExpr *RealIVSCEV = cast<SCEVAddRecExpr>(SE->getSCEV(RealIV)); in findScaleFromMul()
566 const SCEVAddRecExpr *User1SCEV = in findScaleFromMul()
567 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(User1)), in findScaleFromMul()
569 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(User2)); in findScaleFromMul()
780 const SCEVAddRecExpr *RealIVSCEV = cast<SCEVAddRecExpr>(SE->getSCEV(IV)); in reroll()
1085 const SCEVAddRecExpr *H = in reroll()
1086 cast<SCEVAddRecExpr>(SE->getAddRecExpr(Start, in reroll()
HDLoopStrengthReduce.cpp293 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) in DoInitialMatch()
438 static bool isAddRecSExtable(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isAddRecSExtable()
441 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in isAddRecSExtable()
499 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) { in getExactSDiv()
571 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractImmediate()
598 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractSymbol()
664 static bool isExistingPhi(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isExistingPhi()
739 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in isHighCostExpansion()
856 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Reg)) { in RateRegister()
888 !(isa<SCEVAddRecExpr>(Reg) && in RateRegister()
[all …]
/trueos/contrib/llvm/include/llvm/Analysis/
HDScalarEvolutionExpressions.h283 class SCEVAddRecExpr : public SCEVNAryExpr {
288 SCEVAddRecExpr(const FoldingSetNodeIDRef ID, in SCEVAddRecExpr() function
346 const SCEVAddRecExpr *getPostIncExpr(ScalarEvolution &SE) const { in getPostIncExpr()
347 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE))); in getPostIncExpr()
471 return ((SC*)this)->visitAddRecExpr((const SCEVAddRecExpr*)S); in visit()
611 const SCEV *visitAddRecExpr(const SCEVAddRecExpr *Expr) { in visitAddRecExpr()
702 const SCEV *visitAddRecExpr(const SCEVAddRecExpr *Expr) { in visitAddRecExpr()
713 const SCEVAddRecExpr *Rec = (const SCEVAddRecExpr *) Res; in visitAddRecExpr()
HDScalarEvolutionExpander.h243 Value *visitAddRecExpr(const SCEVAddRecExpr *S);
259 Value *expandAddRecExprLiterally(const SCEVAddRecExpr *);
260 PHINode *getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized,
/trueos/contrib/llvm/lib/Transforms/Utils/
HDSimplifyIndVar.cpp300 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S); in isSimpleIVUser()
/trueos/contrib/llvm/lib/Transforms/Vectorize/
HDLoopVectorize.cpp1019 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Sc); in insert()
1151 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Last)) { in isConsecutivePtr()
3251 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(PtrScev); in hasComputableBounds()
3579 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(PtrScev); in isStridedPtr()
4351 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(PhiScev); in isInductionVariable()
4842 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Ptr)); in isLikelyComplexAddressComputation()