Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DIVUsers.cpp66 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting()
68 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting()
247 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop()
248 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()
DScalarEvolutionExpander.cpp295 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands()
323 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs()
693 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
701 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(S->op_end()), in visitAddExpr()
835 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) { in ExposePointerBase()
DScalarEvolution.cpp245 return cast<SCEVAddExpr>(this)->getType(); in getType()
827 if (const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Op)) { in getTruncateExpr()
1072 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForSignExtend()
1383 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1385 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
1574 while (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Ops[Idx])) { in getAddExpr()
1790 SCEVAddExpr *S = in getAddExpr()
1791 static_cast<SCEVAddExpr *>(UniqueSCEVs.FindNodeOrInsertPos(ID, IP)); in getAddExpr()
1795 S = new (SCEVAllocator) SCEVAddExpr(ID.Intern(SCEVAllocator), in getAddExpr()
1842 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Ops[1])) in getMulExpr()
[all …]
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h208 class SCEVAddExpr : public SCEVCommutativeExpr {
211 SCEVAddExpr(const FoldingSetNodeIDRef ID, in SCEVAddExpr() function
225 static inline bool classof(const SCEVAddExpr *S) { return true; } in classof()
472 return ((SC*)this)->visitAddExpr((const SCEVAddExpr*)S); in visit()
DScalarEvolutionExpander.h191 Value *visitAddExpr(const SCEVAddExpr *S);
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp248 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch()
249 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in DoInitialMatch()
407 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable()
410 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable()
477 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv()
480 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in getExactSDiv()
526 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate()
553 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol()
1994 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectInterestingTypesAndFactors()
2249 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectSubexprs()
[all …]
DIndVarSimplify.cpp1511 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion()
1512 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in isHighCostExpansion()