Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DIVUsers.cpp68 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting()
70 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
332 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop()
333 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
DScalarEvolutionAliasAnalysis.cpp96 } else if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetBaseValue()
DScalarEvolutionExpander.cpp303 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands()
330 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs()
666 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
674 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(S->op_end()), in visitAddExpr()
807 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) { in ExposePointerBase()
1855 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansionHelper()
1856 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansionHelper()
DScalarEvolution.cpp266 return cast<SCEVAddExpr>(this)->getType(); in getType()
797 void visitAddExpr(const SCEVAddExpr *Numerator) { in visitAddExpr()
1106 if (const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Op)) { in getTruncateExpr()
1256 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForExtend()
1623 if (auto SA = dyn_cast<SCEVAddExpr>(Op)) { in getSignExtendExpr()
1874 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1876 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
2082 while (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Ops[Idx])) { in getAddExpr()
2298 SCEVAddExpr *S = in getAddExpr()
2299 static_cast<SCEVAddExpr *>(UniqueSCEVs.FindNodeOrInsertPos(ID, IP)); in getAddExpr()
[all …]
DDependenceAnalysis.cpp2291 if (const SCEVAddExpr *Sum = dyn_cast<SCEVAddExpr>(Delta)) { in gcdMIVtest()
/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp274 } else if (const SCEVAddExpr* AndLHSAddSCEV = in extractAlignmentInfo()
275 dyn_cast<SCEVAddExpr>(AndLHSSCEV)) { in extractAlignmentInfo()
277 for (SCEVAddExpr::op_iterator J = AndLHSAddSCEV->op_begin(), in extractAlignmentInfo()
DLoopStrengthReduce.cpp299 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch()
300 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in DoInitialMatch()
506 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable()
509 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable()
576 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv()
579 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in getExactSDiv()
625 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate()
652 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol()
767 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion()
768 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansion()
[all …]
/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.h246 Value *visitAddExpr(const SCEVAddExpr *S);