Home
last modified time | relevance | path

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

/external/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp73 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0); in TEST_F()
74 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1); in TEST_F()
75 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2); in TEST_F()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp289 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative()
726 if (const SCEVMulExpr *T = dyn_cast<const SCEVMulExpr>(Denominator)) { in divide()
825 void visitMulExpr(const SCEVMulExpr *Numerator) { in visitMulExpr()
1116 if (const SCEVMulExpr *SM = dyn_cast<SCEVMulExpr>(Op)) { in getTruncateExpr()
1632 auto *SMul = dyn_cast<SCEVMulExpr>(SA->getOperand(1)); in getSignExtendExpr()
1886 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales()
2072 } else if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(Ops[i])) { in getAddExpr()
2133 if (Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx])) { in getAddExpr()
2172 for (; Idx < Ops.size() && isa<SCEVMulExpr>(Ops[Idx]); ++Idx) { in getAddExpr()
2173 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); in getAddExpr()
[all …]
DDependenceAnalysis.cpp2259 const SCEVConstant *getConstantPart(const SCEVMulExpr *Product) { in getConstantPart()
2303 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2324 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2348 else if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Operand)) { in gcdMIVtest()
2406 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2424 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Coeff)) in gcdMIVtest()
2436 if (const SCEVMulExpr *Product = dyn_cast<SCEVMulExpr>(Delta)) in gcdMIVtest()
DVectorUtils.cpp323 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) { in getStrideFromPointer()
DScalarEvolutionExpander.cpp265 if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(S)) { in FactorOutConstant()
740 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
746 for (std::reverse_iterator<SCEVMulExpr::op_iterator> I(S->op_end()), in visitMulExpr()
1423 if (!isa<SCEVMulExpr>(Base) && !isa<SCEVUDivExpr>(Base)) { in visitAddRecExpr()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h233 class SCEVMulExpr : public SCEVCommutativeExpr {
236 SCEVMulExpr(const FoldingSetNodeIDRef ID, in SCEVMulExpr() function
466 return ((SC*)this)->visitMulExpr((const SCEVMulExpr*)S); in visit()
591 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
DScalarEvolutionExpander.h280 Value *visitMulExpr(const SCEVMulExpr *S);
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp337 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch()
525 static bool isMulSExtable(const SCEVMulExpr *M, ScalarEvolution &SE) { in isMulSExtable()
529 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
600 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv()
782 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion()
966 NumIVMuls += isa<SCEVMulExpr>(Reg) && in RateRegister()
3217 } else if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in CollectSubexprs()