Home
last modified time | relevance | path

Searched refs:SCEVAddExpr (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Analysis/
DIVUsers.cpp67 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting()
69 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
331 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop()
332 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
DScalarEvolutionAliasAnalysis.cpp95 } else if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetBaseValue()
DScalarEvolution.cpp262 return cast<SCEVAddExpr>(this)->getType(); in getType()
855 if (const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Op)) { in getTruncateExpr()
1093 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForSignExtend()
1205 if (auto SA = dyn_cast<SCEVAddExpr>(Op)) { in getSignExtendExpr()
1440 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1442 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
1631 while (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Ops[Idx])) { in getAddExpr()
1847 SCEVAddExpr *S = in getAddExpr()
1848 static_cast<SCEVAddExpr *>(UniqueSCEVs.FindNodeOrInsertPos(ID, IP)); in getAddExpr()
1852 S = new (SCEVAllocator) SCEVAddExpr(ID.Intern(SCEVAllocator), in getAddExpr()
[all …]
DScalarEvolutionExpander.cpp321 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands()
348 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs()
702 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
710 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(S->op_end()), in visitAddExpr()
843 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) { in ExposePointerBase()
DDependenceAnalysis.cpp2273 if (const SCEVAddExpr *Sum = dyn_cast<SCEVAddExpr>(Delta)) { in gcdMIVtest()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h207 class SCEVAddExpr : public SCEVCommutativeExpr {
210 SCEVAddExpr(const FoldingSetNodeIDRef ID, in SCEVAddExpr() function
541 return ((SC*)this)->visitAddExpr((const SCEVAddExpr*)S); in visit()
670 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
766 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
DScalarEvolutionExpander.h237 Value *visitAddExpr(const SCEVAddExpr *S);
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp300 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch()
301 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in DoInitialMatch()
507 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable()
510 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable()
577 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv()
580 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in getExactSDiv()
626 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate()
653 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol()
768 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion()
769 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansion()
[all …]
DIndVarSimplify.cpp1229 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion()
1230 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansion()