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/lib/Analysis/
DScalarEvolution.cpp298 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
730 if (const SCEVMulExpr *T = dyn_cast<const SCEVMulExpr>(Denominator)) { in divide()
826 void visitMulExpr(const SCEVMulExpr *Numerator) { in visitMulExpr()
1122 if (const SCEVMulExpr *SM = dyn_cast<SCEVMulExpr>(Op)) { in getTruncateExpr()
1626 auto SMul = dyn_cast<SCEVMulExpr>(SA->getOperand(1)); in getSignExtendExpr()
1870 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
2041 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
2103 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2138 for (; Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx]); ++Idx) { in getAddExpr()
2139 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); in getAddExpr()
[all …]
DDependenceAnalysis.cpp2210 const SCEVConstant *getConstantPart(const SCEVMulExpr *Product) { in getConstantPart()
2254 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2275 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2299 else if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Operand)) { in gcdMIVtest()
2357 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2375 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2387 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Delta)) in gcdMIVtest()
DScalarEvolutionExpander.cpp250 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
737 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
743 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1419 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
/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.h248 Value *visitMulExpr(const SCEVMulExpr *S);
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp319 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
514 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
518 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
592 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
596 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end(); in getExactSDiv()
776 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
961 NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3242 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3906 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) { in getStrideFromPointer()