Searched refs:AddRec (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp855 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Src); local
856 if (!AddRec)
858 const SCEV *Start = AddRec->getStart();
859 const SCEV *Step = AddRec->getStepRecurrence(*SE);
860 const SCEV *UB = SE->getBackedgeTakenCount(AddRec->getLoop());
864 if (!AddRec->getNoWrapFlags())
870 Loops.set(mapSrcLoop(AddRec->getLoop()));
880 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Dst); local
881 if (!AddRec)
883 const SCEV *Start = AddRec
2911 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Expr); local
2927 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Expr); local
2947 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Expr); local
[all...]
H A DScalarEvolution.cpp1132 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) {
1134 for (const SCEV *Op : AddRec->operands())
1136 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap);
1236 // allows normalizing a sign/zero extended AddRec as such: {sext/zext(Step +
1313 // Get the normalized zero or sign extended expression for this AddRec's Start.
1498 // Cache knowledge of AR NUW, which is propagated to this AddRec.
1512 // Cache knowledge of AR NW, which is propagated to this AddRec.
1545 // AddRec.
1560 // AddRec. Negative step causes unsigned wrap, but it
1725 // Cache knowledge of AR NSW, which is propagated to this AddRec
2288 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ops[Idx]); variable
[all...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DScalarEvolution.cpp856 if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) {
858 for (unsigned i = 0, e = AddRec->getNumOperands(); i != e; ++i)
859 Operands.push_back(getTruncateExpr(AddRec->getOperand(i), Ty));
860 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap);
966 // Cache knowledge of AR NUW, which is propagated to this AddRec.
982 // Cache knowledge of AR NW, which is propagated to this AddRec.
1003 // Cache knowledge of AR NUW, which is propagated to this AddRec.
1017 // Cache knowledge of AR NW, which is propagated to this AddRec.
1060 // or postincrement sibling. This allows normalizing a sign extended AddRec as
1125 // Get the normalized sign-extended expression for this AddRec'
1723 const SCEVAddRecExpr *AddRec = cast<SCEVAddRecExpr>(Ops[Idx]); variable
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp926 /// operands is an AddRec for this loop, return it.
949 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>( local
953 if (!AddRec || AddRec->getLoop() != L)
955 return AddRec;
978 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); local
979 if (!AddRec || AddRec->getLoop() != L)
981 return AddRec;
1104 const SCEVAddRecExpr *AddRec local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1122 /// operands is an AddRec for this loop, return it.
1162 const SCEVAddRecExpr *AddRec = local
1165 if (!AddRec || AddRec->getLoop() != L)
1167 return AddRec;
1189 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(WideExpr); local
1190 if (!AddRec || AddRec->getLoop() != L)
1192 return AddRec;
1398 const SCEVAddRecExpr *AddRec local
[all...]
H A DLoopInterchange.cpp313 const SCEVAddRecExpr *AddRec = local
315 if (!AddRec || !AddRec->isAffine())
317 const SCEV *Step = AddRec->getStepRecurrence(*SE);
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4637 // As a last resort, coerce the PHI to a AddRec expression
5771 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Ptr)); local
5772 if (!AddRec)
5776 const SCEV *Step = AddRec->getStepRecurrence(*SE);

Completed in 181 milliseconds