Home
last modified time | relevance | path

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

/external/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp64 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0); in TEST_F()
65 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1); in TEST_F()
66 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2); in TEST_F()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h232 class SCEVMulExpr : public SCEVCommutativeExpr {
235 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
543 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
677 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
773 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
DScalarEvolutionExpander.h239 Value *visitMulExpr(const SCEVMulExpr *S);
/external/llvm/lib/Analysis/
DScalarEvolution.cpp294 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
870 if (const SCEVMulExpr *SM = dyn_cast<SCEVMulExpr>(Op)) { in getTruncateExpr()
1208 auto SMul = dyn_cast<SCEVMulExpr>(SA->getOperand(1)); in getSignExtendExpr()
1436 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
1590 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
1652 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
1687 for (; Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx]); ++Idx) { in getAddExpr()
1688 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); in getAddExpr()
1722 OtherMulIdx < Ops.size() && isa<SCEVMulExpr>(Ops[OtherMulIdx]); in getAddExpr()
1724 const SCEVMulExpr *OtherMul = cast<SCEVMulExpr>(Ops[OtherMulIdx]); in getAddExpr()
[all …]
DDependenceAnalysis.cpp2192 const SCEVConstant *getConstantPart(const SCEVMulExpr *Product) { in getConstantPart()
2236 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2257 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2281 else if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Operand)) { in gcdMIVtest()
2339 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2357 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2369 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Delta)) in gcdMIVtest()
DScalarEvolutionExpander.cpp250 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
773 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
779 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1420 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp320 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
515 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
519 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
593 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
597 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end(); in getExactSDiv()
777 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
962 NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3245 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3749 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) { in getStrideFromPointer()